Skip to main content

Base URL

https://ledger.predexon.com

Authentication

Same x-api-key model as the rest of Predexon. One API key may own multiple Ledger accounts.
curl -H "x-api-key: YOUR_API_KEY" \
  https://ledger.predexon.com/v1/accounts

Errors

All errors return a JSON body with an error field.
StatusMeaning
400Invalid request, insufficient available balance, or invalid predexonId
401Missing or invalid API key
403Account not owned by this API key
404Account, order, trade, position, or withdrawal not found
409Concurrent modification (e.g., order cancelled mid-fill)
429Rate limited
503No liquidity available for this market right now
Retry 5xx with exponential backoff. Do not retry 4xx — the request itself needs to change.