Institutional-grade stock data for your next big project
Revolutionize finance with access to the entire universe of US equities data via one standardized, intuitive, easy to use API. Stream real-time prices, retrieve historical data, company information, news, and more.
By developers for developers
Made for builders, founders, scholars, dabblers, and dreamers
- Standardized JSON / CSV.
- Our data is available in both JSON and CSV formats, making it easy for you to integrate it into your application.
- Client Libraries.
- Our client libraries make it simple to access and use our data, so you can spend less time worrying about the technical details and more time building your application.
- Tutorials & Examples.
- We know that getting started with a new API can be hard, which is why we provide tutorials and examples to help you get up and running in no time.
from polygon import RESTClient
client = RESTClient("API_KEY")
aggs = []
for a in client.list_aggs(
"AAPL",
1,
"minute",
"2022-01-01",
"2023-02-03",
limit=50000,
):
aggs.append(a)
print(aggs)
- Rows of Data
- 0 Trillion+
- Raw Data
- 0 Petabytes
- Uptime
- 0%
- Messages/sec
- 0 Million
Developer friendly access
Data for the entire universe of US stocks
Create your own applications, train models, backtest your strategies, and benchmark your success with the same level of accuracy as the pros.
- Company Tickers
- 0
- Historical Data
- 0 Years
- Market Coverage
- 0%
Timestamped to the nanosecond
Normalized real-time and historical market data
Each trade and quote message from all US Exchanges and darkpools. Allowing you to see into each candlestick bar to truly understand what's happening in the market.
// Stocks TRADE:
{
"conditions": [
12,
37
],
"exchange": 4,
"id": "187115",
"participant_timestamp": 1679702398739000000,
"price": 160.23,
"sequence_number": 5739937,
"sip_timestamp": 1679702398741170000,
"size": 1,
"tape": 3,
"trf_id": 12,
"trf_timestamp": 1679702398741113300
}
Reference data included
Plus everything you need to know about a ticker and more
Extensive reference data from the most accurate and reliable sources. All information is standardized and accessible via our reference data API endpoints for ease of use.
- Description
Apple designs a wide variety of consumer electronic devices, including smartphones (iPhone), tablets (iPad), PCs (Mac), smartwatches (Apple Watch), and AirPods. The iPhone makes up most of Apple's total revenue. In addition, Apple offers its customers a variety of services such as Apple Music, iCloud, Apple Care, Apple TV+, Apple Arcade, Apple Fitness, Apple Card, and Apple Pay, among others. Apple's products include internally developed software and semiconductors, and the firm is well known for its integration of hardware, software, semiconductors, and services. Apple's products are distributed online as well as through company-owned stores and third-party retailers. The company generates roughly 40% of its revenue from the Americas, with the remainder earned internationally.
- Market Capitalization
$2.66 Trillion
- Website
apple.com
- List Date
December 12, 1980
- Listing Exchange
Nasdaq
Apple Inc.
// Stocks Ticker Details:
{
"ticker": "AAPL",
"name": "Apple Inc.",
"market": "stocks",
"locale": "us",
"primary_exchange": "XNAS",
"type": "CS",
"active": true,
"currency_name": "usd",
"cik": "0000320193",
"composite_figi": "BBG000B9XRY4",
"share_class_figi": "BBG001S5N8V8",
"market_cap": 2666630778840,
"phone_number": "(408) 996-1010",
"address": {
"address1": "ONE APPLE PARK WAY",
"city": "CUPERTINO",
"state": "CA",
"postal_code": "95014"
},
"description": "Apple designs a wide variety of consumer electronic devices, including smartphones (iPhone), tablets (iPad), PCs (Mac), smartwatches (Apple Watch), and AirPods. The iPhone makes up most of Apple's total revenue. In addition, Apple offers its customers a variety of services such as Apple Music, iCloud, Apple Care, Apple TV+, Apple Arcade, Apple Fitness, Apple Card, and Apple Pay, among others. Apple's products include internally developed software and semiconductors, and the firm is well known for its integration of hardware, software, semiconductors, and services. Apple's products are distributed online as well as through company-owned stores and third-party retailers. The company generates roughly 40% of its revenue from the Americas, with the remainder earned internationally.",
"sic_code": "3571",
"sic_description": "ELECTRONIC COMPUTERS",
"ticker_root": "AAPL",
"homepage_url": "https://www.apple.com",
"total_employees": 164000,
"list_date": "1980-12-12",
"branding": {
"logo_url": "https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2023-05-01_logo.svg",
"icon_url": "https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2023-05-01_icon.jpeg"
},
"share_class_shares_outstanding": 15821950000,
"weighted_shares_outstanding": 15821946000,
"round_lot": 100
}
Deploy faster
Intuitive & easy-to-use APIs
Effortlessly integrate market data into your applications using our intuitive developer-friendly APIs and comprehensive documentation that streamlines the integration process, allowing you to focus on building your application.
Open, high, low, close, volume
SMA, EMA, RSI, and many more
See the entire market at a glance
SEC Edgar reference data
Nanosecond timestamped trade events
Nanosecond timestamped quote events
Mission critical market data
Rigorous data quality
Our multi-layered approach to data redundancy and backup ensures uninterrupted access to stock feeds, safeguarding your applications and tools against potential data loss.
- Redundant Networks
- We use 2 isolated networks to receive and consume stocks feed to prevent interruption in the event of hardware failures.
- HA Steaming
- Stock data flows through our system using a highly available messaging system ensuring uptime and speed.
- Polygon Datastore
- Historical data is stored in our nanosecond precision proprietary database - resulting in blazing fast API response times.
Intuitive and easy-to-use
Powerful data, simple access
Choose the data access method that suits your needs and get started today.
Flat Files
Our S3 interface lets you access our flat files easily and seamlessly. With just a few clicks, you'll have the data you need to power your applications.
API
Our Restful and WebSocket APIs provide flexible and powerful options for accessing our data. Whether you need real-time or historical data, we've got you covered.
SQL
Our SQL Query option lets you harness the power of SQL to access our data. With this flexible and intuitive option, you can easily customize queries to fit your needs.
Rewriting the rules of Wall Street
More than just a Stock Market API
We're challenging conventions and pioneering a new tech-forward, transparent approach to market data APIs.
- Shattering the status quo
- Our radical, user-centric approach disrupts traditional market data norms. We offer self-service access, transparent pricing, and clear documentation. Need expert advice on a market data API? We're right here to help. Welcome to a new era of financial technology.
- Instant access
- Redefining instant data access, our stock price API makes it simple to pull real-time prices into your application. A few lines of code are all you need, regardless of your programming language of choice. And the sign-up process? Just a couple of clicks, and you're in.
- Relentless refinement
- We're fanatically dedicated to refining our APIs. We listen, we iterate, and we continuously innovate to deliver groundbreaking products that meet the evolving demands of the financial ecosystem.
- Modern historical data
- We blend historical and current data through our stock market data API, enabling deep dives into derivative markets, forex, and crypto. We empower data-driven decisions with unparalleled accuracy.
- Diverse market data APIs
- We go beyond traditional stock data with our market data API, providing avenues into forex, options, indices, and more. We aim to give a comprehensive view of multiple financial landscapes.
- Knowledge is power
- We offer an extensive range of educational resources designed to maximize the utility of our stock data and other market data APIs. Our goal is to cultivate a culture of continuous learning and growth.
- Community-centric approach
- We are building an engaged community of developers by opening up unparalleled access to stock data and the broader financial market. We regularly engage with our developer community to understand the practical demands of market data applications, and we use those insights to help guide our direction.
Instant access. Cancel anytime.
Stocks data pricing
Developer-friendly unlimited access to stocks data.
- All US Stocks Tickers
- 5 API Calls / Minute
- 2 Years Historical Data
- 100% Market Coverage
- End of Day Data
- Reference Data
- Fundamentals Data
- Corporate Actions
- Technical Indicators
- Minute Aggregates
- WebSockets
- All US Stocks Tickers
- Unlimited API Calls
- 5 Years Historical Data
- 100% Market Coverage
- 15-minute Delayed Data
- Unlimited File Downloads
- Reference Data
- Fundamentals Data
- Corporate Actions
- Technical Indicators
- Minute Aggregates
- Snapshot
- 10 Years Historical Data
- 100% Market Coverage
- Unlimited File Downloads
- Reference Data
- Fundamentals Data
- Corporate Actions
- Technical Indicators
- Minute Aggregates
- WebSockets
- All US Stocks Tickers
- Unlimited API Calls
- 15-minute Delayed Data
- Snapshot
- Second Aggregates
- Trades
- 20+ Years Historical Data
- 100% Market Coverage
- Unlimited File Downloads
- Reference Data
- Fundamentals Data
- Corporate Actions
- Technical Indicators
- Minute Aggregates
- WebSockets
- All US Stocks Tickers
- Unlimited API Calls
- Real-time Data
- Snapshot
- Second Aggregates
- Trades
- Quotes
Need data for your business?
Explore plans designed to fuel your company's growth and give you a competitive edge in the financial industry.
What will you build?
Discover the power of a market data platform that breaks down barriers and levels the playing field.
Frequently asked questions
Can’t find the answer you’re looking for? Check out our knowledge base or contact our team.
- Title
- Does Polygon offer pre-market and after-hours data?
- Stocks Tag
Stocks
- FAQ Tag
FAQ
- Description
- Yes, we provide data for every trade that occurs, including during pre-market and after-hours. Our tick-level market data streams during these extended hours as well.
- Title
- Where does Polygon’s Stock data come from?
- Data Coverage Tag
Data Coverage
- Stocks Tag
Stocks
- FAQ Tag
FAQ
- Description
- We receive data directly from both SIPs (Security Information Processors) as RAW binary feeds rather than via retransmission or through an intermediary.
- Title
- Does Polygon offer dark pool data?
- Data Coverage Tag
Data Coverage
- Stocks Tag
Stocks
- Description
- Yes, we provide dark pool data. If a trade comes through with an exchange ID of 4 (exchange:4) and also has an attached “trf_id” field, it came from a dark pool.
- Title
- How does Polygon create the OHLCV (open, high, low, close, volume) aggregate bars?
- Stocks Tag
Stocks
- Aggregates Tag
Aggregates
- FAQ Tag
FAQ
- Description
- Polygon uses the “Sale Conditions” attached to each trade to determine if that trade is eligible to update the aggregate
- Title
- What are pro and non-pro classifications for Polygon’s stock data?
- FAQ Tag
FAQ
- Stocks Tag
Stocks
- Business Tag
Business
- Description
- Polygon.io serves both professional and non-professional users. However, there are a few differences between the two statuses.
Committed to every commit
Developers love Polygon
Developer friendly access
Explore more data
We're committed to providing fair access to the financial markets for everyone, not just the big players on Wall Street. That's why we offer the same institutional-level data access to both companies and individuals alike.
- Options
All US Exchanges + Darkpools
- Tickers
- 1,670,030+
- Coverage Start
- July 18, 2014
- Rows
- 722 Billion+
- Indices
S&P, Dow Jones, FTSE, and more
- Tickers
- 11,409+
- Coverage Start
- March 9, 2023
- Rows
- 20 Million+
- Currencies
Forex and Crypto Currencies
- Tickers
- 1,750+
- Coverage Start
- September 24, 2009
- Rows
- 2 Billion+