{"id":15719898,"url":"https://github.com/andrewbarba/bittrex-node","last_synced_at":"2025-05-07T08:44:11.154Z","repository":{"id":52017547,"uuid":"142337239","full_name":"AndrewBarba/bittrex-node","owner":"AndrewBarba","description":"Bittrex API Client for Node.js","archived":false,"fork":false,"pushed_at":"2022-12-30T17:47:33.000Z","size":123,"stargazers_count":13,"open_issues_count":11,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T03:35:14.081Z","etag":null,"topics":["async-await","axios","bittrex","cryptocurrency","https","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewBarba.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-25T18:13:24.000Z","updated_at":"2025-02-16T06:19:38.000Z","dependencies_parsed_at":"2023-01-31T12:31:19.926Z","dependency_job_id":null,"html_url":"https://github.com/AndrewBarba/bittrex-node","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewBarba%2Fbittrex-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewBarba%2Fbittrex-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewBarba%2Fbittrex-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewBarba%2Fbittrex-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewBarba","download_url":"https://codeload.github.com/AndrewBarba/bittrex-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252846105,"owners_count":21813378,"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":["async-await","axios","bittrex","cryptocurrency","https","nodejs"],"created_at":"2024-10-03T21:57:10.584Z","updated_at":"2025-05-07T08:44:11.130Z","avatar_url":"https://github.com/AndrewBarba.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bittrex-node\n\n[![wercker status](https://app.wercker.com/status/feb7e7d87d5a4a29ea9c04b4a1350a44/s/master \"wercker status\")](https://app.wercker.com/project/byKey/feb7e7d87d5a4a29ea9c04b4a1350a44)\n[![Twitter](https://img.shields.io/badge/twitter-@andrew_barba-blue.svg?style=flat)](http://twitter.com/andrew_barba)\n\nA full-featured Bittrex API client for Node.js\n\n- [x] Supports all documented v1.1 endpoints\n- [x] 100% unit-test coverage\n- [x] Heavily documented\n- [x] Promise based with async/await\n\nIf you're using the Bittrex REST API, I can assure you this is the only library worth using. Here's why:\n\n- It doesn't make you parse the Bittrex response and look for errors\n- It properly parses all timestamps to JavaScript Date objects\n- It uses proper JavaScript and Node conventions\n- It throws proper errors when parameters are missing\n- It uses a single https client with Keep-Alive enabled\n- It's faster than every other node Bittrex library\n\n## Initialize Client\n\n```javascript\nconst { BittrexClient } = require('bittrex-node')\n\nlet client = new BittrexClient({\n  apiKey: '12345',\n  apiSecret: 'abcde'\n})\n```\n\n## Public Methods\n\n```javascript\nawait client.markets()\nawait client.currencies()\nawait client.ticker('BTC-ETH')\nawait client.marketSummaries()\nawait client.marketSummary('BTC-ETH')\nawait client.marketHistory('BTC-ETH')\nawait client.orderBook('BTC-ETH', { type: 'both' })\n```\n\n## Market Methods\n\n```javascript\nawait client.buyLimit('BTC-ETH', { quantity: 2.1, price: 0.1 })\nawait client.sellLimit('BTC-ETH', { quantity: 2.1, price: 0.1 })\nawait client.cancelOrder('1234-5678')\nawait client.openOrders('BTC-ETH')\n```\n\n## Account Methods\n\n```javascript\nawait client.balances()\nawait client.balance('BTC')\nawait client.depositAddress('BTC')\nawait client.withdraw('BTC', { quantity: 1.2, address: 'abcde' })\nawait client.order('30594e6e-ba54-4914-96f3-5b9d5de2468e')\nawait client.orderHistory('BTC-ETH')\nawait client.withdrawalHistory('BTC')\nawait client.depositHistory('BTC')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbarba%2Fbittrex-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewbarba%2Fbittrex-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbarba%2Fbittrex-node/lists"}