# getClusterNodes

## getClusterNodes RPC Method

> Returns information about all the nodes participating in the cluster. This includes details about each node's network addresses, version, and configuration parameters.<br>

````json
{"openapi":"3.0.3","info":{"title":"Solana RPC API - getClusterNodes Method","version":"1.0.0"},"tags":[{"name":"Cluster Data","description":"Methods related to cluster information retrieval. These methods provide\ndetails about the nodes participating in the Solana cluster.\n"}],"servers":[{"url":"https://public.rpc.solanavibestation.com"},{"url":"https://basic.rpc.solanavibestation.com"},{"url":"https://ultra.rpc.solanavibestation.com"},{"url":"https://elite.rpc.solanavibestation.com"},{"url":"https://epic.rpc.solanavibestation.com"},{"url":"https://basic.swqos.solanavibestation.com"},{"url":"https://ultra.swqos.solanavibestation.com"},{"url":"https://elite.swqos.solanavibestation.com"}],"security":[{},{"AuthHeader":[]},{"URLParameter":[]}],"components":{"securitySchemes":{"AuthHeader":{"type":"apiKey","in":"header","name":"Authorization","description":"Authorization header for API key authentication.\n\n**Example:**\n```\nAuthorization: your-api-key-here\n```\n"},"URLParameter":{"type":"apiKey","in":"query","name":"api_key","description":"API key passed as a URL parameter for authentication.\n\n**Example:**\n```\nhttps://public.rpc.solanavibestation.com/?api_key=your-api-key-here\n```\n"}},"schemas":{"GetClusterNodesRequest":{"type":"object","required":["jsonrpc","id","method"],"properties":{"jsonrpc":{"type":"string","description":"JSON-RPC protocol version","enum":["2.0"]},"id":{"oneOf":[{"type":"string"},{"type":"number"}],"description":"Request identifier that will be returned in the response"},"method":{"type":"string","description":"The RPC method name","enum":["getClusterNodes"]}}},"GetClusterNodesResponse":{"type":"object","description":"RPC response containing cluster nodes information","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","description":"JSON-RPC protocol version","enum":["2.0"]},"id":{"oneOf":[{"type":"string"},{"type":"number"}],"description":"Request identifier matching the original request"},"result":{"type":"array","description":"Array of cluster node information objects. Present when the request is successful.\n","items":{"$ref":"#/components/schemas/ClusterNode"}},"error":{"$ref":"#/components/schemas/RpcError"}}},"ClusterNode":{"type":"object","description":"Information about a single cluster node","required":["pubkey"],"properties":{"pubkey":{"type":"string","description":"Node public key, as base-58 encoded string"},"gossip":{"type":"string","nullable":true,"description":"Gossip network address for the node"},"tpu":{"type":"string","nullable":true,"description":"TPU network address for the node"},"rpc":{"type":"string","nullable":true,"description":"JSON RPC network address for the node, or null if the JSON RPC service is not enabled"},"version":{"type":"string","nullable":true,"description":"The software version of the node, or null if the version information is not available"},"featureSet":{"type":"integer","format":"uint32","nullable":true,"description":"The unique identifier of the node's feature set"},"shredVersion":{"type":"integer","format":"uint16","nullable":true,"description":"The shred version the node has been configured to use"}}},"RpcError":{"type":"object","description":"Standard JSON-RPC error object","required":["code","message"],"properties":{"code":{"type":"integer","description":"Numeric error code following JSON-RPC 2.0 specification:\n- `-32700`: Parse error\n- `-32600`: Invalid request  \n- `-32601`: Method not found\n- `-32602`: Invalid params\n- `-32603`: Internal error\n- `-32005`: Too Many Requests\n- `-32003`: Unauthorized\n"},"message":{"type":"string","description":"Human-readable error message"},"data":{"type":"object","description":"Additional structured error information (optional)","additionalProperties":true}}}}},"paths":{"/":{"post":{"summary":"getClusterNodes RPC Method","description":"Returns information about all the nodes participating in the cluster. This includes details about each node's network addresses, version, and configuration parameters.\n","operationId":"getClusterNodes","tags":["Cluster Data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetClusterNodesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetClusterNodesResponse"}}}},"401":{"description":"Unauthorized","content":{"text/plain":{"schema":{"type":"string"}}}},"403":{"description":"Forbidden","content":{"text/plain":{"schema":{"type":"string"}}}},"429":{"description":"Too Many Requests","content":{"text/plain":{"schema":{"type":"string"}}}},"500":{"description":"Internal Server Error","content":{"text/plain":{"schema":{"type":"string"}}}}}}}}}
````
