Fills

GET /fills

Retrieve your fills. Requires a valid API key sent with the x-api-key header.

Query parameters

  • pair string

    Filter by market (e.g. "USD_BTCCALL_PERP")

  • start integer

    Start of time period to get trades for (in milliseconds UNIX time)

  • end integer

    End of time period to get trades for (in milliseconds UNIX time)

  • limit integer

    Amount of fills to get (default is 100)

Responses

GET /fills
curl \
 -X GET https://api.everstrike.io/fills \
 -H "x-api-key: $API_KEY"
Response examples (200)
{
  "code": 200,
  "msg": "string",
  "result": [
    {
      "is_buyer_maker": true,
      "pair": "USD_BTCCALL_PERP",
      "side": "SELL",
      "type": "MARKET",
      "qty": 940,
      "qty_usd": 940,
      "price": 7541.5,
      "cost": 7089010,
      "time": 1578322600590,
      "gross_commission": 0.564,
      "net_commission": 0.564,
      "gross_commission_asset": "USD",
      "liquidation": false,
      "net_commission_asset": "USD",
      "net_commission_usd": 0.564,
      "conversion_rate": null,
      "discount": 0
    }
  ]
}
Response examples (503)
{
  "code": 503,
  "msg": "Invalid request",
  "result": {}
}