GET Supported Token Detail List

GET /api/queryTokenList

Complete Query Example

https://bs-tokens-api.chainservice.io/api/queryTokenList?network=binance-smart-chain&page=1&size=10

Request Params

Name

Location

Type

Required

Description

pageNo

query

Integer

no

Integer of page number, default is 1

pageSize

query

Integer

no

Integer of page size, default is 10, max is 100

network

query

string

yes

Key field in chain list

symbol

query

string

no

Token symbol,Support fuzzy query

Responses

HTTP Status Code

Meaning

Description

Data schema

200

Success

Inline

Responses Data

Name

Type

Description

results

JSONArray

List of token list.

count

Integer

Total number of tokens.

Responses Params

Name

Type

Description

chainId

String

Chain id.

address

String

Token address.

blockchainNetwork

String

Chain key.

decimals

Integer

Token decimal.

image

String

Token icon url.

name

Biginteger

Token name.

symbol

String

Token symbol.

usdprice

decimal

Token price.

Response Examples

200 Response

{
 Β "code": 200,
 Β "message": "success",
 Β "data": {
 Β  Β "count": 12,
 Β  Β "results": [
 Β  Β   {
 Β  Β  Β  Β "id": 34744,
 Β  Β  Β  Β "chainId": "1030",
 Β  Β  Β  Β "address": "0x0000000000000000000000000000000000000000",
 Β  Β  Β  Β "blockchainNetwork": "conflux",
 Β  Β  Β  Β "coingeckoId": null,
 Β  Β  Β  Β "decimals": 18,
 Β  Β  Β  Β "image": "https://map-static-file.s3.amazonaws.com/mapSwap/conflux/0x0000000000000000000000000000000000000000.png",
 Β  Β  Β  Β "name": "Conflux",
 Β  Β  Β  Β "rank": 0,
 Β  Β  Β  Β "symbol": "CFX",
 Β  Β  Β  Β "tokenSecurity": null,
 Β  Β  Β  Β "usdprice": 0,
 Β  Β  Β  Β "usedIniframe": 0
 Β  Β   }
......
 Β   ]
  }
}

Last updated