Skip to main content
GET
/
partner
/
exchange
/
orders
/
{order_id}
Get order details
curl --request GET \
  --url https://api.stabyl.com/v1/partner/exchange/orders/{order_id} \
  --header 'X-Api-Key: <api-key>'
{
  "data": {
    "fills": [],
    "order": {
      "avg_fill_price": null,
      "cancel_reason": null,
      "client_order_id": "client-order-001",
      "created_at": "2026-05-24T12:00:00Z",
      "filled_quantity": "0.00",
      "id": "0197f1f0-0000-7000-8000-000000000001",
      "order_type": "limit",
      "pair_id": "USD/NGN",
      "price": "1650.00",
      "quantity": "100.00",
      "remaining_quantity": "100.00",
      "replace": {
        "replaced_by_order_id": null,
        "replaces_order_id": null
      },
      "side": "buy",
      "status": "accepted",
      "time_in_force": "GTC"
    }
  },
  "status": "success"
}

Documentation Index

Fetch the complete documentation index at: https://stabyl.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
header
default:sb_test_your_key
required

API key. Send it in the X-Api-Key header.

Path Parameters

order_id
string<uuid>
required

Public order ID returned by create or list order endpoints.

Response

Order details

data
object
required

Canonical order detail response, including order state and fills where available.

Example:
{
"fills": [
{
"created_at": "2026-01-14T10:31:00Z",
"fee": "0.25",
"fee_currency": "USDT",
"id": "123e4567-e89b-12d3-a456-426614174222",
"price": "1649.50",
"quantity": "25.00"
}
],
"order": {
"avg_fill_price": "1649.50",
"client_order_id": "cli-123",
"created_at": "2026-01-14T10:30:00Z",
"filled_quantity": "50.00",
"id": "123e4567-e89b-12d3-a456-426614174000",
"order_type": "limit",
"pair_id": "USD/NGN",
"price": "1650.00",
"quantity": "100.00",
"replace": {
"replaced_by_order_id": "123e4567-e89b-12d3-a456-426614174111",
"replaces_order_id": null
},
"side": "buy",
"status": "partially_filled",
"time_in_force": "POST_ONLY"
}
}
status
enum<string>
required
Available options:
success