REST API
Pagination & Batching
Follow a Cursor
- Start with your filters and a
limit. Omitcursoron the first request. - Read the rows and send the returned
next_cursoras the next request'scursor. Preserve the route, filters, sort, and page size. Let your HTTP client encode the token as a query parameter. - Stop when the next cursor is null or absent. Send a cursor back exactly as returned, even if it looks like a number.
See Page Size Limits for the cursor field and order of each paged route. Card sales in CSV format return the cursor in the X-Next-Cursor header. Stop when the header is empty or absent.
When a route offers both offset and cursor, prefer the cursor and omit the offset. For feedback receipts, increment the offset by the number of returned reports and stop on a short page or before an offset above 1,000.
Read Multiple Pages
These examples read Pokémon catalog cards until the cursor runs out. Set TRADED_API_KEY before running them.
const url = new URL("https://api.traded.gg/v1/catalog/cards");
url.search = new URLSearchParams({ game: "pokemon", limit: "25" });
const key = process.env.TRADED_API_KEY;
if (!key) throw new Error("Set TRADED_API_KEY");
while (true) {
const response = await fetch(url, {
headers: { Authorization: `Bearer ${key}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const { data } = await response.json();
for (const card of data.results) console.log(card);
const cursor = data.paging.next_cursor;
if (!cursor) break;
url.searchParams.set("cursor", cursor);
}import os
import requests
params = {"game": "pokemon", "limit": 25}
headers = {"Authorization": f"Bearer {os.environ['TRADED_API_KEY']}"}
with requests.Session() as session:
while True:
response = session.get(
"https://api.traded.gg/v1/catalog/cards",
params=params,
headers=headers,
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]
for card in data["results"]:
print(card)
cursor = data["paging"]["next_cursor"]
if not cursor:
break
params["cursor"] = cursorPage Size Limits
The public OpenAPI spec gives the bounds. For Coverage, limit is 1 through 500 and applies to set rows. Omit it to get all set rows on an unfiltered request, or a 100-row page with a filter or cursor.
Search & Catalog
GET /v1/searchDefault 20 · Maximum 50
Default sort relevance
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.GET /v1/catalog/cardsDefault 50 · Maximum 200
Default sort set
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.POST /v1/catalog/cards:batchDefault 1000 · Maximum 1000
Set ID, then card ID
Cursor in Response
data.paging.next_cursorfor set or search mode. Stop when it is null or absent.GET /v1/catalog/setsDefault 100 · Maximum 200
Default sort release_date
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.GET /v1/catalog/productsDefault 50 · Maximum 100
Product name, then product ID
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.
Cards
GET /v1/cardsDefault 50 · Maximum 200
Default sort volume
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.
Prices
GET /v1/cards/{card_id}/prices/historyDefault 200 · Maximum 200
Newest price dates first
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.
Sales
GET /v1/salesDefault 50 · Maximum 200
Default sort newest
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.GET /v1/cards/{card_id}/salesDefault 50 · Maximum 200
Newest sale first
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.
Listings & Deals
GET /v1/listingsDefault 50 · Maximum 200
Default sort newest
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.GET /v1/cards/{card_id}/listingsDefault 50 · Maximum 200
Newest listing first
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.GET /v1/auctionsDefault 50 · Maximum 200
Default sort ending_soonest
Cursor in Response
paging.next_cursor. Stop when it is null or absent.GET /v1/market/dealsDefault 50 · Maximum 200
Default sort discount
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.
Population
GET /v1/cards/{card_id}/population/historyDefault 200 · Maximum 1000
Newest observation date first
Cursor in Response
data.next_cursor. Stop when it is null or absent.
Sets
GET /v1/setsDefault 50 · Maximum 200
Default sort release_date
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.
Market
GET /v1/market/moversDefault 25 · Maximum 100
Ranked by the requested movers direction or trending score
Cursor in Response
data.paging.next_cursor. Stop when it is null or absent.
Certificates & Trades
GET /v1/certs/{cert}Default 100 · Maximum 500
Certificate sales in lookup order
Cursor in Response
data.pagination.next_cursor. Stop when it is null or absent.
Ownership
GET /v1/assets/{asset_id}/ownersDefault 100 · Maximum 500
Newest ownership change first
Cursor in Response
data.next_cursor. Stop when it is null or absent.GET /v1/ownership/hold-timesDefault 100 · Maximum 500
Keep the endpoint’s returned order
Cursor in Response
data.next_cursor. Stop when it is null or absent.GET /v1/ownership/inventoryDefault 100 · Maximum 500
Newest day first
Cursor in Response
data.next_cursor. Stop when it is null or absent.GET /v1/ownership/leaderboardDefault 100 · Maximum 500
Ranked by the requested wallet activity metric
Cursor in Response
data.next_cursor. Stop when it is null or absent.GET /v1/ownership/top-holdersDefault 100 · Maximum 500
Wallet rank in the reported snapshot
Cursor in Response
data.next_cursor. Stop when it is null or absent.GET /v1/wallets/{address}/holdingsDefault 100 · Maximum 500
Keep the endpoint’s returned order
Cursor in Response
data.next_cursor. Stop when it is null or absent.GET /v1/wallets/{address}/timelineDefault 100 · Maximum 500
Newest day first
Cursor in Response
data.next_cursor. Stop when it is null or absent.GET /v1/wallets/{address}/transfersDefault 100 · Maximum 500
Keep the endpoint’s returned order
Cursor in Response
data.next_cursor. Stop when it is null or absent.
Service Status
GET /v1/coverageDefault 100 with a filter or cursor, otherwise all set rows · Maximum 500
Market, game, era, then set ID
Cursor in Response
data.market_coverage.paging.next_cursor. Stop when it is null or absent.
Feedback
GET /v1/me/feedbackDefault 10 · Maximum 20
Most recent feedback first
Use
offset. Stop on a short page or before an offset above 1,000.
Batch Known IDs
Use pagination to traverse results for a filter. Use a batch when you already know the IDs to fetch. GET /v1/prices, POST /v1/cards:batch, and POST /v1/resolve accept up to 100 IDs. POST /v1/catalog/cards:batch accepts up to 1,000 explicit card IDs. Check per-ID results and not_found where provided. Sealed price and set population batches each accept up to 50 IDs.
Some batches page their results. In set or search mode, catalog card batches accept cursor and limit in the JSON body, with up to 1,000 rows per page. A price-history batch accepts up to 100 IDs and 16 grades. Each series returns up to 200 points per page. If any series returns a paging.next_cursor, send it as the body cursor to advance all series together. Stop once every series cursor is null or absent.
Find request fields and examples in the API Reference.

