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

OpenSea Collection Rankings API Documentation

GET https://scrappa.co/api/opensea/collections/rankings

OpenSea Collection Rankings API Documentation List public OpenSea collections ranked by period and type. Each row has a score, collection slug and name, floor price, top offer and full stats with owners, sales, supply, listed items and volume. Filter by period and type TRENDING or TOP. Pass after from the previous response for the next page. A chain or sort_by filter returns 422. An empty answer and every failed request cost no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by OpenSea.

OpenSea Collection Rankings API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/opensea/collections/rankings
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "type": "TRENDING",
        "period": "ONE_DAY",
        "rankings": [
            {
                "name": "Courtyard.io",
                "slug": "courtyard-nft",
                "score": 100,
                "collection": {
                    "name": "Courtyard.io",
                    "slug": "courtyard-nft"
                }
            }
...

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.

4 optional filters available.

period string Optional

ONE_HOUR, ONE_DAY (default), SEVEN_DAYS, THIRTY_DAYS or ALL_TIME.

Example value example
type string Optional

TRENDING (default) or TOP.

Example value example
limit integer Optional

Rows per page, 1 to 100.

Example value 10
after string Optional

Cursor from the previous response.

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": {
        "type": "TRENDING",
        "period": "ONE_DAY",
        "rankings": [
            {
                "name": "Courtyard.io",
                "slug": "courtyard-nft",
                "score": 100,
                "collection": {
                    "name": "Courtyard.io",
                    "slug": "courtyard-nft"
                }
            }
        ],
        "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.

422

Validation Error

A filter is missing or not supported. 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.