{"id":13827756,"url":"https://github.com/GoodCryptoApp/market-data-feed","last_synced_at":"2025-07-09T05:30:28.750Z","repository":{"id":217313605,"uuid":"132616191","full_name":"GoodCryptoApp/market-data-feed","owner":"GoodCryptoApp","description":"Deprecated // Free Real-time Crypto Market Data Feed","archived":false,"fork":false,"pushed_at":"2018-05-16T13:58:50.000Z","size":99,"stargazers_count":35,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-04T09:07:11.524Z","etag":null,"topics":["crypto-api","cryptocurrency-exchanges","cryptocurrency-exchanges-apis","exchange-data","market-data"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoodCryptoApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-08T13:52:42.000Z","updated_at":"2024-08-04T09:07:12.393Z","dependencies_parsed_at":null,"dependency_job_id":"9d829646-392d-43f5-8ee4-c673d4cb2827","html_url":"https://github.com/GoodCryptoApp/market-data-feed","commit_stats":null,"previous_names":["goodcryptoapp/market-data-feed"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCryptoApp%2Fmarket-data-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCryptoApp%2Fmarket-data-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCryptoApp%2Fmarket-data-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCryptoApp%2Fmarket-data-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoodCryptoApp","download_url":"https://codeload.github.com/GoodCryptoApp/market-data-feed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225486432,"owners_count":17481900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypto-api","cryptocurrency-exchanges","cryptocurrency-exchanges-apis","exchange-data","market-data"],"created_at":"2024-08-04T09:02:07.189Z","updated_at":"2024-11-20T07:31:06.879Z","avatar_url":"https://github.com/GoodCryptoApp.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# CRYPTTO Real-time Market Data Feed\n\nOur consolidated feed provides real time normalized trade data from major crypto exchanges **for free**. We do not aggregate or conflate trade data in any way, only normalize the protocols and publish the trade data to subscribers. At the moment we provide access to real time trade information for all pairs listed on Bitstamp, Bitfinex, Poloniex, Quoinex, GDAX, and Gemini. Bitmex, OKEX, and Binance to be added soon with others to follow.\n\nThe market data feed is being delivered via our C++ based low-latency market data handler capable of maintaining connections and processing all data from all crypto exchanges on a single commodity server.\n\nCRYPTTO is developing a quantitative crypto trading platform, providing users access to market-neutral fully-automated trading strategies and low-latency intelligent execution algorithms across major exchanges. To find out more, please, visit our website at https://cryptto.io.\n\nIf you have any questions or suggestions regarding our data feed, please, join our Telegram chat at https://t.me/cryptto_chat\n\nCRYPTTO uses [Pusher](https://pusher.com) for real time websocket streaming. Please refer to the [Pusher documentation](https://pusher.com/docs/client_api_guide) and libraries to connect to our websocket stream. You can also find an example below.\n\n### Example\n\nWorking online example of data feed and feed viewer written in JavaScript can be found [here](https://cryptto-io.github.io/market-data-feed/feed-viewer). Source code for the example is [here](https://github.com/cryptto-io/market-data-feed/tree/master/feed-viewer).\n\n\n\n## Receiving Real-time data\n\n### What Is WebSocket?\n\nWebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol was standardized by the IETF as RFC 6455 in 2011, and the WebSocket API in Web IDL is being standardized by the W3C. The WebSocket protocol enables interaction between a web client (such as a browser) and a web server with lower overheads, facilitating real-time data transfer from and to the server.\n\n### Pusher Keys and Channels\n\n* Channel: **private-cryptto-trades**\n* Pusher Key: **35ef78a63946cd79fdc8**\n* Authenticating endpoint: **https://cryptto.io/user/api/auth**\n\n#### Authentication\n\nWe use Pusher user authentication process. For more information please refer to the [Pusher \"authenticating users\" docs section](https://pusher.com/docs/authenticating_users). Our authenticating endpoint expects a valid \"auth_key\" properties item. To request your personal auth key, please, [register on our website](https://www.cryptto.io/user/signup) and click ”Request API access” in your personal profile.\n\n### Data Format\n\nWe stream data as json array objects.\n```JSON\n[\n  [1525350863972,\"GDAX\",\"BTCUSD\",\"A\",9230.1,0.375],\n  [1525350863975,\"BITF\",\"BTCUSD\",\"B\",9230.5,0.5]\n]\n```\n* Index 0: Milliseconds timestamp (1525350863972)\n* Index 1: Exchange code (\"GDAX\")\n* Index 2: Pair (\"BTCUSD\")\n* Index 3: Trade side \"A\" for asks, \"B\" for bids (\"A\")\n* Index 4: Price (9230.1)\n* Index 5: Trade size (0.375)\n\n#### Crypto Exchanges Codes\n\n* OKEX: OKEX\n* BINA: Binance\n* BMEX: BitMEX\n* GMNI: Gemini\n* PLNX: Poloniex\n* BITS: Bitstamp\n* BITF: Bitfinex\n* QUNX: Quoinex\n* GDAX: Global Digital Asset Exchange\n\n## JavaScript Example\n\n``` html\n\u003c!DOCTYPE html\u003e\n\u003chead\u003e\n  \u003ctitle\u003ePusher Test\u003c/title\u003e\n  \u003cscript src=\"https://js.pusher.com/4.1/pusher.min.js\"\u003e\u003c/script\u003e\n  \u003cscript\u003e\n \n\t// Enable pusher logging - don't include this in production\n\tPusher.logToConsole = true;\n \n\tvar pusher = new Pusher('35ef78a63946cd79fdc8', {\n  \twsHost: 'ws.pusherapp.com',\n  \thttpHost: 'sockjs.pusher.com',\n  \tencrypted: true,\n  \tauthEndpoint: 'https://cryptto.io/user/api/auth',\n  \tauth: {params: {auth_key: \"\u003cENTER YOU API KEY HERE\u003e\"}}\n\t});\n \n\tvar channel = pusher.subscribe('private-cryptto-trades');\n \n\tchannel.bind('trade', function(data) {\n    \talert(JSON.stringify(data));\n\t});\n \n  \u003c/script\u003e\n\u003c/head\u003e\n```\n\n## Node.js Example\nInstall PusherJS via NPM: \n\n```npm install pusher-js```\n\ncode:\n```javascript\nconst Pusher = require('pusher-js');\n\n//Enable pusher logging - don't include this in production\nPusher.logToConsole = true;\n\nvar pusher = new Pusher('35ef78a63946cd79fdc8', {\n\twsHost: 'ws.pusherapp.com',\n\thttpHost: 'sockjs.pusher.com',\n\tencrypted: true,\n    authEndpoint: 'https://cryptto.io/user/api/auth',\n    auth: {params: {auth_key: \"\u003cENTER YOU AUTH KEY HERE\u003e\"}}\n});\n\nvar channel = pusher.subscribe('private-cryptto-trades');\nchannel.bind('trade', function(data) {\n\tconsole.log(data);\n});\n```\n\n\n \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoodCryptoApp%2Fmarket-data-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoodCryptoApp%2Fmarket-data-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoodCryptoApp%2Fmarket-data-feed/lists"}