Xurel Docs

Pagination

List endpoints use cursor-based pagination.

Query parameters

Field Type Required Description
limit integer Optional Default 20, max 100.
startingAfter string (id) Optional Return items after this cursor id.
endingBefore string (id) Optional Return items before this cursor id. Cannot combine with startingAfter (→ 400).

Response envelope

List response
{
  "data": [ ],
  "hasMore": true,
  "nextCursor": "dom_xxx"
}

Example

Page through domains:

cURL
curl "https://api.xurel.co/v1/domains?limit=20&startingAfter=dom_xxx" \
  -H "Authorization: Bearer $XUREL_API_KEY"