{"id":28059924,"url":"https://github.com/sondregj/dnb-api","last_synced_at":"2026-02-23T20:10:30.949Z","repository":{"id":34293140,"uuid":"169001864","full_name":"sondregj/dnb-api","owner":"sondregj","description":"💵 DNB Open Banking API client for Node.js","archived":false,"fork":false,"pushed_at":"2023-01-03T17:39:01.000Z","size":289,"stargazers_count":3,"open_issues_count":13,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-21T00:58:12.216Z","etag":null,"topics":["api","dnb","javascript","node","npm","openbanking"],"latest_commit_sha":null,"homepage":"https://developer.dnb.no","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/sondregj.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-02-03T22:39:48.000Z","updated_at":"2024-10-12T21:58:36.000Z","dependencies_parsed_at":"2023-01-15T05:58:09.962Z","dependency_job_id":null,"html_url":"https://github.com/sondregj/dnb-api","commit_stats":null,"previous_names":["sondregj/dnb-api-client"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sondregj/dnb-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Fdnb-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Fdnb-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Fdnb-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Fdnb-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sondregj","download_url":"https://codeload.github.com/sondregj/dnb-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Fdnb-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271921101,"owners_count":24843999,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"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","dnb","javascript","node","npm","openbanking"],"created_at":"2025-05-12T08:32:00.591Z","updated_at":"2026-02-23T20:10:25.910Z","avatar_url":"https://github.com/sondregj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href='https://developer.dnb.no' \u003e\u003cimg src='https://svgshare.com/i/BkG.svg' width=\"250\" title='DNB Developer' /\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  DNB Open Banking Client\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA Node.js client for DNB's various API products. (Under development, may change)\u003c/h4\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/sondregj/dnb-api\"\u003e\n    \u003cimg alt=\"Travis Build Status\" src=\"https://img.shields.io/travis/sondregj/dnb-api.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://npmjs.com/dnb-api\"\u003e\n  \t\u003cimg alt=\"npm (latest)\" src=\"https://img.shields.io/npm/v/dnb-api/latest.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://npmjs.com/dnb-api\"\u003e\n    \u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/min/dnb-api.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/sondregj/dnb-api\"\u003e\n    \u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/sondregj/dnb-api.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/sondregj/dnb-api\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/sondregj/dnb-api.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \n  \u003ca href=\"https://github.com/carloscuesta/gitmoji\"\u003e\n  \u003cimg alt=\"Gitmoji\" src=\"https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nThe APIs are currently under development, and only available in a sandbox. To use this API, you have to create an application at [https://developer.dnb.no](https://developer.dnb.no).\n\n*NOTE: None of the POST requests work yet...*\n\nSee examples below.\n\n## Usage\n\nAll the functions are asynchronous and return promises.\n\n```javascript\nconst DNBApi = require('dnb-api-client')\n\nconst client = new DNBApi('CLIENT_ID', 'CLIENT_SECRET', 'API_KEY')\n\nconst fetchCustomerData = async () =\u003e {\n  const jwt = await client.getToken('SSN', '12345678910')\n\n  return await client.token(jwt).customers.getCustomerInfo()\n}\n\nfetchCustomerData()\n  .then( customer =\u003e console.log(`${customer.firstName} ${customer.lastName}`) )\n  .catch( err =\u003e console.log(err.message) )\n```\n\nFor more examples see below.\n\n## Features\n\nEach API product is subdivided from the main object.\n\n```javascript\nclient.accounts      // Accounts API\nclient.api           // General\nclient.cards         // Cards API\nclient.currencies    // Currencies API\nclient.customers     // Customers API\nclient.locations     // Locations API\nclient.payments      // Payments API\nclient.testCustomers // Test Customers API\nclient.transactions  // Transactions API\n```\n\n## Examples\n\n## Development\n\nFirst, clone the repo. You will need API keys to run the tests. Make a new app at [https://developer.dnb.no](https://developer.dnb.no), duplicate `sample.env` and paste in the keys.\n\nDo `npm install`.\n\nRun tests with `npm test`.\n\nRun linter with `npm run lint`\n\nDo not commit directly to master. Preferably, make a branch or fork out of the `development` branch and make a pull request.\n\n## License\n\nMIT © 2019 Sondre Gjellestad\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsondregj%2Fdnb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsondregj%2Fdnb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsondregj%2Fdnb-api/lists"}