OpenSea Collection Items API Documentation List items in one collection by slug. Each item has token id, contract address, chain, full-size image URL, traits, rarity rank, owner, last sale with token, best listing and best offer. Prices are numbers with a token. Filter by sort_by and direction. Pass after from the previous response for the next page. 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
1 required parameter needed before sending a request.
4 optional filters available.
string
Required
Collection slug, e.g. courtyard-nft. Required.
example
integer
Optional
Rows per page, 1 to 100.
10
string
Optional
Cursor from the previous response.
example
string
Optional
PRICE, CREATED_DATE, RARITY or LAST_SALE.
example
string
Optional
ASC or DESC.
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": {
"slug": "courtyard-nft",
"items": [
{
"chain": "polygon",
"image": "https://i2c.seadn.io/example.jpg",
"token_id": "4231837087468264",
"last_sale": {
"usd": 4.99,
"token": {
"unit": "USDC",
"symbol": "USDC"
}
},
"rarity_rank": 42,
"contract_address": "0x251be3a17af4892035c37ebf5890f4a4d889dcad"
}
],
"pagination": {
"limit": 20,
"has_more": true
}
},
"meta": {
"source": "opensea",
"credits": 1,
"billable": true,
"endpoint_family": "gql_web"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
The slug or a filter is invalid. This response is not billable.
Bad Gateway
The public data 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.