{"uid":"cap_KWxZ5UnLVdH0FmEJYwWP-","slug":"chainquery-bitcoin-getdifficulty-rpc-6a404c0d","name":"chainquery Bitcoin getdifficulty RPC","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Current proof-of-work difficulty from chainquery's independent full node. Bitcoin Core getdifficulty.","url":"https://x402.chainquery.com/v1/rpc/getdifficulty","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":"getdifficulty result"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"result":124932866006548.2}},"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_zkPTeabpik8kl1CMyVRZG","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 current proof-of-work difficulty from Bitcoin Core via a pay-per-call x402 endpoint, no API key required.","exampleAgentPrompt":"What's the current Bitcoin proof-of-work mining difficulty right now, according to an independent full node?","exampleUseCases":null,"resultDescription":"A numeric floating-point value representing the current Bitcoin proof-of-work difficulty as reported by chainquery's independent Bitcoin Core full node. The result is returned in the standard Bitcoin Core RPC response envelope with a 'result' field.","failureModes":["Payment not included or insufficient — returns HTTP 402 requiring x402 payment","Invalid or unsupported RPC method — returns error response","Node temporarily unavailable — returns HTTP 5xx","Malformed params query parameter — JSON parse error returned"],"whenToPreferThis":"Use this endpoint when you need the current Bitcoin network difficulty from an independent full node without setting up your own node or obtaining an API key. Ideal for agents that need trustless, third-party-verified difficulty data on a pay-per-use basis without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:52:05.220Z","isFirstParty":false}