Docs
Pagination
Cursor-based: ask for a page, follow links.next.
Lists are paged with a cursor. Send limit (default 50, maximum 250) and follow links.next from each response until it is null.
{
"data": [ … ],
"meta": { "limit": 50, "count": 50, "has_more": true },
"links": { "next": "https://api.alltcgapi.com/v1/cards?cursor=eyJr…" }
}Rules
- links.next is a complete URL. Request it as it is; do not build or edit cursors.
- A cursor belongs to the list that issued it. Used on a different list it returns 400 INVALID_CURSOR.
- limit above 250 returns 400 LIMIT_EXCEEDED. It is never silently reduced.
- A list costs 1 credit per 50 rows requested: limit=250 costs 5.
Why not page numbers
With page numbers, a card added while you are reading shifts every later page and you see one row twice or not at all. A cursor resumes after the last row you read, whatever changed in between.