Spot market data

List Spot trades

Changed on

Market-wide executions, not your private fills. aggressor_side identifies the taker side.

See the Spot API guide.

get/v1/spot/trades

Request

  • Base URL
    https://api.ondoperps.xyz
  • URL
    https://api.ondoperps.xyz/v1/spot/trades
  • Auth
    none required

Query parameters

marketstring required
Example:NVDA-USDC

Exact Spot identifier.

cursorstring

Opaque nextCursor from the preceding response; keep filters unchanged.

limitinteger

Page-size request; the service can apply a lower historical cap.

Response

Success. Inspect item-level outcomes for batch operations.

successboolean required

Example response

{
  "result": [
    {
      "market": "SPY-USDC",
      "price": "1.55",
      "size": "5.403",
      "cost": "8.37465",
      "aggressor_side": "buy",
      "time": "2022-06-16T12:35:11.123456Z",
      "id": "70a37d8f972f2494837f9dba8364cbb4"
    }
  ]
}

Changes