Get tokens
Authorization
x-api-keystringrequiredheaderHeaders
x-agent-infostringOptional attribution hint for AI-agent traffic; send it if an AI agent built or operates your integration. The value is a JSON object with up to three fields: decision_origin (required, exactly autonomous or human_mediated, case-sensitive), integration_name (optional string naming your integration, e.g. my-trading-bot), and version (optional string identifying your integration's version). Any other key is dropped, never rejected. The raw value must be at most 1024 bytes of printable US-ASCII (0x20-0x7E), so send non-ASCII text as JSON \u escapes; integration_name and version are each limited to 256 UTF-16 code units and may not contain control characters, U+2028, U+2029, or U+FFFD. Send the header once: repeated header lines are joined with , and the joined string is what gets parsed, so two complete objects fail as invalid JSON while a single object split across two lines still parses. The header is analytics-only and never affects the request: omitting it, sending it, or sending a value that fails these rules never changes the response status, body, or swap behavior. A value that fails to parse is dropped and reported by the x-agent-info-status response header. Never put a user ID, wallet address, email, session token, or API key in these fields.
Query Parameters
sortenumdefault:defaultlimitintegerdefault:100Number of ranked tokens to return. Applies only when sort is tvl or volume_24h. Defaults to 100.
chainIdenumFilter ranked token results to a specific chain. When omitted, ranked results include all supported chains. Ignored when sort is default.
Response
Get tokens successful. An empty tokens array is a valid result when no tokens match the requested sort and chains.
requestIdstringrequiredA unique ID for the request.
tokensobject[]required/tokenscurl --request GET \
--url 'https://trade-api.gateway.uniswap.org/v1/tokens' \
--header 'x-api-key: <api-key>'{ "requestId": "<string>", "tokens": [ { "name": "<string>", "address": "<string>", "chainId": "<number>", "symbol": "<string>", "decimals": "<number>", "logoURI": "<string>", "extensions": { "bridgeInfo": {}, "safetyInfo": { "safetyLevel": "<string>", "safetyDescription": "<string>", "buyFee": "<number>", "sellFee": "<number>" } } } ]}