{"id":31702231,"url":"https://github.com/julesgoullee/poloniex-api-push","last_synced_at":"2026-07-16T02:31:08.256Z","repository":{"id":80922197,"uuid":"104232511","full_name":"julesGoullee/poloniex-api-push","owner":"julesGoullee","description":"Poloniex push api over websocket","archived":false,"fork":false,"pushed_at":"2017-09-28T09:36:45.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-29T15:13:48.259Z","etag":null,"topics":["api","poloniex","trade","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/julesGoullee.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-09-20T15:18:32.000Z","updated_at":"2019-01-30T13:42:57.000Z","dependencies_parsed_at":"2024-02-23T02:31:10.985Z","dependency_job_id":null,"html_url":"https://github.com/julesGoullee/poloniex-api-push","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/julesGoullee/poloniex-api-push","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julesGoullee%2Fpoloniex-api-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julesGoullee%2Fpoloniex-api-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julesGoullee%2Fpoloniex-api-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julesGoullee%2Fpoloniex-api-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julesGoullee","download_url":"https://codeload.github.com/julesGoullee/poloniex-api-push/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julesGoullee%2Fpoloniex-api-push/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35528482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","poloniex","trade","websocket"],"created_at":"2025-10-08T21:35:42.400Z","updated_at":"2026-07-16T02:31:08.252Z","avatar_url":"https://github.com/julesGoullee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Poloniex-api-push\n=================\n\nClient to use poloniex api push.\nI'm writing after read official [official api](https://poloniex.com/support/api/) documentation autobahn doesnt work.\nAfter reverse poloniex web app, it seem to be not using autobahn and wamp protocole but pur websocket implementation, I created package to wrap this.\nIt usable for real time data data, more fresh compare to http api.\n\n\nFeatures:\n- watch multiple pairs in same time\n- orderbooks (buy/sell, insert/delete)\n- trades\n- reconnected automatically\n\n# Install\n\n    npm install --save poloniex-api-push\n\n# Usages:\n\n```js\nconst PoloniexApiPush = require('poloniex-api-push');\nconst poloPush = new PoloniexApiPush();\n\n// You need to call before every methods ensure connection is establish\n\npoloPush.init().then(() =\u003e {\n\n    //call some methods\n\n});\n```\n\n# Methods:\n\nWatch pair:\n```js\npoloPush.subscribe('BTC_ETH');\n```\n\nUnwatch pair:\n```js\npoloPush.unSubscribe('BTC_ETH');\n```\n\nOrderbooks:\n```js\npoloPush.on('BTC_ETH-orderbook-bids', (orderbookBid) =\u003e {\n\n    console.log('BTC_ETH-orderbook-bids', orderbookBid.rate, orderbookBid.amount);\n\n});\n\npoloPush.on('BTC_ETH-orderbook-asks', (orderbookAsk) =\u003e {\n\n    console.log('BTC_ETH-orderbook-asks', orderbookAsk.rate, orderbookAsk.amount);\n\n});\n```\n\nIf amount is set to '0.00000000' this rate is removed, see poloniex offical api.\n\nTrades:\n```js\npoloPush.on('BTC_ETH-trade', (trade) =\u003e {\n\n    console.log('BTC_ETH-trade', trade.type, trade.rate, trade.amount);\n\n  });\n```\n\nIt's an eventListener, on can add/remove listeners(for orderbook and trades) has well [https://nodejs.org/api/events.html](https://nodejs.org/api/events.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulesgoullee%2Fpoloniex-api-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulesgoullee%2Fpoloniex-api-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulesgoullee%2Fpoloniex-api-push/lists"}