Get token groups
Changed onGet a paginated list of token groups sorted by market cap descending. Token groups represent equivalent currencies across different blockchains (e.g., ETH on Ethereum, Base, and Arbitrum are all in the "eth" token group).
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: 50, max: 100)
Pagination cursor for next page
Response
Successful response
Example response
{
"token_groups": [
{
"currencies": [
{
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"chain": "ethereum",
"decimals": 18,
"name": "Wrapped Ether",
"symbol": "WETH",
"usd_price": "2345.67"
}
],
"display_name": "Ethereum",
"primary_currency": {
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"chain": "ethereum",
"decimals": 18,
"name": "Wrapped Ether",
"symbol": "WETH",
"usd_price": "2345.67"
},
"slug": "eth",
"symbol": "ETH"
}
]
}Changes
- 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's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - 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 - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status
- breaking