Skip to main content
Lists come back in a { data, error, meta } envelope. When a list is paged, meta.pagination says how to get the next page. There are three styles; each endpoint’s OpenAPI reference names its query parameters. Page sizes are capped at 200. Defaults are 25, except advertisers (50). The campaign list (GET /api/v2/buyer/campaigns) also accepts take (up to 250) and skip as alternatives to limit and cursor; when you send a cursor, skip is ignored.

Cursor

Pass nextCursor back as cursor until it’s null (hasMore: false). Treat a cursor as opaque: don’t parse it or build one.

Limit/offset

Request offset = nextOffset until nextOffset is null.

Take/skip

total is the full count; stop when hasMore is false.

MCP tools

Tools that list use limit and cursor. search returns a cursor for the next page, and get_delivery takes limit (up to 1,000) and cursor. Pass the returned cursor unchanged with the same other arguments.

One client for all three

Single-page lists

Some list endpoints return everything in one page with hasMore: false and a null cursor. Don’t assume a second page exists; follow meta.pagination. The seller media-buys list (GET /api/v2/storefront/media-buys) also accepts take and skip (see Media buys).