List the cards of a list
Returns one page of a list's cards, ordered by line id. Follow pagination.nextCursor until it is null. The default limit is 50 and the maximum is 100.
missingOnly=true keeps only the cards you do not hold enough copies of yet. Send the same missingOnly with every cursor: a cursor used with a different listId or missingOnly returns CURSOR_MISMATCH.
pagination.total is returned on the first page only.
Requires the lists:read scope.
Path Parameters
- Type: stringlist
Id min length:1requiredThe list's id, from
GET /v1/listsorPOST /v1/lists. Path parameter.
Query Parameters
- Type: stringcursor
The
pagination.nextCursorof the previous page. Omit it for the first page. Pass the samemissingOnlywith it. - Type: integerlimitmin:1max:100
How many cards to return, between 1 and 100.
- Type: booleanmissing
Only truereturns only the cards whosequantityFulfilledis belowquantity.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/lists/{listId} /items
curl 'https://public-api.cardnexus.com/v1/lists/{listId}/items?limit=50&missingOnly=false' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "665f3a2b1c8d4e9f7a6b5c4d",
"productId": 50212,
"name": "Charizard ex",
"nameSlug": "charizard-ex",
"expansion": "Obsidian Flames",
"finish": "Standard",
"language": "en",
"minCondition": "NM",
"quantity": 2,
"quantityFulfilled": 1,
"wantPrice": 12.5,
"sellPrice": null
}
],
"pagination": {
"nextCursor": "eyJpZCI6IjY2NWYzYTJiMWM4ZDRlOWY3YTZiNWM0ZCJ9",
"total": 118
}
}