Bitview Mining API

Mining statistics including pool distribution, hashrate, difficulty adjustments, block rewards, and fee rates across configurable time periods. *[Mempool.space](https://mempool.space/docs/api/rest) compatible.*

GitHub OpenAPI

Operations 18

GET /api/v1/mining/pools List all mining pools #
GET /api/v1/mining/pools/{time_period} Mining pool statistics #
GET /api/v1/mining/pool/{slug} Mining pool details #
GET /api/v1/mining/hashrate/pools All pools hashrate (all time) #
GET /api/v1/mining/hashrate/pools/{time_period} All pools hashrate #
GET /api/v1/mining/pool/{slug}/hashrate Mining pool hashrate #
GET /api/v1/mining/pool/{slug}/blocks Mining pool blocks #
GET /api/v1/mining/pool/{slug}/blocks/{height} Mining pool blocks before height #
GET /api/v1/mining/hashrate Network hashrate (all time) #
GET /api/v1/mining/hashrate/{time_period} Network hashrate #
GET /api/v1/mining/difficulty-adjustments Difficulty adjustments (all time) #
GET /api/v1/mining/difficulty-adjustments/{time_period} Difficulty adjustments #
GET /api/v1/mining/reward-stats/{block_count} Mining reward statistics #
GET /api/v1/mining/blocks/fees/{time_period} Block fees #
GET /api/v1/mining/blocks/rewards/{time_period} Block rewards #
GET /api/v1/mining/blocks/fee-rates/{time_period} Block fee rates #
GET /api/v1/mining/blocks/fee-rates/{time_period}/precise Block fee rates (precise) #
GET /api/v1/mining/blocks/sizes-weights/{time_period} Block sizes and weights #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitview-space:bitview-space-mining-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitview-space-mining-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitview Mining API
  description: 'Bitview is a free, open-source Bitcoin data server: on-chain metrics, blocks, mempool and mining data, with charts and an API, at bitview.space or beside your own Bitcoin Core node.


    API for querying Bitcoin blockchain data, mempool state, and on-chain series.


    ### Features


    - **Mempool.space compatible**: Blocks, transactions, addresses, mining, fees, and mempool endpoints match the mempool.space REST API

    - **Series**: Thousands of on-chain time-series across multiple indexes (date, block height, etc.)

    - **Multiple formats**: JSON and CSV output

    - **For LLMs**: `/llms.txt` for discovery, `/api.json` a compact custom summary of this spec for reading (not OpenAPI); build tools from `/openapi.json`

    - **MCP**: Stateless, read-only access to these operations at mcp.bitview.space, with no authentication required


    ### Quick start


    ```bash

    curl -s https://bitview.space/api/blocks/tip/height

    curl -s https://bitview.space/api/v1/fees/recommended

    curl -s https://bitview.space/api/mempool

    curl -s https://bitview.space/api/series/search?q=price

    ```


    ### Errors


    Errors use `application/problem+json`:


    ```json

    {

    "error": {

    "type": "not_found",

    "code": "series_not_found",

    "message": "''foo'' not found, did you mean ''bar''? What became of it: /changes/?id=foo",

    "doc_url": "/api"

    }

    }

    ```


    - **`type`**: Error category, following the status — `invalid_request` (4xx other than 404), `not_found` (404), `unavailable` (503), `timeout` (504), or `internal` (other 5xx); see the `ErrorType` schema

    - **`code`**: Machine-readable error code (e.g. `invalid_address`, `series_not_found`, `weight_exceeded`); see the `ErrorCode` schema


    ### Client Libraries


    - JavaScript

    - Python

    - Rust

    - MCP


    ### Links


    - GitHub

    - Bitview Studio - Charts of any series, built on this API'
  termsOfService: https://bitview.space/terms/
  contact:
    name: Bitview
    url: https://bitview.space/support/
    email: support@bitview.space
  license:
    name: MIT
    url: https://github.com/bitcoinresearchkit/mono/blob/main/LICENSE
  version: v0.13.0
  x-privacy-policy: https://bitview.space/privacy/
tags:


# --- truncated at 32 KB (71 KB total) ---
# Full source: https://artifacts.apis.io/bitview-space/openapi/bitview-space-mining-api-openapi.yml