Polygon.io - Real-time Crypto APIs

Cryptocurrency APIs

Real-time & Historical Crypto Data APIs

View Pricing

Unlimited REST

We do not limit how much you can use our RESTful APIs. There are no daily call limits, or maximum queries per minute.

Low Latency

Our platform provides low latency real-time data with a mean latency of 20ms. This is orders of magnitude faster than our closest competitor.

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.

Aggregates

1min - 1yr aggregate intervals. We allow you to query the aggregate in the size you want. 1min, 7min, 16day, anything is possible.

Transparent Pricing

Know exactly what you're going to pay. Get the data directly from the source, don't waste money on sales middlemen.

Level2 Books

We combine the level2 book from the crypto exchanges into a single, uniform order book. Now you can see a book of the entire market, not just 1 exchange.

Use Any Language

Clients for All Major Development Languages

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package main
import (
    "fmt"
    websocket "github.com/gorilla/websocket"
)

const APIKEY = "YOUR_API_KEY"
const CHANNELS = "C.AUD/USD,C.USD/EUR,C.USD/JPY"

func main(){
    c, _, err := websocket.DefaultDialer.Dial("wss://socket.polygon.io/forex", nil )
    if err != nil {
        panic( err )
    }
    defer c.Close()
    c.WriteMessage( websocket.TextMessage, []byte( fmt.Sprintf("{\"action\":\"auth\",\"params\":\"%s\"}", APIKEY) ) )
    c.WriteMessage( websocket.TextMessage, []byte( fmt.Sprintf("{\"action\":\"subscribe\",\"params\":\"%s\"}", CHANNELS) ) )
    var msg interface{}
    for {
        err := c.ReadJSON( &msg ); if err != nil {
            panic( err )
        }
        fmt.Println( "Message:", msg )
    }
}

Accurate, Fast, and Reliable

Complete redundancy, horizontally scalable, built on proven technologies.

< 1 millisecond

Ultra low latency

Equinix NY Datacenters

Same datacenters as the exchanges

1,000,000+

Messages per Second

Impeccable Reliability

Multiple redundancies