Sign in

Bitcoin RPC API

BTC · bitcoin dialect

JSON-RPC to our own Bitcoin full node, with one Olenza API key. Bitcoin-style JSON-RPC (bitcoind dialect): the gateway passes your call to the node and its answer back unchanged; it does not translate between dialects.

Endpoint

POST https://node.olenza.io/v1/rpc/btc

Send the key in the X-API-Key header (or Authorization: Bearer). A batch is a JSON array of calls.

Example

curl https://node.olenza.io/v1/rpc/btc \
  -H "X-API-Key: $OLENZA_KEY" \
  --data '{"jsonrpc":"1.0","id":1,"method":"getblockcount","params":[]}'

The answer is the node's own JSON-RPC response. Errors from the gateway carry a stable error.data.reason — see the docs.

Available methods

45 methods

Only these methods are available; wallet, peer, node-control and UTXO-set scan methods are not. Signed transactions can be broadcast with sendrawtransaction. Every call counts as one unit.

Plans that include Bitcoin

PlanPrice / monthRequests / sUnits / dayUnits / monthBatch
FreeFree510,000300,0005
Starter$2515200,0005,000,00020
Pro$79401,000,00025,000,00050

At a limit the gateway answers HTTP 429 with Retry-After. Pricing · Status · OpenAPI description · Bitcoin on Olenza Explorer

Other chains: Ethereum Litecoin Dogecoin Bitcoin Cash eCash Zcash Decred Monero