Skip to Content
ServicesSolana REST API (Beta)getHealth

getHealth

Return the current Solana cluster health response.

Available under Solana REST API (Beta). Use the chain-family pages for route switching and the method pages for exact request and response shapes.

Stage: Beta

Access patterns

PatternValueNotes
Bearer header (Recommended)POST /rpc/solanaRecommended default. Keep the API key in `Authorization: Bearer <api_key>`.
URL compatibilityPOST /v1/solana/<api_key>Use only when the client can store one full RPC URL but cannot send custom headers.

Examples

Bearer auth example
curl -X POST "https://gw-aql.tomo.services/rpc/solana" \ -H "Authorization: Bearer <api_key>" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "getHealth", "params": []}'
Try send

Try getHealth

Send one direct browser request to the current hosted gateway base URL so the real network request is visible in devtools. The API key is only stored locally when you provide one.

Request fields

JSON-RPC request body

FieldTypeRequiredNotes
jsonrpcstringRequiredJSON-RPC version. Use `2.0`.
idstring | numberRequiredCaller request id.
methodstringRequiredAllowlisted chain method.
paramsarrayRequiredMethod arguments.

Response fields

JSON-RPC response body

FieldTypeNotes
jsonrpcstringJSON-RPC version.
idstring | numberEchoed request id.
resultunknownSuccessful method result.
errorobjectStandard JSON-RPC error object when the request fails.