For the complete documentation index, see llms.txt. This page is also available as Markdown.

Historical Token DEX Trades

Get historical "Token God Mode" (TGM) DEX trades (Beta)

post

Beta — subject to breaking changes.

Access historical DEX trading transactions for a specific token with temporally-correct trader labels. Labels are resolved at the trade date using label history tables to avoid forward-looking bias.

Key differences from /tgm/dex-trades:

  • Accepts an explicit date_range (no rolling default)

  • Labels resolved at the trade date, not the current state

  • No token_address / traded_token_address in the response

  • No only_smart_money flag — use filters.include_labels instead

Authorizations
apiKeystringRequired

API key for authentication

Body

Request model for the historical DEX trades endpoint.

Returns individual DEX trades for a token with temporally-correct trader labels to prevent forward-looking bias. Uses label history tables instead of current-state label dictionaries.

chainstring · enumRequired

Blockchain chain

Example: ethereumPossible values:
token_addressstringRequired

Token contract address

Example: 0x6982508145454ce325ddbe47a25d4ec3d2311933
filtersany ofOptional

Optional filters applied server-side

order_byany ofOptional

Sort order. Defaults to block_timestamp DESC. Only the first element is used.

apply_blacklist_filterbooleanOptional

When True, exclude blacklisted addresses from the results. Defaults to True.

Default: trueExample: true
Responses
200

Historical TGM DEX trades data

application/json
post
/api/v1beta1/tgm/historical-dex-trades

Last updated

Was this helpful?