{"uid":"cap_LZNQ-IByxGfgcwiYjA14V","slug":"bitcoin-mining-hashprice-1b7e4244","name":"Bitcoin Mining Hashprice","description":"Bitcoin mining hashprice: expected mining reward per petahash and per terahash per second per day, in BTC and USD, fused with the network hashrate, current difficulty, the next difficulty-retarget forecast and the block-subsidy and average-fee split. Informational, not advice.","url":"https://payai.agentstools.dev/mining/hashprice","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","required":[],"properties":{"fiat":{"type":"string","description":"Fiat currency for the USD-equivalent figures (three-letter code such as USD or EUR); defaults to USD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TJRMEp4yA9yPE1NnA1xw5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the expected Bitcoin mining reward per petahash and terahash per second per day in BTC and USD, combined with network hashrate, current difficulty, next difficulty-retarget forecast, and block-subsidy vs. fee revenue split.","exampleAgentPrompt":"What's the current Bitcoin mining hashprice — give me expected daily earnings per petahash in both BTC and USD, plus the current network difficulty and when the next retarget is expected?","exampleUseCases":[{"title":"Daily mining profitability check","prompt":"What's today's Bitcoin hashprice in USD per terahash per day, and what fraction of the block reward is coming from fees versus the subsidy right now?"},{"title":"Mining operation planning in Euros","prompt":"I'm planning my mining operation budget in EUR — can you fetch the current hashprice per petahash per day in EUR along with the current network hashrate and next difficulty retarget forecast?"},{"title":"Difficulty retarget monitoring","prompt":"Give me the latest Bitcoin network difficulty, the current hashrate, and when the next difficulty adjustment is expected, along with today's hashprice so I can decide whether to expand my rigs."}],"resultDescription":"A JSON object containing: hashprice per PH/s and per TH/s per day denominated in both BTC and the requested fiat currency (default USD), current network hashrate, current mining difficulty, estimated next difficulty retarget (block height and percentage change), and the breakdown of block reward between block subsidy and average transaction fees.","failureModes":["Unsupported fiat currency code returns an error or defaults to USD","Network or upstream data provider outage may cause stale or unavailable data","Missing x402 payment header or insufficient USDC balance results in 402 Payment Required response","Malformed query parameter causes 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, fused snapshot of Bitcoin mining economics in a single call — specifically when you need hashprice (revenue per unit of hashpower), difficulty data, retarget forecasts, and subsidy/fee split together rather than fetching each metric from separate sources. Ideal for mining dashboards, profitability calculators, or automated mining strategy agents that need real-time data without assembling multiple APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:09:22.090Z","isFirstParty":false}