Transparency
Post-Trade Data
Returns a list of trades on the spot exchange. If no filter parameters are specified, the last 1000 trades for all pairs are received.
get/public/PostTrade
Request
- Base URL: https://api.kraken.com/0
- URL: https://api.kraken.com/0/public/PostTrade
- Auth: none required
Query parameters
symbolstring
Filter the results to the currency pair.
from_tsstring ISO 8601
Filter the results to include the trades after this timestamp.
to_tsstring ISO 8601
Filter the results to include the trades before or at this timestamp.
countinteger
The maximum number of trades to return.
Response
Post-trade data retrieved.
Example response
{
"result": {
"last_ts": "2024-05-30T12:34:56.123456789Z",
"trades": [
{
"trade_id": "TGBB7L-HT5LX-J3BZ4A",
"price": "102002.1",
"quantity": "1.24",
"symbol": "BTC/USD",
"description": "Bitcoin / US Dollars",
"base_asset": "BTC",
"quote_asset": "USD",
"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"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.