# trades on POST /0/private/QueryLedgers is deprecated

Kraken API deprecated POST /0/private/QueryLedgers, body parameter trades without giving a shutdown date yet.

Kraken deprecated the trades body parameter on POST /0/private/QueryLedgers without a shutdown date. Kraken API announced that it DEPRECATED the trades parameter on QueryLedgers. Requests relying on this parameter will eventually fail once the removal takes effect.

## What to use instead

Stop sending trades in your requests. Instead, read the related trades using POST /0/private/QueryTrades, where its ledgers parameter links them.

- API: Kraken API (api.kraken.com)
- Kind: Parameter removal
- Announced: September 30, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /0/private/QueryLedgers`, `body parameter trades`
- Source: [Announcement](https://docs.kraken.com/exchange/changelog)
- Verified: November 6, 2026, against Kraken API's own pages
- Page: https://www.okapi.bot/providers/kraken-api/breaking-changes/trades-on-post-0-private-queryledgers-is-deprecated/

## Kraken API's words

> DEPRECATED the trades parameter on QueryLedgers

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
