Skip to content

Build an Astar NFT collection gallery

Combine the collection detail with its token pages. The detail supplies contract context and counts; the token endpoint supplies ownership and artwork.

Terminal window
COLLECTION=0x0000000000000000000000000000000000000001
curl -sS -H "Authorization: Bearer $ARADIA_API_TOKEN" \
"https://api.aradia.app/v1/collections/$COLLECTION"
curl -sS -H "Authorization: Bearer $ARADIA_API_TOKEN" \
"https://api.aradia.app/v1/collections/$COLLECTION/nfts?limit=100"

Do not increment a page number. Copy after_token_id and after_id from next_page_params. Token IDs must remain strings from request to render, even when they look numeric.

Related reference: GET /v1/collections/{address} and GET /v1/collections/{address}/nfts.