Skip to content
Documentation
Token

Token

Get Token Informations

Return the data from a certain token.

https://misti.up.railway.app/api/token
   ?chainid=1
   &address=0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
   &apikey=YourApiKeyToken
  • Try this endpoint in your browser 🔗.

Query Parameters:
ParameterDescription
chainidThe chain ID of the blockchain (e.g., 1 for Ethereum mainnet). Table chain id
addressThe string representing the contract address of the token.
apikeyYour API key.

Response:

The response will be a JSON object containing the token's informations.

{
    "chain_id": "1",
    "token_address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
    "name": "Uniswap",
    "symbol": "UNI",
    "decimals": 18,
    "total_supply": 1000000000,
    "swap_count": 16911,
    "pool_count": 3
}

Get Token Price

Return the latest price of a certain token.

https://misti.up.railway.app/api/price
   ?chainid=1
   &address=0xc944E90C64B2c07662A292be6244BDf05Cda44a7
   &apikey=YourApiKeyToken
  • Try this endpoint in your browser 🔗.

Query Parameters:
ParameterDescription
chainidThe chain ID of the blockchain (e.g., 1 for Ethereum mainnet). Table chain id
addressThe string representing the contract address of the token to check for the price.
apikeyYour API key.

Response:

The response will be a JSON object containing the price of the token at the specified.

{
  "price": 123.45
}

Get Period Token Prices

Return the range price of a certain token.

https://misti.up.railway.app/api/price/range
   ?chainid=1
   &address=0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
   &interval=d
   &limit=300
   &apikey=YourApiKeyToken
  • Try this endpoint in your browser 🔗.

Query Parameters:
ParameterDescription
chainidThe chain ID of the blockchain (e.g., 1 for Ethereum mainnet). Table chain id
addressThe string representing the contract address of the token.
intervalThe time interval between each record. (e.g., d for day h for hour)
limitThe number of records to retrieve. (default 100)
apikeyYour API key.

Response:

The response will be an array of JSON objects containing the price of the token at a specific date.

[
    {
        "date": "2021-08-01T11:00:00+02:00",
        "price": 22.343331318447895
    },
    {
        "date": "2021-08-01T10:00:00+02:00",
        "price": 22.051719920630795
    },
    {
        "date": "2021-08-01T09:00:00+02:00",
        "price": 22.115212400253125
    },
]