Skip to main content
Returns historical fills for one wallet, optionally filtered to a single market or time window. Same enriched row shape as /v1/markets/:id/trades, scoped to user_addr.

Endpoint

Query parameters

Response (single trade row)

Response wrapper

Use cases

  • Wallet trade history page — paginated activity feed.
  • Tax export — combine with /positions?status=settled for full P/L reconstruction.
  • Backfill in chunks — page through history with to=<oldest tid time_us> shrinking each request.

Examples

Notes

  • Sorted reverse-chronological (newest first).
  • A wallet can appear on BOTH sides of the same trade (self-trade). Those fills show with the same tid but different direction.
  • HIP-4 fills currently have tx_hash = 0x000...000 — they settle inside HL state, not on Polygon. The field is preserved for forward compatibility.