background

NEW: Prediction Markets API

One REST API for all prediction markets data
October 13, 2025

Introducing Prediction Markets API

featured image

Today, we're adding a new type of data to our platform with the release of Prediction Markets API. This new API provides programmatic access to data from event-based markets, allowing you to track the probabilities of future outcomes.

While our other APIs focus on traditional financial instruments, the Prediction Markets API gives you a direct feed to data from platforms like Polymarket, Kalshi, and others.

Prediction Markets API is a REST API that delivers data on event contracts. These are markets based on the outcome of real-world events, like elections, economic reports, or regulatory decisions. The API provides a structured way to get information on what markets are available, their current prices (probabilities), and their trading history.

The API offers multiple response formats, including JSON and MessagePack, and follows a clear, resource-oriented structure.

  • Market Listings: You can list all active and historical markets for any supported exchange. This includes the market's title, a description of its resolution criteria, and its current status.
  • Real-time Activity: The API provides endpoints to get the latest trades and quotes for any market, giving you a near-real-time view of trading activity.
  • Historical OHLCV Data: For quantitative analysis, you can retrieve historical Open, High, Low, Close, and Volume (OHLCV) data for any market outcome. The API supports a wide range of time periods, from seconds to years.
  • Order Book Snapshots: Get the current order book (bids and asks) for a specific market to analyze market depth and liquidity.

This API is for anyone who needs structured data from prediction markets.

  • Quantitative Analysts: You can apply familiar financial analysis techniques to a new asset class. Use the historical OHLCV data to backtest strategies based on event outcomes.
  • Developers: Build applications that display prediction market data, create alerting tools for specific market movements, or develop automated trading systems.
  • Data Journalists and Researchers: Track public sentiment and the perceived probabilities of political, social, and economic events over time. Use the data to support articles and studies with quantitative information.
  • Visualizing Political Race Probabilities: A developer could use the /v1/ohlcv/{exchange_id}/{market_id}/history endpoint to fetch daily price data for a market like "Who will win the next presidential election?". This data can then be used to plot a time-series chart showing how the implied probabilities have changed.
  • Monitoring Market Volatility: An analyst could monitor the /v1/activity/{exchange_id}/{market_id}/latest endpoint for markets related to upcoming economic reports. A sudden increase in trade volume could indicate a shift in expectations.
  • Finding Arbitrage Opportunities: A trading application could poll the /v1/orderbook/{exchange_id}/{market_id}/current endpoint for all outcomes of a single event to identify and act on pricing inefficiencies between "Yes" and "No" contracts.

To get started, you can look at the full Prediction Markets API documentation.

Stay up to date with the latest FinFeedAPI news

By subscribing to our newsletter, you accept our website terms and privacy policy.

Recent Articles

Get your free API key now and start building in seconds!