Skip to Content
Indexify
Trading

List authenticated user's orders

POST
/api/user_orders.php

Returns a paginated list of all orders for the authenticated user.

Authorization

ApiKeyAuth
headerX-API-KEY<token>

API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.

Query Parameters

offset?integer

Pagination offset.

Range0 <= value
Default0
limit?integer

Number of orders to return.

Range1 <= value <= 100
Default100

Response Body

Paginated list of user orders.

application/json
  1. response
orders?array<>
pagination?
Example Request
curl -X POST 'https://api.indexify.finance/api/user_orders.php'
Example Response
{  "orders": [    {      "order_id": "string",      "stack_id": 0,      "type": "fromUSDC",      "status": "PENDING",      "created_at": "string",      "parent_order_id": "string",      "retry_attempt": 0,      "partial_completion_action": "string",      "stack_name": "string",      "stack_symbol": "string"    }  ],  "pagination": {    "offset": 0,    "limit": 0,    "total_count": 0,    "has_more": true,    "has_previous": true,    "page": 0,    "per_page": 0,    "total_pages": 0  }}