{
  "x402Version": 2,
  "id": 29243,
  "slug": "29243",
  "resource": "https://api.agentstools.dev/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.",
  "type": "http",
  "serviceName": "mining-hashprice",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "fiat": "USD"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "difficulty": 133869853540305.4,
            "difficulty_adjustment": {
              "difficulty_change_percent": -3.79,
              "remaining_blocks": 445
            },
            "hashprice": {
              "hashprice_btc_per_ph_day": 0.00049,
              "hashprice_usd_per_th_day": 0.033
            },
            "network_hashrate_ehs": 907.29,
            "price_usd": 68000,
            "sources": {
              "partial": false
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "fiat": {
                    "description": "Fiat currency for the USD-equivalent figures (three-letter code such as USD or EUR); defaults to USD",
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bitcoin",
    "btc",
    "mining",
    "hashprice",
    "difficulty",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-10-08T06:08:53.368Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:08:53.137Z"
  },
  "metadata": {
    "serviceName": "mining-hashprice",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "fiat": "USD"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "difficulty": 133869853540305.4,
              "difficulty_adjustment": {
                "difficulty_change_percent": -3.79,
                "remaining_blocks": 445
              },
              "hashprice": {
                "hashprice_btc_per_ph_day": 0.00049,
                "hashprice_usd_per_th_day": 0.033
              },
              "network_hashrate_ehs": 907.29,
              "price_usd": 68000,
              "sources": {
                "partial": false
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "fiat": {
                      "description": "Fiat currency for the USD-equivalent figures (three-letter code such as USD or EUR); defaults to USD",
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "difficulty": 133869853540305.4,
    "difficulty_adjustment": {
      "difficulty_change_percent": -3.79,
      "remaining_blocks": 445
    },
    "hashprice": {
      "hashprice_btc_per_ph_day": 0.00049,
      "hashprice_usd_per_th_day": 0.033
    },
    "network_hashrate_ehs": 907.29,
    "price_usd": 68000,
    "sources": {
      "partial": false
    }
  }
}