OpenSea Ids API Documentation Get public collection slugs or item identifiers from the site sitemap. Choose type collections or items. Feed each id unchanged into the collection or item route. This route has no page cursor. Every failed request costs no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by OpenSea.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
1 optional filter available.
string
Optional
collections (default) or items.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"ids": [
{
"slug": "courtyard-nft",
"type": "collection",
"chain": null,
"token_id": null
}
],
"type": "collections",
"count": 2
},
"meta": {
"source": "opensea",
"credits": 1,
"billable": true,
"endpoint_family": "discovery_sitemaps"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
The type is invalid. This response is not billable.
Bad Gateway
The public id list is temporarily unavailable. This response is not billable.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.