getnetworkinfo
Authorizations
ApiKeyAuthApiKeyAuthapi-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
JSON-RPC payload for getnetworkinfo.
JSON-RPC request envelope sent to NOWNodes.
jsonrpcstringrequiredJSON-RPC protocol version.
idstring | integerrequiredClient-provided request ID echoed in the response.
methodstringgetnetworkinforequiredJSON-RPC method name.
paramsArray<any>requiredNo positional parameters. Send an empty params array.
Response
Network information retrieved successfully, or JSON-RPC error returned in the response envelope.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error