Returns a list of trades on the spot exchange. If no filter parameters are specified, the last 1000 trades for all pairs are received.
curl --request GET \
--url https://api.kraken.com/0/public/PostTrade{
"result": {
"last_ts": "2024-05-30T12:34:56.123456789Z",
"count": 500,
"trades": [
{
"trade_id": "TGBB7L-HT5LX-J3BZ4A",
"price": "102002.1",
"quantity": "1.24",
"symbol": "BTC/USD",
"description": "Bitcoin / US Dollars",
"base_asset": "BTC",
"base_notation": "UNIT",
"quote_asset": "USD",
"quote_notation": "MONE",
"trade_venue": "PGSL",
"trade_ts": "2024-05-30T12:34:56.123456789Z",
"publication_venue": "PGSL",
"publication_ts": "2024-05-30T12:34:56.123456789Z"
}
]
},
"error": [
"EGeneral:Invalid arguments"
]
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Filter the results to the currency pair.
Filter the results to include the trades after this timestamp.
Filter the results to include the trades before or at this timestamp.
The maximum number of trades to return.
1 <= x <= 1000curl --request GET \
--url https://api.kraken.com/0/public/PostTrade{
"result": {
"last_ts": "2024-05-30T12:34:56.123456789Z",
"count": 500,
"trades": [
{
"trade_id": "TGBB7L-HT5LX-J3BZ4A",
"price": "102002.1",
"quantity": "1.24",
"symbol": "BTC/USD",
"description": "Bitcoin / US Dollars",
"base_asset": "BTC",
"base_notation": "UNIT",
"quote_asset": "USD",
"quote_notation": "MONE",
"trade_venue": "PGSL",
"trade_ts": "2024-05-30T12:34:56.123456789Z",
"publication_venue": "PGSL",
"publication_ts": "2024-05-30T12:34:56.123456789Z"
}
]
},
"error": [
"EGeneral:Invalid arguments"
]
}