Skip to main content
Use Query API when a user or agent asks a natural-language market question.

Endpoint

Auth: optional. Anonymous calls work for mode=full with the cheap model. Authenticated calls (Authorization: Bearer sf_live_...) unlock the model parameter and raise the rate limit. Rate limits:
  • Anonymous: 10 requests / minute / IP
  • Authenticated: 60 requests / minute / key
  • Cached queries (recent identical q+params) bypass the rate-limit counter and return immediately.

Query parameters

Required Optional

Examples

Full answer:
Fast deterministic retrieval:
Only prediction venues:
Include orderbook enrichment:

Response

Errors

Use in an agent

Use query to find candidate markets. Use inspect before acting on one ticker. Use screen when the agent needs a broader ranked market list.