Get top tokens
Changed onGet top tokens ranked by 24-hour trading volume. Returns established tokens with high market activity. Pass sort_by and sort_direction to order the same set of tokens differently.
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of results to return (default: 20, max: 100)
Filter by blockchain(s)
[ "ethereum" ]
Sort field for the token ranking endpoints
Sort field (default: one_day_volume)
Sort direction (default: desc)
Pagination cursor for next page. A cursor is only valid for the query that produced it: keep sort_by, sort_direction and chains identical across pages, and start a new page-one request when any of them changes.
Response
OK
Example response
{
"tokens": [
{
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"chain": "ethereum",
"decimals": 6,
"name": "USDC",
"symbol": "USDC",
"usd_price": "1.0"
}
]
}Changes
- breaking
removed the enum value
b3from the propertyitems/of thequeryrequest parameterchains - breaking
removed the enum value
blastfrom the propertyitems/of thequeryrequest parameterchains - breaking
the response property
became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - info
added the new optional
queryrequest parametersort_by - info
added the new optional
queryrequest parametersort_direction - info
added the enum value
stablechainto the propertyitems/of thequeryrequest parameterchains - info
added the media type
*/*for the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking