The quote response includes LOCKED/USED/EXPIRED state, amount mode and use information. Quote state is different from order state.

Query Parameters

string(64)
required
1..64; letters, digits, underscores and hyphens
Quote ID

Response

The standard response envelope contains an object in data. See Swap quote for all item fields. Check success and code even on HTTP 200.
string
Business result code. Use this value for programmatic handling.
string
Result description; do not parse the message to classify failures.
string
Included when tracing context exists.
integer
Response time as Unix epoch milliseconds.
boolean
Whether the operation succeeded; check this even on HTTP 200.
object
Endpoint-specific business data; optional fields depend on state and availability.
See Error codes and Webhooks.