Stock Data API

Historical Stock Market Data

Access T+1 historical stock market data, Native IEX market microstructure datasets, exchange metadata, symbol reference data, and OHLCV time series through one standardized API.

FinFeedAPI standardizes historical equity market datasets behind one consistent interface available through REST, JSON-RPC, and a hosted Model Context Protocol (MCP) server. Instead of maintaining separate integrations for historical prices, global exchange metadata, and market depth feeds, developers access structured financial data through one platform with uniform schemas.

40+Integrated Stock Exchanges
30+Supported OHLCV Periods
100%ISO 8601 UTC Time Standard
38 DigitsMax Precision for Aggregate Values

What Data Will You Get?

Native IEX Trades

Retrieve historical tick-level trade executions directly from IEX. Each record includes price, execution size, trade ID, nanosecond-resolution timestamp, and execution condition flags.

Native IEX System Events

Access session-wide operational events published by IEX for a given trading date. Messages communicate session boundary states.

Native IEX Level 1 Quotes

Access historical top-of-book market data per symbol and trading date. Each record includes the best bid price, best bid size, best ask price, best ask size and more.

Native IEX Level 2 Price Level Book

Retrieve historical aggregated depth-of-book updates from IEX. Each record describes price level changes across the bid or ask side, including price, total displayed size at that price level, side indicator and event processing completion status.

Native IEX Level 3 Order Book

Access individual order lifecycle events for complete historical order book reconstruction. Event families include add_order, modify_order, delete_order, executed_order, and clear_book, complete with order reference IDs, price, size, and nanosecond timestamps.

Native IEX Admin Messages

Retrieve administrative state updates per symbol and date. Captures trading statuses, official opening/closing prices, opening/closing auction details, short-sale price test restrictions, operational halts, retail liquidity indicators, and security directory info.

OHLCV Historical Data

Query aggregated OHLCV candle bars for a specific symbol and exchange in time-ascending order. Supports customizable time ranges, page limits up to 100,000 bars, and pre-defined period granularities ranging from 1 second to 5 years.

OHLCV Latest Data

Retrieve the most recent OHLCV time-series candles for a symbol in time-descending order. Acts as a direct shortcut to historical endpoints without requiring explicit start and end timestamp parameters.

OHLCV Historical Data by Exchange

Fetch historical OHLCV candles across all symbols on a single exchange simultaneously within a single query window.

Exchange & Symbol Metadata

Query reference directory data covering supported exchanges and symbols. Provides exchange identifiers, MIC codes, legal entity names, operating statuses, security categories, symbol IDs, and active flags.

Exchange Ecosystem

Global Exchange Coverage

The Stock Data API provides historical exchange metadata and OHLCV time series covering major equity markets across North America, Europe, Asia-Pacific, and global financial hubs through one standardized interface.

RegionSupported Exchanges
North AmericaInvestors Exchange (IEXG)
Euronext MarketsEuronext Paris (XPAR), Euronext Amsterdam (XAMS), Euronext Brussels (XBRU), Euronext Lisbon (XLIS), Euronext Access, Euronext Growth
European ExchangesWarsaw Stock Exchange (XWAR), Borsa Italiana (MTAA, EXGM, BGEM, ETLX), SIX Swiss Exchange (XSWX), Prague Stock Exchange (XPRA), Wiener Börse (XWBO), Oslo Børs (XOSL, XOAS, MERK), Spotlight Stock Market (XSAT)
Asia-PacificHong Kong Exchanges (XHKG), Shanghai Stock Exchange (XSHG), Shenzhen Stock Exchange (XSHE), Taiwan Stock Exchange (XTAI), Taipei Exchange (ROCO), New Zealand Exchange (XNZE)
Global MarketsJamaica Stock Exchange (XJAM), Moscow Exchange (MISX)
Unique Dataset

Native IEX Market Data

Beyond historical OHLCV time series, the Stock API provides direct access to Native Investors Exchange (IEX) datasets.

Unlike aggregated historical datasets, Native IEX data preserves individual market events published by the exchange, allowing applications to analyze how the market evolved throughout each trading session.

Available datasets include:

DatasetDescription
Level 1 QuotesHistorical best bid and ask prices, quote sizes, symbol availability, and market session indicators.
Level 2 Price LevelsAggregated bid and ask price levels representing historical market depth.
Level 3 Order Book EventsIndividual order additions, modifications, executions, deletions, and book reset events.
TradesHistorical trade executions with prices, sizes, timestamps, trade identifiers, and execution flags.
System & Administrative EventsTrading status updates, official prices, auctions, operational events, security directories, retail liquidity indicators, and additional exchange messages.

Every dataset follows the same API conventions used throughout the platform, allowing applications to combine detailed Native IEX market activity with historical OHLCV and reference datasets through one consistent interface.

