# blockchain-json-api

> A nodejs implementation of the blockchain.info JSON API

Latest version **0.0.7** (published 2013-12-21) · 0 weekly downloads

## Install

```sh
npm install blockchain-json-api
pnpm add blockchain-json-api
yarn add blockchain-json-api
bun add blockchain-json-api
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2013-12-21 |
| First published | 2013-11-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Or Weinberger |
| Maintainers | orweinberger |
| Keywords | bitcoin, blockchain, mongodb |

## Links

- npm: https://www.npmjs.com/package/blockchain-json-api
- Repository: https://github.com/orweinberger/blockchain-json-api
- Issues: https://github.com/orweinberger/blockchain-json-api/issues
- npm.io page: https://npm.io/package/blockchain-json-api

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.0.7 (latest) — 2013-12-21
- 0.0.6 — 2013-11-06
- 0.0.5 — 2013-11-06
- 0.0.4 — 2013-11-06
- 0.0.3 — 2013-11-06
- 0.0.2 — 2013-11-04
- 0.0.1 — 2013-11-04

## README

Blockchain-JSON-API
===================

This is a simple implementation of the blockchain.info JSON API written for nodejs.

For all available methods please visit: http://blockchain.info/api/blockchain_api

## Synopsis


``` javascript
var blockchain = require('blockchain-json-api');

var bc = new blockchain();

bc.API('tx-index', '1000', function (res, err) {
  if (err)
    console.log('Error! ', err)
  else
    console.log(res);  
});

bc.API('block-height', '1000', function (res, err) {
  if (err)
    console.log('Error! ', err)
  else
    console.log(res);
});

bc.API('address', '1LTNyzQDxyAU89BaQwk8vaePADnXYErYda', function (res, err) {
  if (err)
    console.log('Error! ', err)
  else
    console.log(res);
});

```

---
_Source: https://npm.io/package/blockchain-json-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
