Network: Mainnet▼
Order Management
Retrieve and manage order history and individual order details.
1. Get Orders History
Endpoint: GET /v1/orders
Description: Retrieve order history for an account.
Query Parameters
curl -X GET \
"https://api.o2.app/v1/orders" \
-H "Accept: application/json"Source: packages/api/src/app/routes/v1/orders.rs:orders_handler
2. Get Single Order
Endpoint: GET /v1/order
Description: Get details of a specific order.
Query Parameters
curl -X GET \
"https://api.o2.app/v1/order" \
-H "Accept: application/json"Source: packages/api/src/app/routes/v1/orders.rs:order_handler