getpeerinfo
Bitcoin node API
getpeerinfo | Bitcoin
The getpeerinfo method provides detailed information about all peers currently connected to the node. Chainstack Bitcoin reference.
POST
getpeerinfo
TheDocumentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
getpeerinfo method provides detailed information about all peers currently connected to the node. This includes data such as their IP address, connection type, version, and more.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
- None
Response
result— an array of objects, each representing a connected peer and containing detailed information about that peer.error— an object containing an error message if an error occurred, otherwisenull.id— an integer representing the ID of the request.
Use case
Thegetpeerinfo method is useful for network diagnostics and monitoring, allowing node operators to view detailed information about all peers connected to their node. This can help in assessing the health and diversity of the network connections.Last modified on May 18, 2026