Protocols & Interfaces

Multiple Access Protocols

Choose the integration method that best matches your system architecture while accessing the same underlying datasets.

REST API

A resource-oriented HTTP API providing access to historical OHLCV data, Native IEX datasets, exchange metadata, and symbol metadata through predictable endpoints.

JSON-RPC API

A thin 1:1 proxy interface exposing the exact same historical datasets and functionality as the REST API for RPC-native software environments using the REST path as the method parameter.

Model Context Protocol (MCP)

A hosted MCP server offering 11 self-describing tools for AI assistants, coding agents, and LLM-powered application runtimes at /mcp.

Platform Specifications

Engineering Standards

Consistency is as important as data quality. Every Stock API endpoint follows the same engineering conventions to simplify development and provide predictable integrations.

ISO 8601 UTC Timestamps

Standardized UTC time formatting across all inputs and outputs (yyyy-MM-ddTHH:mm:ss.fffffffZ).

Consistent Variables

Strict snake_case naming convention across all JSON keys and RPC method parameters.

High-Precision Decimals

Supports numbers up to 19 digits (max 9 decimals) and up to 38 digits for aggregate market metrics.

Unified Authentication

Single API key used across REST, JSON-RPC, and MCP interfaces.

Official SDKs

Open-source SDK libraries for Python, TypeScript, Go, C#, Java, C++, PHP, Ruby, Swift, and additional languages on GitHub (api-bricks/api-bricks-sdk).

Competitive Advantage

Direct Exchange Integrations vs. FinFeedAPI Stock API

FeatureDirect Exchange FeedsFinFeedAPI Stock API
AuthenticationSeparate credentials for each exchangeOne API key across all venues
API ArchitectureDifferent endpoints and binary formatsOne standardized API
Historical OHLCVExchange-specific endpoints and periodsUnified historical OHLCV API (1SEC to 5YRS)
Exchange & Symbol MetadataFragile reference data and custom mappingStandardized metadata model and CSV downloads
Data FormatsProprietary JSON or raw ITCH binary feedsConsistent JSON responses
TimestampsMixed timezones and epoch formats100% ISO 8601 UTC with nanosecond precision
Naming ConventionsDifferent field names per providerConsistent snake_case fields
AI CompatibilityRequires custom scrapers and wrappersNative hosted MCP server
Access MethodsVaries by exchangeREST • JSON-RPC • MCP
Onboarding

Quickstart

Start retrieving historical stock market data in just a few minutes.

  1. 1Create your free FinFeedAPI account.
  2. 2Generate an API key.
  3. 3Choose REST, JSON-RPC, or MCP.
  4. 4Select an exchange, symbol, and historical period.
  5. 5Request OHLCV, metadata, or Native IEX datasets through the same standardized platform.

Quick Request Example

Retrieve the latest daily OHLCV candle for Apple Inc. (AAPL) on IEX via REST:

bash
curl -X GET "https://api-historical.stock.finfeedapi.com/v1/ohlcv/exchange-symbol/IEXG/AAPL/latest?period_id=1DAY&limit=1" \
  -H "Authorization: YOUR_API_KEY"

For MCP client configurations, connect to https://api-historical.stock.finfeedapi.com/mcp using the X-APIKey: YOUR_API_KEY header.

The Challenge

Historical Stock Data Without Exchange Complexity

Working with historical stock market data is often more complicated than retrieving a few price candles.

Historical prices, exchange metadata, symbol reference data, and market structure datasets are frequently distributed through different interfaces, use different schemas, and follow different conventions. As additional exchanges are introduced, applications must maintain separate integrations, reference mappings, and data pipelines.

One Standardized Interface

The FinFeedAPI Stock API standardizes historical equity market datasets behind one consistent interface.

Historical OHLCV time series, exchange and symbol metadata, and Native IEX market datasets are available through the same authentication model, standardized JSON schemas, ISO 8601 UTC timestamps, and consistent API conventions. Instead of integrating and maintaining multiple historical data sources, applications retrieve structured stock market data through one developer platform.

Use Cases

Common Applications

  • Historical price charting and visualization
  • Quantitative research and factor analysis
  • Historical portfolio valuation
  • Backtesting trading and investment strategies
  • Financial reporting and business intelligence
  • Historical market data warehouses
  • Exchange and symbol reference management
  • AI assistants retrieving structured historical market data through MCP
  • Historical market microstructure analysis using Native IEX datasets
  • Compliance, audit, and regulatory workflows requiring historical market records

Start Building

Access historical stock market data, Native IEX datasets, exchange metadata, and symbol reference data through one standardized developer platform.

Whether you are integrating historical OHLCV data, exploring exchange reference datasets, analyzing Native IEX market microstructure, or building AI-powered workflows with MCP, the Stock API provides one consistent interface across every dataset.