token

Overview

The /token/info_list API provides information on the price, contract address, and trading volume of WEMIX.Fi tokens.

Token information

GET /token/info_list

Returns the relevant information when you enter the contract address of the token you want to look up.

Query Parameters

NameTypeDescription

token*

string

Token contract address to fetch data

{
  "type": "success",
  "message": "success",
  "data": [
    {
      "1h": {
        "price_change": 0
      },
      "1m": {
        "volume": 0,
        "price_change": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "1y": {
        "volume": 0,
        "price_change": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "7d": {
        "volume": 0,
        "price_change": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "24h": {
        "volume": 0,
        "tx_change": 0,
        "tx_number": "string",
        "price_change": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "price": "string",
      "liquidity": 0,
      "token_symbol": "string",
      "token_address": "string",
      "updated_at": "string"
    }
  ]
}

Request

Parameter

NameTypeDescription

token

string

Token contract address to fetch data

Response

Parameter

NameTypeDescription

type

string

success/failure status

message

string

success/failure message

data

-

-

price_change

string

Change in token price over 1 hour, 24 hours, 7 days, 1 month, and 1 year

volume

string

Trading volume of token over 24 hours, 7 days, 1 month, and 1 year

volume_change

string

Change in trading volume of token over 24 hours, 7 days, 1 month, and 1 year

liquidity_change

string

Change in liquidity of token over 24 hours, 7 days, 1 month, and 1 year

tx_change

number

Change in number of token transactions over 24 hours

tx_number

string

Number of token transactions over 24 hours

price

string

Price of token

liquidity

number

Token liquidity

token_symbol

string

Token symbol

token_address

string

Token address

updated_at

string

API response update time

Sample

Request

curl

curl -X 'GET' \
  'https://openapi.wemix.fi/token/info_list?token=0x8E81fCc2d4A3bAa0eE9044E0D7E36F59C9BbA9c1' \
  -H 'accept: application/json'

Request URL

https://openapi.wemix.fi/token/info_list?token=0x8E81fCc2d4A3bAa0eE9044E0D7E36F59C9BbA9c1

Response

{
  "type": "success",
  "message": "success",
  "data": [
    {
      "1h": {
        "price_change": 0
      },
      "1m": {
        "volume": 9526672.563702324,
        "price_change": 0,
        "volume_change": -67.11790134073188,
        "liquidity_change": 2.5036859522264288
      },
      "1y": {
        "volume": 127850900.14680208,
        "price_change": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "7d": {
        "volume": 2057535.4219004305,
        "price_change": 0,
        "volume_change": -19.443615403800024,
        "liquidity_change": -0.9964467977903614
      },
      "24h": {
        "volume": 164578.44291962445,
        "tx_change": 9.238249594813617,
        "tx_number": "674",
        "price_change": 0,
        "volume_change": 69.25968968118018,
        "liquidity_change": 0.22726248639374197
      },
      "price": "1",
      "liquidity": 6074021.2922218405,
      "token_symbol": "WEMIX$",
      "token_address": "0x8E81fCc2d4A3bAa0eE9044E0D7E36F59C9BbA9c1",
      "updated_at": "2023-04-25T08:46:10.000Z"
    }
  ]
}