Skip to main content
GET
Get market by token

Request contract

Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.00044 USD per successful request. Account-specific pricing and final settlement may differ. 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.00044
  • 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.

Path Parameters

token_id
string
required

The token ID to look up the parent market for

Response

Successfully retrieved market

Response for GET /markets-by-token/{token_id} — condition ID and both token IDs in the market.

condition_id
string
required

The condition ID of the market containing the given token

Example:

"0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"

primary_token_id
string
required

The primary (Yes) token ID

Example:

"71321045679252212594626385532706912750332728571942532289631379312455583992563"

secondary_token_id
string
required

The secondary (No) token ID

Example:

"52114319501245915516055106046884209969926127482827954674443846427813813222426"