Bitcoin Fees and Mining Pools API

Bitcoin mining pools ranked by blocks found over a period (24h to 1y) with each pool's share, empty blocks and match rate, plus the network's current recommended fee rates in sat/vB.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 16 fieldsv1.0

Data from mempool.space/api/v1/mining/pools/1w

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Dataoptional
What to return: mining_pools (default, pools with the current fee rates) or fees (one row with the current recommended fees).
Periodoptional
Period for mining pools: 24h, 3d, 1w, 1m, 3m, 6m or 1y.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/bitcoin-fees-mining-pools/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/bitcoin-fees-mining-pools/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"data":"mining_pools"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

datatext
What to return: mining_pools (default, pools with the current fee rates) or fees (one row with the current recommended fees).
default: mining_poolsexample: mining_poolsone of: mining_pools, fees
periodtext
Period for mining pools: 24h, 3d, 1w, 1m, 3m, 6m or 1y.
default: 1wexample: 1wone of: 24h, 3d, 1w, 1m, 3m, 6m, 1y

What's in each record

16 fields: 15 here, 1 technical one under Technical details.

Basics

  • Record kind

    mining_pool or fee_estimate.

    Example mining_pool

  • Period

    Period the pool figures cover.

    Example 1w

  • Pool name

    Name of the mining pool.

    Example AntPool

  • Rank

    Rank of the pool by blocks found in the period.

    Example 1

  • Block count

    Blocks the pool found in the period.

    Example 211

  • Share (%)

    Pool's share of all blocks in the period, in percent.

    Example 22.3%

  • Empty blocks

    Blocks the pool mined with no transactions.

    Example 1

  • Average match rate (%)

    Average match between the pool's blocks and the expected block template, in percent.

    Example 98.86%

  • Total blocks

    All blocks found in the period.

    Example 946

Prices

  • Fastest fee

    Recommended fee for the next block, in sat/vB.

    Example 1

  • Half hour fee

    Recommended fee for about 30 minutes, in sat/vB.

    Example 1

  • Hour fee

    Recommended fee for about an hour, in sat/vB.

    Example 1

  • Economy fee

    Recommended low-priority fee, in sat/vB.

    Example 1

  • Minimum fee

    Minimum relay fee, in sat/vB.

    Example 1

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idRow id: period and pool slug, or fees.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
record_kindtextRecord kind3 of 3
periodtextPeriod3 of 3
pool_nametextPool name3 of 3
pool_websitelinkPool website3 of 3
ranknumberRank3 of 3
block_countnumberBlock count3 of 3
share_pctnumberShare (%)3 of 3
empty_blocksnumberEmpty blocks3 of 3
avg_match_rate_pctnumberAverage match rate (%)3 of 3
total_blocksnumberTotal blocks3 of 3
fastest_feenumberFastest fee3 of 3
half_hour_feenumberHalf hour fee3 of 3
hour_feenumberHour fee3 of 3
economy_feenumberEconomy fee3 of 3
minimum_feenumberMinimum fee3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordRecord kindPeriodPool nameRankBlock countShare (%)Empty blocksAverage match rate (%)Total blocksFastest feeHalf hour feeHour feeEconomy feeMinimum feePool website
1mining_pool1wAntPool121122.3%198.86%94611111antpool.com
2mining_pool1wFoundry USA221122.3%099.98%94611111foundrydigital.com
3mining_pool1wF2Pool316717.65%099.98%94611111f2pool.com

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Fee rates are a live snapshot taken at run time and are repeated on every pool row of the same run; run it on a schedule to build a history.
  • A pool list holds at most about 15 to 25 pools, the ones that found blocks in the period; the rest are grouped as unknown by the source.
  • Pool shares are computed from block counts over the chosen period, so they change as new blocks arrive.
  • Data comes from the public mempool.space instance, which is free and keyless; heavy use is expected to self-host. Credit mempool.space when you publish it.

Version history

A run uses the live version unless the request names another one with version.