{"id":20118461,"url":"https://github.com/bitcoin-api/bitcoin-request","last_synced_at":"2026-06-08T08:02:24.915Z","repository":{"id":57189751,"uuid":"286085799","full_name":"bitcoin-api/bitcoin-request","owner":"bitcoin-api","description":"Do Bitcoin Request on Bitcoin Node","archived":false,"fork":false,"pushed_at":"2020-08-08T17:49:50.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T06:45:14.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitcoin-api.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"bitcoin-api","patreon":"bitcoinapi"}},"created_at":"2020-08-08T17:10:29.000Z","updated_at":"2020-08-08T17:49:52.000Z","dependencies_parsed_at":"2022-09-15T07:01:55.917Z","dependency_job_id":null,"html_url":"https://github.com/bitcoin-api/bitcoin-request","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-api%2Fbitcoin-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-api%2Fbitcoin-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-api%2Fbitcoin-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-api%2Fbitcoin-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitcoin-api","download_url":"https://codeload.github.com/bitcoin-api/bitcoin-request/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241564445,"owners_count":19982958,"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":[],"created_at":"2024-11-13T19:10:57.432Z","updated_at":"2025-11-27T08:02:42.397Z","avatar_url":"https://github.com/bitcoin-api.png","language":"JavaScript","funding_links":["https://github.com/sponsors/bitcoin-api","https://patreon.com/bitcoinapi"],"categories":[],"sub_categories":[],"readme":"# bitcoin-request\n\n[![npm version](https://badge.fury.io/js/bitcoin-request.svg)](https://badge.fury.io/js/bitcoin-request)\n\nbitcoin-request - Do Bitcoin Request on Bitcoin Node\n\n\n## About\n\nDo Bitcoin request on a bitcoin node. Set `process.env.BITCOIN_REQUEST_MODE` to the string `livenet` to make livenet requests to your Bitcoin node. Here's a list of commands you can use on your bitcoin node: [Chain Query list of commands](https://chainquery.com/bitcoin-cli).\n\n\n## Example\n\n```.js\n'use strict';\n\nconst bitcoinRequest = require( 'bitcoin-request' );\n\n\n(async () =\u003e {\n\n    const balance = await bitcoinRequest({\n\n        command: [\n            'getbalance'\n        ],\n        livenet: false, // overrides BITCOIN_REQUEST_MODE env setting\n    });\n\n    console.log( balance );\n\n    // logs 0\n})();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoin-api%2Fbitcoin-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoin-api%2Fbitcoin-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoin-api%2Fbitcoin-request/lists"}