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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Pool website
The pool's own website.
Example antpool.com
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
record_kind | text | Record kind | 3 of 3 |
period | text | Period | 3 of 3 |
pool_name | text | Pool name | 3 of 3 |
pool_website | link | Pool website | 3 of 3 |
rank | number | Rank | 3 of 3 |
block_count | number | Block count | 3 of 3 |
share_pct | number | Share (%) | 3 of 3 |
empty_blocks | number | Empty blocks | 3 of 3 |
avg_match_rate_pct | number | Average match rate (%) | 3 of 3 |
total_blocks | number | Total blocks | 3 of 3 |
fastest_fee | number | Fastest fee | 3 of 3 |
half_hour_fee | number | Half hour fee | 3 of 3 |
hour_fee | number | Hour fee | 3 of 3 |
economy_fee | number | Economy fee | 3 of 3 |
minimum_fee | number | Minimum fee | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Record kind | Period | Pool name | Rank | Block count | Share (%) | Empty blocks | Average match rate (%) | Total blocks | Fastest fee | Half hour fee | Hour fee | Economy fee | Minimum fee | Pool website |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | mining_pool | 1w | AntPool | 1 | 211 | 22.3% | 1 | 98.86% | 946 | 1 | 1 | 1 | 1 | 1 | antpool.com |
| 2 | mining_pool | 1w | Foundry USA | 2 | 211 | 22.3% | 0 | 99.98% | 946 | 1 | 1 | 1 | 1 | 1 | foundrydigital.com |
| 3 | mining_pool | 1w | F2Pool | 3 | 167 | 17.65% | 0 | 99.98% | 946 | 1 | 1 | 1 | 1 | 1 | f2pool.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.