BTKN Token by Pubkey/Address or Search BTKN

get

Get token details or search for tokens

Authorizations
x-api-keystringRequired
Path parameters
identifierstringRequired

If the value is a 64-character hex token identifier or a Bech32 token address, returns its details. Otherwise the segment is treated as a search query over token name, ticker or address.

Example: {"value":"691c8f8a06274c6d17956e2e4115935d501d85ee569319d20b50e1fe4195b33d"}
Query parameters
offsetnumberOptionalDefault: 0
limitnumber · min: 1 · max: 100OptionalDefault: 25
Responses
200

Default Response

application/json
Responseany of
or
get
/v1/spark/tokens/{identifier}
GET /v1/spark/tokens/{identifier} HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
  "metadata": {
    "tokenIdentifier": "text",
    "tokenAddress": "text",
    "name": "text",
    "ticker": "text",
    "decimals": 1,
    "issuerPublicKey": "text",
    "maxSupply": 1,
    "isFreezable": true,
    "iconUrl": "text"
  },
  "totalSupply": 1,
  "marketCapUsd": 1,
  "volume24hUsd": 1
}

Last updated