Polygon.io Real-time Stock Quotes API

Stock APIs

Real time & Historical Data APIs for US Stocks

Trusted by Top Companies, Governments, and Institutions
google
stanford
robinhood
revolut
motley-fool
SEC

CTA, UTP and OTC Markets

100% Market Coverage

Don't settle for 1 or 2 exchanges for your data. With 100% market coverage you always know the latest and most accurate price for a ticker.

Market Data from All 19 Exchanges

  • New York Stock Exchange LLC
  • NYSE National, Inc.
  • NYSE Chicago, Inc.
  • NYSE Arca, Inc.
  • NYSE American LLC
  • Nasdaq Stock Market LLC
  • Nasdaq BX, Inc.
  • Nasdaq PHLX LLC
  • Nasdaq ISE, LLC
  • Investors Exchange LLC
  • Financial Industry Regulatory Authority, Inc.
  • Cboe Exchange, Inc.
  • Cboe EDGX Exchange, Inc.
  • Cboe EDGA Exchange, Inc.
  • Cboe BZX Exchange, Inc.
  • Cboe BYX Exchange, Inc.
  • Long Term Stock Exchange, Inc.
  • Members Exchange (MEMX)
  • MIAX Pearl, LLC (MIAX).
  • OTC Markets (coming soon)
Exchange Networks
nyse
bats
cboe
nasdaq
finra
iex
otcmarkets
Dots

Tick by Tick

See each and every Trade & Quote happening in the US in real time, and access trillions of rows of historical tick data in an instant using our APIs.

terminal

Unlimited REST

There is no limit to how much you can use our stock data APIs. No maximum queries per minute or daily call limits on all premium plans.

feather

Low Latency

Our market data platform provides low latency real-time data with a mean latency of 20ms, orders of magnitude faster than competitors.

apeture

Snapshot APIs

See the entire market at a glance with our powerful Snapshot APIs. You can also query the gainers and losers for the current day.

compilation

Aggregates

1min - 1yr aggregate intervals. We allow you to query our aggregate stock API in the size you want. 1 min, 7 mins, 16 days, anything is possible.

glasses

Transparent Pricing

Get stock data directly from the source, and know exactly what you're going to pay. Don't waste time and money on sales or middlemen.

Equinix Data Center

Accurate, Fast, and Reliable

Complete redundancy, horizontally scalable, built on proven technologies.

< 1 millisecond

Ultra low latency APIs

Equinix NY Datacenters

Same datacenters as the exchanges

1,000,000+

Messages per Second

Impeccable Reliability

Multiple redundancies

Institutional Level

Low Latency Data APIs

Polygon.io is located in the datacenters with NYSE, NASDAQ, BATS, IEX and the other top exchanges. We connect directly to the exchanges to bring you institutional level data, that has previously been out of reach for most end users, fast.

Polygon.io EnterpriseMean time of < 1ms
Polygon.ioMean time of < 20ms
Active TickMean time of ~180ms
iQFeedMean time of ~380ms

Equinix logo

Nanosecond Timestamps

Accurate to One Billionth of a Second

Polygon.io Timestamp: 156505318682285707
Aug 8, 2019 01:17:57.682285707
  • SIP Timestamp
  • Participant/Exchange Timestamp
  • Trade Reporting Facility (TRFs, Darkpools) Timestamp

Our market data APIs provide all the timestamps you need to know exactly where and when a trade occurred with nanosecond timestamp accuracy.

Competitor Timestamp: 156505318682
Aug 8, 2019 01:17:57.682
  • SIP Timestamp Only
  • Participant/Exchange Timestamp
  • Trade Reporting Facility (TRFs, Darkpools) Timestamp

Our competitors only offer millisecond timestamps, as well as only 1 timestamp attribute.

999,999 units of accuracy more than the competition

All Market Data Since 2004

15+ Years of Historical Tick Data

Trade Ticks

Polygon.io market data APIs provide each and every trade message from all US Exchanges and darkpools. Allowing you to see into each aggregate bar to truly understand what's happening in the market.

Quote Ticks

Top of book quotes give you more information into the sitting orders at the exchanges. Knowing the national best bid and offer provides insight for the next execution price(s).

Aggregate Bars

Our aggregates APIs are extremely powerful for visualizing and understanding prices for a long or short range of time. We generate our own aggregates from the raw trade data for ultimate accuracy.

Both unadjusted and split adjusted aggregates are available and can be generated in any size time window from 1min - 1yr. Now you can finally get the exact time windows you want, no matter the size.


1// Stocks TRADE:
2{
3    "ev": "T",              // Event Type
4    "sym": "MSFT",          // Symbol Ticker
5    "x": "4",               // Exchange ID
6    "p": 114.125,           // Price
7    "s": 100,               // Trade Size
8    "c": [0, 12],           // Trade Conditions
9    "t": 1536036818784      // Trade Timestamp ( Unix MS )
10}
11
12// Stocks QUOTE:
13{
14    "ev": "Q",              // Event Type
15    "sym": "MSFT",          // Symbol Ticker
16    "bx": "4",              // Bid Exchange ID
17    "bp": 114.125,          // Bid Price
18    "bs": 100,              // Bid Size
19    "ax": "7",              // Ask Exchange ID
20    "ap": 114.128,          // Ask Price
21    "as": 160,              // Ask Size
22    "c": 0,                 // Quote Condition
23    "t": 1536036818784      // Quote Timestamp ( Unix MS )
24}
25
26// Stocks Aggregate:
27{
28    "ev": "AM",             // Event Type ( A = Second Agg, AM = Minute Agg )
29    "sym": "MSFT",          // Symbol Ticker
30    "v": 10204,             // Tick Volume
31    "av": 200304,           // Accumulated Volume ( Today )
32    "op": 114.04,           // Today's official opening price
33    "vw": 114.4040,         // VWAP (Volume Weighted Average Price)
34    "o": 114.11,            // Tick Open Price
35    "c": 114.14,            // Tick Close Price
36    "h": 114.19,            // Tick High Price
37    "l": 114.09,            // Tick Low Price
38    "a": 114.1314,          // Tick Average / VWAP Price
39    "s": 1536036818784,     // Tick Start Timestamp ( Unix MS )
40    "e": 1536036818784,     // Tick End Timestamp ( Unix MS )
41}

