Skip to main content
client.data.core.getTrades returns historical fills across markets. Combine filters to analyse liquidity, user behaviour, or market conditions.

Request

Parameters

⚠️ Provide both filterType and filterAmount or neither. Mixing them triggers a validation error. Likewise, market and eventId cannot be combined.

Response

Usage example

Failure modes

  • Missing paired filters → validation error referencing both fields.
  • Conflicting market/eventId → validation error.
  • HTTP failure → HttpError with parsed body.
  • Network failure → Error("Network error: …") with original cause.