Crypto

mempool.space API

by mempool.space

Crypto Added on November 9th, 2026
Visit mempool.space →

What it does

The mempool.space API gives Bitcoin data: recommended fees, blocks, transactions, addresses, mining and the Lightning network, for example to suggest a fee before sending a payment. Requests are GET calls with JSON answers. Free, no key needed, with rate limits that answer HTTP 429 when exceeded. Repeated violations can lead to a ban.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed, with rate limits that answer HTTP 429 when exceeded.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
mempool.space

More information: https://mempool.space/docs/api/rest

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

Example request

curl

curl 'https://mempool.space/api/v1/fees/recommended'

JavaScript

const response = await fetch("https://mempool.space/api/v1/fees/recommended");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://mempool.space/api/v1/fees/recommended",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried mempool.space API.