> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.chainstack.com/feedback

```json
{
  "path": "/reference/bitcoin-getnetworkinfo",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# getnetworkinfo | Bitcoin

The `getnetworkinfo` method provides comprehensive information about the node's network connections, including the version, protocol, connected peers, and network capabilities.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* None

## Response

* `result` — an object containing detailed information about the node's network connections, such as the network version, protocol version, number of connections, and available network services.
* `error` — an object containing an error message if an error occurred, otherwise `null`.
* `id` — an integer representing the ID of the request.

## Use case

The `getnetworkinfo` method is essential for diagnosing network issues, understanding the node's connectivity within the network, and assessing the node's capabilities. It's particularly useful for node operators and developers looking to monitor network health and performance.


## OpenAPI

````yaml /openapi/bitcoin_node_api/getnetworkinfo.json POST /788f110831fe13808302bd79796d55e8
openapi: 3.0.0
info:
  title: getnetworkinfo example
  version: 1.0.0
  description: >-
    This is an API example for getnetworkinfo, a method to get detailed
    information about the node's network  connections.
servers:
  - url: https://nd-202-842-353.p2pify.com
security: []
paths:
  /788f110831fe13808302bd79796d55e8:
    post:
      tags:
        - Blockchain Operations
      summary: getnetworkinfo
      operationId: getNetworkInfo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '1.0'
                method:
                  type: string
                  default: getnetworkinfo
                params: {}
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: Detailed information about the node's network connections.
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    description: >-
                      Contains detailed information about the network
                      connections.
                  error:
                    type: object
                  id:
                    type: integer

````