Home

getnetworkinfo

POST
https://btc-testnet.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns Bitcoin Core node network information, including P2P services, transport reachability, connection counts, relay fees, and warnings. Bitcoin Core 32.1 may also include asmap_version when ASMap is configured. Its absence is expected when ASMap is not in use.

Body

application/json

JSON-RPC payload for getnetworkinfo.

JSON-RPC request envelope sent to NOWNodes.

jsonrpcstringrequired

JSON-RPC protocol version.

idstring | integerrequired

Client-provided request ID echoed in the response.

methodstringgetnetworkinforequired

JSON-RPC method name.

paramsArray<any>required

No positional parameters. Send an empty params array.

Response

200OK

Network information retrieved successfully, or JSON-RPC error returned in the response envelope.

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error