{"uid":"cap_L3pdrAtYS0gdlCCaC1the","slug":"bitcoin-network-hashrate-difficulty-41dc511b","name":"Bitcoin Network Hashrate & Difficulty","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/btc-hashrate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"difficulty":"1.4057768005192E14","hashrate_gh":"1034246848135","latest_block":{"hash":"00000000000000000001e52519701555d66567a18da5d8fcde7d2895cf56737e","n_tx":2345,"size":1670000,"height":973494}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XYIQ2Fnfe5Fjf4XO0fwud","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Bitcoin network hashrate (in GH/s), mining difficulty, and latest block metadata via a pay-per-call x402 API","exampleAgentPrompt":"What is the current Bitcoin network hashrate and mining difficulty, and what does the latest block look like?","exampleUseCases":[{"title":"Bitcoin network health dashboard","prompt":"Pull the latest Bitcoin hashrate, mining difficulty, and most recent block details so I can update my crypto dashboard."},{"title":"Mining profitability research","prompt":"What's the current Bitcoin network hashrate and difficulty? I'm trying to figure out if it's still profitable to mine BTC right now."},{"title":"Blockchain analyst block check","prompt":"Can you grab the latest Bitcoin block height, its hash, how many transactions it contains, and the current network hashrate?"}],"resultDescription":"A JSON object containing: the current network difficulty (floating-point scientific notation), the current hashrate in gigahashes per second (GH/s), and metadata about the latest block including its hash, height, transaction count, and size in bytes.","failureModes":["Payment failure (402): USDC payment on Base not included or insufficient — endpoint returns HTTP 402","Network or upstream data unavailability: the upstream Bitcoin data source may be temporarily unreachable, returning a 5xx error","Stale data: the response may lag real-time by a few minutes depending on block confirmation timing"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-account, no-API-key lookup of Bitcoin network statistics (hashrate, difficulty, latest block) and are operating in an x402-compatible payment environment using USDC on Base. Prefer this over full blockchain node APIs when you don't need full transaction history or mempool data, just current network state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:54.904Z","isFirstParty":false,"canonicalSlug":"bitcoin-network-hashrate-difficulty-41dc511b"}