GET
/
swappable_tokens
curl --request GET \
  --url https://trade-api.gateway.uniswap.org/v1/swappable_tokens \
  --header 'x-api-key: <api-key>'
{
  "requestId": "<string>",
  "tokens": [
    {
      "address": "<string>",
      "chainId": 1,
      "name": "<string>",
      "symbol": "ETH",
      "project": {
        "logo": {
          "url": "<string>"
        },
        "safetyLevel": "BLOCKED",
        "isSpam": true
      },
      "isSpam": true,
      "decimals": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

Query Parameters

tokenIn
string
tokenInChainId
enum<number>

The unique ID of the blockchain. For a list of supported chains see the FAQ.

Available options:
1,
10,
56,
130,
137,
324,
480,
1868,
8453,
10143,
42161,
42220,
43114,
81457,
7777777,
1301,
84532,
11155111

Response

200
application/json

Get swappable tokens successful.

The response is of type object.