Order

GET /order

Retrieve an order. Requires a valid API key sent with the x-api-key header.

Query parameters

  • id string Required

    ID of order

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • code integer

      Response code

    • msg string

      Diagnostic message

    • result object

      Request result

      Hide result attributes Show result attributes
  • 503

    Error

    Hide response attributes Show response attributes object
GET /order
curl \
 -X GET https://api.everstrike.io/order?id=string \
 -H "x-api-key: $API_KEY"
Response examples (200)
{
  "code": 200,
  "msg": "string",
  "result": {
    "id": "781a8e80393f11e98e2643f8c5a993ce",
    "fills": [],
    "pair": "USD_BTCCALL_PERP",
    "price": 200,
    "price_orig": 200,
    "qty_orig": 0.02225,
    "qty_orig_usd": 3.09956993634425,
    "qty_remaining": 0.02225,
    "side": "SELL",
    "status": "ACTIVE",
    "time": 1551128037224,
    "time_in_force": "GTC",
    "type": "LIMIT",
    "oco": null,
    "icebergs": null,
    "trigger_price": null,
    "trigger_event": null,
    "close_on_trigger": false,
    "reduce_only": false,
    "post_only": false,
    "hidden": false
  }
}
Response examples (503)
{
  "code": 503,
  "msg": "Invalid request",
  "result": {}
}