New
Introducing:Free Stock APIs

Financial Market Data Platform

Stock APIs, Forex, Crypto, and More

Built by Developers for Developers

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

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
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

Create Powerful Visualizations

Develop for Any Platform

Polygon.io's market data APIs give you the tools you need to create visualizations for any platform or operating system, in the coding language which fits you best.

Polygon.io

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.

Simple Pricing.

Instant Access. Cancel Anytime.

Stocks

All US Exchanges + Dark Pools

Currencies

Crypto + Forex

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