Skip to content

Get an order

GET /api/v1/orders/{id}

A single order by id, including fill state.

Name In Type Required Description
id path string (uuid) yes Order id.
Status Description Schema
200 Success object
401 Missing, malformed or unrecognised signature, or a timestamp outside the 30-second window. Body: {“error”:“Missing or invalid API key credentials”} Error
422 The request was authenticated but rejected — for example a price above 99 cents. Error
Terminal window
curl --request GET \
--url 'https://demo.stxapp.io/api/v1/orders/{id}' \
--header 'STX-ACCESS-KEY: <key-id>' \
--header 'STX-ACCESS-TIMESTAMP: <unix-ms>' \
--header 'STX-ACCESS-SIGNATURE: <base64-ed25519>'

Run this in the API console →