Skip to Content
Indexify
Trading

Get a single limit order

GET
/api/limit_orders.php?action=get

Returns full details for a specific limit order including token metadata and fill information. The order must belong to 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

order_id*string

The 16-character limit order ID

Response Body

Limit order details.

application/json
  1. response

Full limit order object returned by list and get actions. Includes token metadata and display fields.

order_id?string

16-character unique order identifier

target_type?string

Whether this order targets a single token or a multi-token stack

Value in"token""stack"
token_address?|

Solana token mint address (null for stack orders)

token_symbol?|

Token ticker symbol

token_name?|

Token display name

token_image?|

Token logo URL

side?string

Order direction

Value in"buy""sell"
condition_type?string

"lte" triggers when price <= target, "gte" triggers when price >= target

Value in"lte""gte"
trigger_price?number

Target USD price threshold

amount?number

For buys: USDC amount. For sells: percentage of holdings (0-100)

amount_display?string

Human-readable amount — "$50.00" for buys, "50%" for sells

status?string

Current lifecycle status

Value in"ACTIVE""TRIGGERED""FILLING""FILLED""FAILED""CANCELLED"
stack_id?integer

Stack ID — company stack for token orders, user stack for stack orders

stack_name?|

Stack name (only present for stack orders, i.e. target_type=stack)

swap_provider?string

Swap provider used for execution

Value in"jupiter""dflow"
created_at?integer

Unix timestamp of order creation

updated_at?|

Unix timestamp of last status change

triggered_at?|

Unix timestamp when the price condition was met

triggered_price?|

Actual USD price that triggered the order

filled_at?|

Unix timestamp when the fill completed

fill_order_id?|

Linked stack_orders.order_id for the fill

error_message?|

Failure reason (only present when status is FAILED)

expires_at?|

Unix timestamp for automatic expiration, or null if no expiry

Example Request
curl -X GET 'https://api.indexify.finance/api/limit_orders.php?action=get&order_id=string'
Example Response
{  "order_id": "aBcDeFgHiJkLmNoP",  "target_type": "token",  "token_address": "So11111111111111111111111111111111111111112",  "token_symbol": "SOL",  "token_name": "Solana",  "token_image": "string",  "side": "buy",  "condition_type": "lte",  "trigger_price": 120,  "amount": 50,  "amount_display": "$50.00",  "status": "ACTIVE",  "stack_id": 0,  "stack_name": "string",  "swap_provider": "jupiter",  "created_at": 0,  "updated_at": 0,  "triggered_at": 0,  "triggered_price": 0,  "filled_at": 0,  "fill_order_id": "string",  "error_message": "string",  "expires_at": 0}