---
title: "Proxy RPC call to the underlying node"
method: POST
path: "/cryptos/{cryptoCode}/node/rpc"
tags: ["Blockchain"]
---

# Proxy RPC call to the underlying node

`POST /cryptos/{cryptoCode}/node/rpc`

Allows you to make RPC calls to the underlying cryptocurrency node (e.g., Bitcoin Core) via NBXplorer. This endpoint acts as a proxy, forwarding your RPC requests to the node and returning the node's responses.

By default, only a handful of RPC methods are authorized. You can use [configuration](https://github.com/btcpayserver/NBXplorer/blob/master/docs/API.md#configuration) `--btcexposerpc` or `NBXPLORER_BTCEXPOSERPC=1` to allow all methods.

Go to [The JSON-RPC specification page](https://www.jsonrpc.org/specification) and the [Bitcoin Core RPC page](https://developer.bitcoin.org/reference/rpc) for more information.

## Path parameters

- `cryptoCode` string, required

## Request body

- RpcRequest
  - `jsonrpc` string, required — JSON-RPC protocol version.
  - `id` union — An identifier established by the client.
    - string
    - integer
  - `method` string, required — The name of the RPC method to invoke.
  - `params` unknown[], required — An array of parameters to pass to the RPC method.
    - unknown

## Response `200`

Successful RPC call.

- RpcResponse
  - `error` object, nullable — Error information if the RPC call failed.
    - `code` integer — Error code.
    - `message` string — Error message.
  - `result` unknown
  - `resultString` string, nullable — String representation of the result (if any).
  - `id` union — An identifier established by the client.
    - string
    - integer

## Other responses

- `400` — Bad Request. Invalid RPC method or parameters.
- `401` — JSON RPC Not Exposed. Code: `json-rpc-not-exposed`

---

[API](https://skmtc.net/btcpayserver/apis/nbxplorer-api.md) · [All operations](https://skmtc.net/btcpayserver/apis/nbxplorer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/btcpayserver/nbxplorer-api/revisions/208cac39e31a/schema)
