Sign Up

Log In

GetBalance

FREE
By bips
Updated 2 months ago
Finance
-/10
Popularity Score
-
Latency
-
Success Rate

GetBalance API Overview

Getting balance of bitcoin and in fiat via API is done by sending an http POST to https://bips.me/api/v1/getbalance

On a successful POST a JSON encoded array will be received in the response. On any invalid API request, an error message will be received in the response of the POST. Your system should account for this.

  • API key should never be publicly visible. If compromised, one can generate a new one in BIPS account. BIPS GetBalance example { "btc": { "amount": "0.36723477", "rate": "110.48764" }, "fiat": { "amount": "40.5749", "currency": "USD" } }
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://bips-getbalance.p.rapidapi.com/")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("currency=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard