# Bitcoin Mining Hashprice API

> Bitcoin Mining Hashprice API is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.013/call, status unknown (last checked 2026-11-07).

Returns current bitcoin mining hashprice data, optionally expressed in a specified fiat currency equivalent

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/mining/hashprice?utm_source=zero.xyz
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-07
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-mining-hashprice-api-2a17f64f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ciPr5x21TExR6KL6UG1-p

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bitcoin-mining-hashprice-api-2a17f64f
```

Example prompt: What is the current bitcoin mining hashprice right now, and can you show me the USD equivalent figures?

## When to prefer this

Choose this endpoint when you need real-time bitcoin mining hashprice data denominated in a specific fiat currency, particularly within an x402 micropayment-enabled agent workflow. It is purpose-built for mining economics queries rather than general crypto price lookups.

## Known failure modes

- Invalid fiat currency code returns an error or falls back to USD
- Payment failure via x402 micropayment protocol blocks the response
- Upstream mining data unavailable causes empty or null result fields
- Malformed query parameter may return a 400 error

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON response containing current bitcoin hashprice data — the revenue a unit of hashrate (e.g. TH/s per day) earns — optionally expressed in a requested fiat currency equivalent alongside a success flag.

## Request schema (JSON Schema)

```json
{
 "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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "fiat": {
       "type": "string",
       "default": null,
       "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-mining-hashprice-api-2a17f64f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
