Get your inventory lines
Returns your inventory lines, newest writes included, as a cursor-paginated list ordered by line id.
Each line carries its product, finish, condition (or grading), language, quantity, and — when it is for sale — its listing price. forSale is true for lines published to the Marketplace and false for lines kept in your Collection.
Filter with any combination of game, productId (repeatable), forSale, condition, language, finish, graded, customId, customIdPrefix, customIdContains, commentContains, location, and tags (repeatable — matches lines carrying any of the named tags). Filters are combined with AND.
Walk the full set by following pagination.nextCursor: pass it back as cursor until it comes back null. The id order is stable, so a sweep stays consistent while you write to your inventory. limit defaults to 50, maximum 100.
This endpoint is for reading and syncing your inventory: it always reflects your latest changes and walks every line to the end. To find lines instead — free-text product-name search, all-of tag matching, relevance ranking — use POST /v1/inventory/search; both return the same line shape.
Requires the inventory:read scope.
- Type: stringcursor
- Type: integerlimitmin:1max:100
Integer numbers.
- Type: stringgamemin length:1
Return only lines for this game, given as a slug, e.g.
ygo. - Type: arrayproduct
Id Return only lines for these products. Repeat the parameter to pass several. Product ids come from
GET /v1/products.- Type: number
- Type: string · enumcondition
Card condition: NM (Near Mint), LP (Lightly Played), MP (Moderately Played), HP (Heavily Played), DMG (Damaged).
values- N
M Near Mint.
- L
P Lightly Played.
- M
P Moderately Played.
- H
P Heavily Played.
- D
M G Damaged.
- Type: stringlanguagemin length:1
Return only lines in this language, as a two-letter code, e.g.
en. - Type: string enumfinish
Return only lines with this finish, e.g.
Standard,Foil,Reverse Holo.values- Standard
A standard, non-foil card.
- Foil
A foil card.
- Rainbow
- Gold
- Rainbow
Foil
- Type: booleangraded
truereturns only graded cards;falsereturns only raw cards. Omit to return both. - Type: stringcustom
Id min length:1Return the line whose
customIdexactly equals this value. - Type: stringcustom
Id Prefix min length:1Return lines whose
customIdstarts with this value. - Type: stringcustom
Id Contains min length:1Return lines whose
customIdcontains this value, case-insensitively. - Type: stringcomment
Contains min length:1Return lines whose
commentcontains this value, case-insensitively. - Type: stringlocationmin length:1max length:100
Return only lines stored at this location, by name. Matched case-insensitively.
- Type: array string[]
Return only lines carrying any of these tags, by name. Repeat the parameter to pass several. To require all tags on a line, use
POST /v1/inventory/search. - Type: booleanfor
Sale truereturns only lines published to the Marketplace;falsereturns only lines in your Collection. Omit to return both.
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
curl https://public-api.cardnexus.com/v1/inventory \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "665f3a2b1c8d4e9f7a6b5c4d",
"customId": "YRG|5555-5DS1-2EX-006-f-2-2008-08-01",
"comment": "From a sealed box, sleeved straight away",
"productId": 50212,
"game": "ygo",
"finish": "Standard",
"condition": "NM",
"language": "en",
"quantity": 5,
"graded": null,
"forSale": true,
"listing": {
"price": {
"amount": 42.5,
"currency": "EUR"
}
},
"updatedAt": "2026-06-01T17:40:02.000Z"
},
{
"id": "665f3a2b1c8d4e9f7a6b5c50",
"customId": null,
"comment": null,
"productId": 50213,
"game": "mtg",
"finish": "Foil",
"condition": "LP",
"language": "en",
"quantity": 2,
"graded": null,
"forSale": false,
"listing": null,
"updatedAt": "2026-05-22T08:11:47.000Z"
}
],
"pagination": {
"nextCursor": "NjY1ZjNhMmIxYzhkNGU5ZjdhNmI1YzUw"
}
}