Skip to main content
POST
Reference example

Cost and request rules

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.012
  • Cost contract: fixed_success
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
token_id
string
required

Token ID (asset ID)

Example:

"0xabc123def456..."

side
enum<string>

Order side (optional, not used for midpoint calculation)

Available options:
BUY,
SELL
Example:

"BUY"

Response

Successfully retrieved market prices

Map of token ID to map of side to price

{key}
object