Skip to main content
Export trade history for a market as CSV or TSV.

Path Parameters

id
string
required
The unique market identifier.
ext
string
required
File format: csv or tsv.

Query Parameters

limit
integer
default:100
Maximum number of trades (1-10,000).

Response

Returns a file download with Content-Disposition: attachment. Max 10,000 rows. Columns: trade_id, timestamp, price, count, side, volume

Examples

# Export last 1000 trades as CSV
curl -O "https://v2.api.adj.news/api/v1/export/markets/SENATECO-26-R/trades.csv?limit=1000" \
  -H "Authorization: Bearer YOUR_TOKEN"

# Export as TSV
curl -O "https://v2.api.adj.news/api/v1/export/markets/SENATECO-26-R/trades.tsv?limit=5000" \
  -H "Authorization: Bearer YOUR_TOKEN"

Errors

StatusDescription
400Invalid format
401Missing or invalid authorization
404Market not found