Skip to content
Scrappa Get API key
OpenSea API 1 credit / request

OpenSea Collection API Documentation

GET https://scrappa.co/api/opensea/collection

OpenSea Collection API Documentation Open one collection by slug for its floor price, top offer and full stats: total and unique supply, owners, sales, listed items and volume with one hour, one day, seven day and thirty day windows. Prices are numbers with a token. 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.

OpenSea Collection API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/opensea/collection
Auth header
x-api-key
Cost
1 credit / request
slug = example
Response preview
200 OK
{
    "data": {
        "collection": {
            "name": "Courtyard.io",
            "slug": "courtyard-nft",
            "stats": {
                "sales": 3323503,
                "volume": {
                    "usd": 153683917.72
                },
                "owner_count": 139868,
                "total_supply": 432143,
                "listed_item_count": 31942
            },
...

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.

slug string Required

Collection slug, e.g. courtyard-nft. Required.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "collection": {
            "name": "Courtyard.io",
            "slug": "courtyard-nft",
            "stats": {
                "sales": 3323503,
                "volume": {
                    "usd": 153683917.72
                },
                "owner_count": 139868,
                "total_supply": 432143,
                "listed_item_count": 31942
            },
            "floor_price": {
                "usd": 4.8,
                "token": {
                    "symbol": "USDC"
                }
            }
        }
    },
    "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.

422

Validation Error

The slug is missing or invalid. This response is not billable.

502

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.