Skip to main content
POST
/
api
/
solscan
/
tokens
/
markets
/solscan/tokens/markets
curl --request POST \
  --url https://api.anysite.io/api/solscan/tokens/markets \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "address": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "pool_id": "<string>",
    "@type": "SolscanTokenMarket",
    "program_id": "<string>",
    "token_1": "<string>",
    "token_2": "<string>",
    "tvl": 123,
    "volume_24h": 123,
    "volume_change_24h": 123,
    "trade_count_24h": 123,
    "trades_change_24h": 123,
    "trader_count_24h": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
address
string
required

Token mint address (base58)

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

count
integer
required

Max number of markets to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

pool_id
string
required
@type
string
default:SolscanTokenMarket
program_id
string | null
token_1
string | null
token_2
string | null
tvl
number | null
volume_24h
number | null
volume_change_24h
number | null
trade_count_24h
integer | null
trades_change_24h
number | null
trader_count_24h
integer | null