/all

/v2/token-lists/all

How this endpoint is to be used :

  • Returns a list of all tokens across all chains supported by Socket

Returns all tokens supported by Socket on all chains

GET https://api.socket.tech/v2/token-lists/all

Query Parameters

NameTypeDescription

isShortList

boolean

Returns a shorter token list with most bridged tokens

{
   "success":true,
   "result":{
      "1":[
         {
            "chainId":1,
            "address":"string",
            "name":"string",
            "symbol":"string",
            "decimals":1,
            "logoURI":"string"
         }
      ]
   }
}

API-KEY needs to be passed in the headers while making the GET request

Description of response parameters

ParameterDescription

success

Indicates successful response from endpoint, as intended.

name

Name of token

address

Contract address of token

chainId

ID of chain, for e.g : Ethereum = 1

decimals

Decimals for amount supported by a given token

symbol

Symbol of token

logoURI

URL to icon of token

TEST QUERY :

https://api.socket.tech/v2/swagger/#/Token%20Lists/TokenListController_getAllTokenList

Last updated