Company Profiles & More

Reference Data APIs Included

We provide 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.

Reference Data API


Amazon Logo
Amazon.com Inc.
Specialty Retail

Amazon.com Inc is an online retailer. The Company sells its products through the website which provides services, such as advertising services and co-branded credit card agreements. It also offers electronic devices like Kindle e-readers and Fire tablets.

1// Company Profile:
2{
3    "logo": "https://s3.polygon.io/logos/amzn/logo.png",
4    "listdate": "1997-05-15",
5    "cik": "1018724",
6    "bloomberg": "EQ0021695200001000",
7    "lei": "ZXTILKJKG63JELOEG630",
8    "sic": 5961,
9    "country": "usa",
10    "industry": "Retail - Apparel & Specialty",
11    "sector": "Consumer Cyclical",
12    "marketcap": 791855354928,
13    "employees": 566000,
14    "phone": "+1 206 266-1000",
15    "ceo": "Jeffrey P. Bezos",
16    "url": "http://www.amazon.com",
17    "description": "Amazon.com Inc is an online retailer. The Company sells
18        its products through the website which provides services, such as
19        advertising services and co-branded credit card agreements. It also
20        offers electronic devices like Kindle e-readers and Fire tablets.",
21    "exchange": "Nasdaq Global Select",
22    "name": "Amazon.com Inc.",
23    "symbol": "AMZN",
24    "exchangeSymbol": "NGS",
25    "hq_address": "410 Terry Avenue North Seattle WA, 98109-5210",
26    "hq_state": "WA",
27    "hq_country": "USA",
28    "type": "CS",
29    "tags": [
30        "Consumer Cyclical",
31        "Specialty Retail",
32        "Retail - Apparel & Specialty"
33    ],
34    "similar": [
35        "MSFT",
36        "COST",
37        "EBAY",
38        "WMT",
39        "GOOGL"
40    ],
41    "active": true
42}
43

Use Any Language

Clients for All Major Development Languages

Create your application in any language. No more C++/Java limitations. Use the technology you already know, and spend your time creating, not integrating.

1package main
2import (
3    "fmt"
4    websocket "github.com/gorilla/websocket"
5)
6
7const APIKEY = "YOUR_API_KEY"
8const CHANNELS = "C.AUD/USD,C.USD/EUR,C.USD/JPY"
9
10func main(){
11    c, _, err := websocket.DefaultDialer.Dial("wss://socket.polygon.io/forex", nil )
12    if err != nil {
13        panic( err )
14    }
15    defer c.Close()
16    c.WriteMessage( websocket.TextMessage, []byte( fmt.Sprintf("{\"action\":\"auth\",\"params\":\"%s\"}", APIKEY) ) )
17    c.WriteMessage( websocket.TextMessage, []byte( fmt.Sprintf("{\"action\":\"subscribe\",\"params\":\"%s\"}", CHANNELS) ) )
18    var msg interface{}
19    for {
20        err := c.ReadJSON( &msg ); if err != nil {
21            panic( err )
22        }
23        fmt.Println( "Message:", msg )
24    }
25}
26

Success Stories

You're in Good Company

Data for BigQuery

Polygon.io has teamed up with Google to provide BigQuery public dataset for stock data.

Powering Brokerage

Alpaca uses Polygon.io to power their cutting edge API first brokerage platform.

Digital Banking & Trading

Revolut trusts Polygon.io to power their new trading application for US stocks.

Stocks Pricing

Instant Access. Cancel Anytime.

Polygon.io Enterprise Real-time Stock Quote APIs

Enterprise

For Businesses & Institutions

  • All Data APIs
  • Unlimited API Calls
  • < 1ms Latency
  • Cross Connects
  • Flat files
  • SLAs
  • Priority Support

  • Business Use
  • Commerical Use
Chat Bubble Image
Not sure which plan to choose?
Contact Us

We’re always here to assist if you happen to need our help. Feel free to contact us and one of our team members will gladly walk you through choosing the right plan for you.

Contact Us
We
Heart Image
Happy Customers

Polygon is a dream come true when compared to some of the largest players in the market. They provide excellent quality data through a modern API with no long term contract.

Customer Profile Image
Dan Aisen
Founder @ Proof Trading

Compare Stock Plans

Feature Comparison
Price
API Calls
How many API calls you can make.
Timeframe
Which data you may access.
Historical Data
The range of data you may access.
Market Coverage
Reference Data
Fundamental Data
Corporate Actions
Aggregates
1 min, 5 min, and custom range minute / second aggregate bars including open, high, low, close and volume.
Snapshots
Snapshot provides the current minute, day, and previous day’s aggregate, as well as the last trade and quote for a single ticker, multiple tickers, or all tickers traded in the current session.
WebSocket
WebSocket connection to streaming real-time data.
Trades & Quotes
Get trades & quotes for a ticker.