What should a prediction market API for agents return?
A prediction market API for agents should return a compact decision object: market identity, probability, deltas, liquidity, signal evidence, source risk, freshness, citations, and recommended next calls.
The output should help the agent decide whether to ignore, monitor, investigate, check sources, check resolution risk, or alert a human. It should not tell the agent to trade.
The first call should be attention, not everything
Many agent integrations start by fetching every market. That wastes context and money. A better first call is an attention queue that ranks the active market slice and tells the agent where deeper work is justified.
From that queue, the agent can fan out to why-it-moved, resolution-risk, wallet, event, or watchlist endpoints only when needed.
Why Decision Cards work
A Decision Card gives one stable parser across endpoints. It can include scores, evidence, risks, sources, valid-until, and suggested_next_calls without forcing the agent to scrape a dashboard or prompt-engineer around prose.
This pattern is especially useful for LLM agents because it separates facts from interpretation and keeps uncertainty visible.
Payments and budget control
x402 turns API access into a machine-readable payment flow. The endpoint quotes a price through HTTP 402, the caller settles, and the same request returns the paid payload.
For agents, this is simpler than managing seats or subscription state. Cheap discovery calls can be frequent; expensive deep dives can be selective.
FAQ
What is the best prediction market endpoint for an AI agent?
Start with an attention queue endpoint, then follow suggested_next_calls to market-specific explanation or resolution-risk endpoints.
Why not let agents scrape prediction market pages?
Scraping rendered pages adds noise and misses schema guarantees. Agents work better with typed JSON plus Markdown citations.
Should an agent use prediction market APIs to trade?
Orrery does not provide trade instructions. It provides public-data intelligence and routing actions for research workflows.