{"id":15679374,"url":"https://github.com/danakt/node-etherscan-api","last_synced_at":"2025-10-08T21:12:56.410Z","repository":{"id":30064712,"uuid":"123811205","full_name":"danakt/node-etherscan-api","owner":"danakt","description":"Etherscan API for Node.js","archived":false,"fork":false,"pushed_at":"2023-01-04T01:20:38.000Z","size":1063,"stargazers_count":12,"open_issues_count":11,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T20:53:57.683Z","etag":null,"topics":["api","blockchain","ether","ethereum","etherscan","etherscan-api","nodejs"],"latest_commit_sha":null,"homepage":"","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/danakt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-04T17:20:09.000Z","updated_at":"2024-03-07T20:32:13.000Z","dependencies_parsed_at":"2023-01-14T16:13:24.137Z","dependency_job_id":null,"html_url":"https://github.com/danakt/node-etherscan-api","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/danakt%2Fnode-etherscan-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danakt%2Fnode-etherscan-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danakt%2Fnode-etherscan-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danakt%2Fnode-etherscan-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danakt","download_url":"https://codeload.github.com/danakt/node-etherscan-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252854337,"owners_count":21814669,"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":["api","blockchain","ether","ethereum","etherscan","etherscan-api","nodejs"],"created_at":"2024-10-03T16:29:55.944Z","updated_at":"2025-10-08T21:12:51.390Z","avatar_url":"https://github.com/danakt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Etherscan API\n\n[![npm](https://img.shields.io/npm/v/node-etherscan-api.svg?style=flat-square)](https://www.npmjs.com/package/node-etherscan-api)\n[![Travis branch](https://img.shields.io/travis/danakt/node-etherscan-api/master.svg?style=flat-square)](https://travis-ci.org/danakt/node-etherscan-api)\n\nNode.js package to interact with official [Etherscan API](https://etherscan.io/apis)\n\n## Documentation\n\n**[API reference](https://github.com/danakt/node-etherscan-api/blob/master/docs/API.md)**\n\nThe API reference was generated by JSDoc.\nIf you use Typescript, you can use the more detailed reference found in the [type declaration file](https://github.com/danakt/node-etherscan-api/blob/master/index.d.ts)\n\n## Install\n\n```bash\n$ npm install node-etherscan-api\n```\n\n## Usage\n\n```js\nconst Etherscan = require('node-etherscan-api')\n\n// Replace the value below with the your Etherscan token\nconst TOKEN_API = 'YourApiKeyToken'\n\n// Creating the Etherscan instance\nconst etherscan = new Etherscan(TOKEN_API)\n\n// Creating a request for account balance in Ether (default returns in Wei)\netherscan\n  .getAccountBalance('0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae', 'eth')\n  .then(balance =\u003e {\n    // Working with the balance here\n    console.log(balance)\n  })\n  .catch(err =\u003e {\n    // Handle error here\n    console.error(err)\n  })\n```\n\n## License\n\n**The MIT License (MIT)**\n\nCopyright © 2018 Danakt Frost\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanakt%2Fnode-etherscan-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanakt%2Fnode-etherscan-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanakt%2Fnode-etherscan-api/lists"}