pocketful logo light
pocketful logo light

Order Book

The Order Book section provides detailed information about all orders and trades associated with your account. You can monitor pending orders, track completed transactions, and view your entire trade history.

Available Endpoints

FeatureDescriptionLink
Pending OrdersView all orders currently waiting to be executed.Fetch Pending Orders
Completed OrdersView orders that have been successfully filled or cancelled.Fetch Completed Orders
Order HistoryView the lifecycle and history of a specific order.Order History
Trade BookView a comprehensive log of all executed trades.Trade Book

Common Headers for Order Book APIs

All APIs in the Order Book section require the following headers:

Header NameRequiredDescription
x-authorization-tokenYesYour JWT access token.
x-device-typeYesThe device type (e.g., WEBANDROIDIOS).
Content-TypeYesapplication/json

Understanding Order Statuses

The Order Book will return various statuses representing the current state of your orders. Common statuses include: – COMPLETE: The order has been fully executed. – REJECTED: The order was rejected by the system or exchange. – CANCELLED: The order was cancelled by the user. – PENDING: The order is still open in the market.