{"uid":"cap_v6PHovomlVq5jfjm8Rgl1","slug":"chainquery-bitcoin-getconnectioncount-rpc-775be5fb","name":"chainquery Bitcoin getconnectioncount RPC","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Number of peer connections from chainquery's independent full node. Bitcoin Core getconnectioncount.","url":"https://x402.chainquery.com/v1/rpc/getconnectioncount","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"params":{"type":"string","description":"optional: JSON-encoded array of positional RPC params"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"description":"getconnectioncount result"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pI9duGyAOccelYUmGjzrm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the number of active peer connections to chainquery's independent Bitcoin full node via pay-per-call x402 protocol","exampleAgentPrompt":"How many peer connections does the chainquery Bitcoin full node currently have? Just call their pay-per-call getconnectioncount RPC endpoint.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a `result` field containing an integer representing the number of active peer connections to the chainquery Bitcoin Core full node at the time of the query.","failureModes":["Payment failure or insufficient USDC balance returns HTTP 402 Payment Required","Node temporarily unavailable returns HTTP 503 or connection error","Invalid params array format returns RPC error response","Rate limiting or capacity issues may return HTTP 429"],"whenToPreferThis":"Use this endpoint when you need a real-time, trustless peer connection count from an independent Bitcoin full node without setting up API keys — ideal for monitoring Bitcoin network health, checking node connectivity, or building dashboards that need live Bitcoin node stats and are willing to pay micro-amounts per call via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:52:37.379Z","isFirstParty":false}