Account

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

get/fills

Request

  • Base URL
    https://api.testnet.paradex.trade/v1
  • URL
    https://api.testnet.paradex.trade/v1/fills
  • Auth
    API key in header Authorization

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

    • info

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

    • info

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

    • info

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