# mempool.space API

Category: [Crypto](https://free-web-services.com/web-services/unit-convertors/crypto/)  
Page: https://free-web-services.com/web-services/unit-convertors/crypto/mempool-space-api.html  
Documentation: https://mempool.space/docs/api/rest

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 key: Not needed
- 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

Example request:

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

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

