Agara

Place a pre-signed order

POST/trade/v1/orders/signed

Authorization

personal_access_token orders:place_signed
AuthorizationBearer <token>

Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….

In: header

Scope: orders:place_signed

Request Body

application/json

CLOB order creation request body for pre-signed (bot/server-key) submissions. Carries the EIP-712 envelope fields the bot signed over so the router can recover and validate the signature without re-signing.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/trade/v1/orders/signed" \  -H "Content-Type: application/json" \  -d '{    "builder": "string",    "chain_token_id": "string",    "maker": "string",    "maker_amount": "string",    "metadata": "string",    "order_hash": "string",    "salt": "string",    "side": "BUY",    "side_u8": 0,    "signature": "string",    "taker_amount": "string",    "time_in_force": "FAK",    "timestamp": "string",    "token_id": "string",    "type": "LIMIT"  }'
{  "as_of": "2019-08-24T14:15:22Z",  "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",  "pending_operation": "SUBMIT",  "source": "AGARA",  "status": "PENDING"}