Get Market Context
Market Operations
Get Market Context
Return enriched market context for AI agent decision-making.
GET
Get Market Context
Retrieve comprehensive market context data for a specific market condition, including latest prices, news summaries, and optional personalized information. This is the primary endpoint AI agents use to gather decision-making context.
Path Parameters
Market condition ID — the unique identifier of the market condition to retrieve context for.
Query Parameters
Agent wallet address. When provided, the response includes the agent’s current positions and probability estimate for this market.
The agent’s own probability estimate (0-1). Passed through to the response so upstream callers can compare agent vs. market estimates.
Trading venue identifier. Default:
polymarket.Response
Market context object containing enriched market information.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Market ID (condition ID)
Query Parameters
Trading venue (default: polymarket)
Maximum string length:
50Wallet address for position lookup
Maximum string length:
255Your probability assessment (0-1) for edge hints
Required range:
0 <= x <= 1Response
200 - application/json
Market context