Create Limit Order
Creates a durable off-chain limit order. The public request shape mirrors POST /quote and adds limit-order terms.
Endpoint: POST /api/v1/limit-orders/limit
Auth: Required (Authorization: Bearer YOUR_API_KEY)
Headers
Idempotency-Key
string
Required opaque dedupe token. Use UUIDv4 or ULID. Allowed characters: A-Z, a-z, 0-9, ., _, :, -. Max 200 chars.
123e4567-e89b-12d3-a456-426614174000
Request body
fromChain
string
Yes
Source chain identifier
"arbitrum"
toChain
string
Yes
Destination chain identifier
"avax"
tokenIn
string
Yes
Input token identifier
"TBTC"
tokenOut
string
Yes
Output token identifier
"WETH"
amount
string
Yes
Human amount string
"100.00"
minAmountOut
string
Yes
Minimum output amount
"1"
timeInForce
string
No
GTC, GTD, IOC, or FOK
"GTC"
expiresAtMs
integer
No
Absolute expiry in ms since epoch
1745403600000
expireAfterMs
integer
No
Relative expiry in ms
86400000
network
string
No
mainnet or testnet
"mainnet"
slippageBps
integer
No
Quote-time slippage hint
75
recipient
string
No
Recipient address
"0x1234..."
route
object
No
Optional route snapshot
{}
routeKey
string
No
Optional route identifier
"route_123"
Example
Responses
200
Created
400
Invalid request
401
Unauthorized (missing or invalid API key)
503
PG unavailable
Last updated


