Cancel an active limit order
Cancel a limit order that has not yet been triggered. Only orders in ACTIVE status can be cancelled. Orders in TRIGGERED, FILLING, FILLED, FAILED, or CANCELLED status cannot be cancelled. The order is removed from both the database and Redis.
ApiKeyAuthX-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.
application/json- body
order_id*stringThe 16-character limit order ID to cancel
Order cancelled successfully.
application/json- response
order_id?stringstatus?stringcurl -X POST 'https://api.indexify.finance/api/limit_orders.php?action=cancel' \ -H 'Content-Type: application/json' \ -d '{ "order_id": "aBcDeFgHiJkLmNoP"}'{ "order_id": "aBcDeFgHiJkLmNoP", "status": "CANCELLED"}Place a new limit order POST
Place a conditional order that triggers automatically when a price threshold is crossed. Supports two target types: "token" (default) triggers on individual token price, "stack" triggers on the stack NAV (net asset value). Supports limit buys (buy + lte), stop losses (sell + lte), take profits (sell + gte), and breakout buys (buy + gte). Balances are checked at fill time only — no escrow. **Token orders**: Require `token_address`. A company stack is auto-created for the token if needed. **Stack orders**: Require `stack_id` and `target_type=stack`. Company stacks (single-token) are not allowed — use token orders instead. **Limits**: 20 active orders per user, 1 active order per token per user, 1 active stack order per stack per user, minimum buy amount 1 USDC.
List user's limit orders GET
Returns all limit orders for the authenticated user, ordered by creation time (newest first). Supports optional filtering by status and/or token address. Returns an empty array if no orders match.