limit_orders
Create Limit Order
Create a limit order.
post/v1/limit-orders
Request
- Base URLhttps://api.fereai.xyz
- URLhttps://api.fereai.xyz/v1/limit-orders
- Authnone declared
Query parameters
waitboolean
timeoutinteger
Seconds to block when wait=true (max 90; the ~100s edge cuts longer waits — use wait=false + poll for longer).
Request body
Example request
{
"amount": "1000000000000000000",
"chain_id_in": 8453,
"chain_id_out": 8453,
"condition": "gte",
"price_usd_trigger": 3500,
"slippage_bps": 50,
"token_in": "0xEeee...EEeE",
"token_out": "0x8335...2913",
"trigger_token_address": "0xEeee...EEeE",
"trigger_token_chain": "base"
}Response
Successful Response
Example response
{
"notification_stream": "/v1/notifications/stream",
"poll_url": "/v1/tasks/d290f1ee-6c54-4b01-90e6-d701748f0851",
"status": "queued",
"task_id": "d290f1ee-6c54-4b01-90e6-d701748f0851"
}Changes
No recorded changes to this operation across all 1 revision of this API.