Trade History

Solana API endpoint for fetching trade history, volume, and metrics for any supported Solana AMM or DEX program, filtered by program.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string | null

The program on which the trade occurred

string | null

The public key of the base token

string | null

The public key of the quote token

string | null

The public key of either the base or quote token

string | null

Market id to filter with. If provided, the baseMintAddress and quoteMintAddress fields are ignored

string | null

Authority public key to filter with

string | null

Resolution of the data. Possible values: 1h, 1d, 1w, 1m, 1y, or a string parseable to seconds

int64 | null
≥ 0

Start time of the data to return (unix timestamp)

int64 | null
≥ 0

End time of the data to return (unix timestamp)

int32 | null
≥ 0

Page selection, 0-indexed.

int32 | null
≥ 0

Limit of the number of trades to return per page. Default/max is 1000.

string | null

Sort ascending by 'price' or 'blockTime'. Only one of sort_by_asc or sort_by_desc can be used

string | null

Sort descending by 'price' or 'blockTime'. Only one of sort_by_asc or sort_by_desc can be used

string | null

The public key of the entity that pays for the trade, often used for retrieving trades associated with a specific trading account.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json