Account

List fills

This API returns a list of matched orders (i.e. fills) that have been sent to chain for settlement.

get/fills

Query parameters

cursorstring

Returns the ‘next’ paginated page.

end_atinteger

End Time (unix time millisecond)

marketstring

Market symbol

page_sizeinteger

Limit the number of responses in the page

start_atinteger

Start Time (unix time millisecond)

Response

OK

nextstring

The pointer to fetch next set of records (null if there are no records left)

prevstring

The pointer to fetch previous set of records (null if there are no records left)

Example response

{
  "next": "eyJmaWx0ZXIiMsIm1hcmtlciI6eyJtYXJrZXIiOiIxNjc1NjUwMDE3NDMxMTAxNjk5N=",
  "prev": "eyJmaWx0ZXIiOnsiTGltaXQiOjkwfSwidGltZSI6MTY4MTY3OTgzNzk3MTMwOTk1MywibWFya2VyIjp7Im1zMjExMD==",
  "results": [
    {
      "account": "0x978532f46745d7fFBa1CDfa1D8C8202D09D89C9E",
      "client_id": "x1234",
      "created_at": 1681375176910,
      "fee": "7.56",
      "fee_currency": "USDC",
      "flags": [
        "[\"interactive\"",
        " \"rpi\"]"
      ],
      "id": "8615262148007718462",
      "market": "BTC-USD-PERP",
      "order_id": "1681462103821101699438490000",
      "orderbook_seq_no": 12345,
      "price": "30000.12",
      "realized_funding": "7.56",
      "realized_pnl": "7.56",
      "remaining_size": "0.5",
      "size": "0.5",
      "underlying_price": "7.56"
    }
  ]
}

Changes

Changed in 1 of the 50 revisions of this API.3

    • added the media type application/json for the response with the status 200

      response-media-type-added

    • added the media type application/json for the response with the status 400

      response-media-type-added

    • added the media type application/json for the response with the status 401

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog