Introducing

Consolidated Crypto Feed

Jan 8, 2018

We are excited to announce a feature we have been working on for a couple months now: Consolidated cryptocurrency trade feed.

Polygon.io aggregates the top crypto exchange trades into 1 feed with a standard format. This means you can have a view of the entire crypto market with 1 simple feed. Giving you the most accurate and up to date pricing across the entire market. Allowing you to see trends in the top exchanges before they happen in less active exchanges. Providing actionable insight for your crypto trading strategy.

Crypto Pairs:

  • BTC-USD
  • ETH-USD
  • LTC-USD
  • BCH-USD
  • NEO-USD
  • DASH-USD
  • XRP-USD

Exchanges:

  • GDAX
  • Bitfinex
  • BitMEX
  • Binance
  • Gemini
  • Bitstamp
  • Poloniex
  • Cex.io
  • BitBay
  • HitBTC
  • Huobi

This is the inital coverage as of now. We are in active development and are working to add more exchanges & symbols across as many regions as possible, to give the best insight on a global scope. Email us with any suggestions / requests.

Data format:

const TRADE = {
    // Symbol
    pair: 'BTC-USD',
    // Price
    p: 16456.60,
    // Timestamp Unix ( ms )
    t: 1342342342342,
    // Size
    s: 0.03234,
    // Conditions
    c: [2],
    // Exchange
    x: 3,
    // Received Timestamp
    r: 1234134124123
}

This is currently only available for premium subscribers. However we plan to offer a subscription for crypto only data at a very affordable price.

This is our first step into cryptocurrency data offerings. We are working on very innovative crypto products, if you are interesting in being a part of the Beta for these, please send an email to betaprogram@polygon.io


Want to get started?

We will be updating API docs in the coming days, but if you would like to try the feed now, use your current premium API key and connect to NATS cluster:

    
Hosts:
- "crypto1.polygon.io:30501"
- "crypto2.polygon.io:30502"
- "crypto3.polygon.io:30503"

Channel: "T.*"
    
// Simple NodeJS example:

// Connect to Polygon NATS cluster:
const nats = require('nats').connect({
	servers: [
		'nats://crypto1.polygon.io:30501',
		'nats://crypto2.polygon.io:30502',
		'nats://crypto3.polygon.io:30503' ],
	token: 'YOUR_API_KEY'
})

// Listen for Trades:
nats.subscribe('T.*', msg => {
	let trade = JSON.parse( msg )
	console.log(
		'@ ', trade.pair,'\t', 
		'Exch: ', trade.x, '\t', 
		'Cond: ', trade.c, '\t', 
		'Price: '+trade.p, '\t\t', 
		'Size: '+trade.s, '\t' )
})


You should see something like this:

From the blog

See what's happening at polygon.io

case study fey Feature Image

Case Study: Fey

Discover how Fey, a rising star in fintech, transformed their financial application's capabilities with Polygon.io's API services. Dive into our latest case study to see how we're powering innovation in finance.