Discover Available Prediction Market Exchanges and Markets
This tutorial shows you how to:
- Pull the full list of supported prediction market exchanges
- Fetch a single exchange by its
exchange_id - Use that
exchange_idto discover markets available on that exchange (full history list vs “active” IDs)
What you need before you start
- ✅ A FinFeedAPI API Key
- ✅ Any HTTP client:
- Terminal (
curl) - Postman / Insomnia
- Browser (for simple GET requests)
- Terminal (
Step 1 — List all supported exchanges
Endpoint: GET /v1/exchanges
cURL example
What you get back
An array of exchanges, each including:
exchange_id(example:POLYMARKET,KALSHI)market_name_institution_descriptionwebsite
Example entries shown in the docs include KALSHI, POLYMARKET, MYRIAD, MANIFOLD.
✅ Save the exchange_id you want to work with—you’ll use it in every exchange-scoped request.
Step 2 — Get a specific exchange by exchange_id
Endpoint: GET /v1/exchanges/:exchange_id
cURL example (Polymarket)
Expected responses
- 200 with the exchange object (same fields as above)
- 404 if the exchange doesn’t exist / isn’t supported
Step 3 — Discover markets on an exchange
Once you have an exchange_id, you have two common ways to discover markets:
Option A: Get full market objects (history listing)
Endpoint: GET /v1/markets/:exchange_id/history
- Supports pagination:
limit(1–1000, default 100)page(1-based, default 1)
Each item can include fields like:
market_id,title,description,outcome_name,price,statusexchange_id,outcome_type,mechanism, and optionallysource_specific_data
Option B: Get only “active” market IDs (lightweight)
Endpoint: GET /v1/markets/:exchange_id/active
This returns only an array of market IDs (because it’s derived from recent quotes/transactions). Use /history if you need full details.
Practical workflow (recommended)
- Call
/v1/exchangesto get supported exchanges and pick oneexchange_id. - (Optional) Validate it with
/v1/exchanges/:exchange_id. - Use
/v1/markets/:exchange_id/activeto quickly discover what’s trading right now. - Use
/v1/markets/:exchange_id/historywhen you need full market metadata (titles, outcome names, descriptions, status, etc.).
Troubleshooting tips
- 404 on an exchange or markets request: double-check the
exchange_idexists by calling/v1/exchangesfirst. - 400 with limit/page: keep
limitwithin 1–1000 andpage >= 1.
Next steps
Now that you can list exchanges and markets, you can plug exchange_id + market_id into other endpoints like MarketActivity, Orderbooks, or OHLCV (depending on what you want to build).
🚀 Happy building with Prediction Markets! Get your Free API Key.
