solscan logo
Register NowRegister Now

token markets

get

https://pro-api.solscan.io/v2.0/token/markets

Get token markets

QUERY PARAMS

token

array

required

1 token: search all market/pool by token. 2 tokens: search by pair

Maximum allowed values: 2

sort_by

string

The parameter allows you to specify the field by which the returned list will be sorted

program

array

Filter by list program addresses. Maximum 5 addresses

Maximum allowed values: 5

page

number

Page number for pagination

page_size

number

Number items per page

RESPONSES

200

OK

Response Body

success

boolean

Status of Api

pool_id

string

Pool Address

program_id

string

Program Address

token_1

string

Token 1 Address

token_2

string

Token 2 Address

token_account_1

string

Token 1 Account Address

token_account_2

string

Token 2 Account Address

total_trades_24h

number

Total trades in 24h

total_trades_prev_24h

number

Total trades in previous 24h

total_volume_24h

number

Total volume in 24h

total_volume_prev_24h

number

Total volume in previous 24h

400

Bad Request

Response Body

401

Authentication failed

Response Body

429

Too Many Requests

Response Body

500

Internal Server Error

Response Body

icon

Javascript

icon

Python

icon

Shell

icon

Go

icon

C#

Authorization

Response

Click Try It! to start a request and see the response here!

Response Examples