Sign Up

Log In

Blockchain Bitcoin WebHooks

FREEMIUM
By BlockchainWebHooks
Updated 3 months ago
4.2/10
Popularity Score
337ms
Latency
72%
Success Rate

Blockchain Bitcoin WebHooks API Documentation

Monitor Bitcoin wallet addresses for new transactions, POSTing comprehensive TX data to your URL. Visit our website to learn more, or email us for a 60-Day Free Trial (any paid plan): https://blockchainwebhooks.com/contact?utm_source=rapidapi

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

BTC
POSTCreate BTC WebHook
POSTTriggered WebHook Example
DELETEDelete BTC WebHook
GETGet BTC WebHook
TBTC (Testnet)
POSTCreate TBTC WebHook
GETGet TBTC WebHook
DELETEDelete TBTC WebHook
POSTTriggered WebHook Example2
All
GETGet All Set WebHooks
GETGet WebHooks by Coin
GETGet Remaining WebHooks
POSTCreate BTC WebHook

Use this endpoint to watch a BTC address for new transactions. It takes 3 parameters - address, callbackurl, and postonconfirmation (optional). The address is the BTC address you'd like us to watch. The callbackurl is where we will POST the transaction data payload, if a new confirmed transaction enters the block with the address you specified. postonconfirmations is the number of transaction confirmations until we POST the transaction data to your callback URL. See below for more details.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Content-TypeSTRING
REQUIRED
addressSTRING
REQUIREDBTC address which will trigger this webhook.
callback_urlSTRING
REQUIREDWhen a new transaction associated with the address enters a block, we will POST the comprehensive transaction data to this URL. Note: we POST the transaction data to the exact url given when setting the WebHook, so this allows you add a parameter to the url and check on your server for the presence of this parameter, ensuring it was not modified. Only 1 query parameter allowed.
Create WebHookJSON_STRING
REQUIREDcreate webhook
Optional Parameters
post_on_confirmationNUMBER
OPTIONALNumber of transaction confirmations until we POST the transaction data to your callback URL. Enter 1-100, default is 1. Example: If set to 6, we will wait until the new transaction has 6 confirmations before POSTing the transaction data to your URL.
Request Snippet
unirest.post("https://blockchainwebhooks-blockchain-webhooks-v1.p.rapidapi.com/btc/v1/webhooks/create")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "undefined")
.send("post_on_confirmation=undefined")
.send("address=<required>")
.send("callback_url=<required>")
.send({"address": "<btc_address>","callback_url": "https://mydomain.com/callbacks""post_on_confirmation": 1})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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://blockchainwebhooks-blockchain-webhooks-v1.p.rapidapi.com/btc/v1/webhooks/create")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "undefined")
.send("post_on_confirmation=undefined")
.send("address=<required>")
.send("callback_url=<required>")
.send({"address": "<btc_address>","callback_url": "https://mydomain.com/callbacks""post_on_confirmation": 1})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto 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