Base URL
Authentication
None. No auth dependency is attached to this router, so no auth headers are checked on any endpoint below. The curl examples send no credentials. Every endpoint shares themarket_data rate-limit group: 200 requests/minute, 100 for anonymous callers.
Gotcha: the active provider set is deployment-specific. Discover it with
GET /providers/configs instead of hard-coding the providers shown in the examples on this page.List provider configurations
market_data rate-limit group.
Request
No parameters.Response
Gotcha: an empty configs array is a valid response, not an error. It means no providers are currently active.
Gotcha:numeric_idcan benull— a provider that is active and fully usable here may still not be registered in the central provider map. Do not key your own storage on it without a null check.
Get a provider configuration
market_data rate-limit group.
Request
Response
Same shape as one entry ofconfigs[] above.
Providers available to API keys
market_data rate-limit group.
Request
No parameters.Response
providers[] holds provider ids in the same order as the config list, filtered to the enabled ones. An empty array is valid — it means no provider is currently open to API-key traffic.
Provider reference
Snapshot of the configured providers. The live set and values come fromGET /providers/configs.
Kalshi
Polymarket
Predict.fun
Hyperliquid
Configuration fields
What each enum value and flag in the response means. Order types:limit (limit order at a specified price), market (executes immediately).
Auth flow types: none (no authentication), wallet_signature (sign a message with a wallet), api_key (API-key authentication).
Token ID format: opaque (presence-only validation — Kalshi-style tickers) or clob_uint256 (long-decimal uint256 condition tokens — Polymarket, predict.fun, and other CTFExchange forks). Config-driven, so adding a new CLOB venue is a config-row edit, not a code change.
Metadata key type: marketId (frontend’s market-metadata cache is keyed by the numeric market id) or conditionId (Polymarket, keyed by on-chain condition id).
supports_token_approval: when true, users must approve token spending before placing orders.
has_multi_token_markets: when true, the provider’s markets may have more than one tradeable outcome token.
supports_walk_the_book: when true, the provider supports market orders that walk through the orderbook.
Integration notes
- Read the flags above off the response rather than branching on provider id — a new venue arrives as a config row, not a code change.
- The provider list is cached in-process, so a configuration change can take effect on the next cache load rather than immediately.
Errors
Errors are returned as{ "detail": "<message>" }, except 429, which is { "error": "Rate limit exceeded: <limit>" } and carries Retry-After / X-RateLimit-* headers. Unhandled failures are 500 {"detail": "An internal error occurred. Please try again later."}.
The Code column holds the exact detail string this router returns, or — where there is none.
There is no
401 or 403 on this page: none of these endpoints attach an auth dependency.
