monerometrics-net Network API
Hashrate, block time, mempool, emission and fees.
Hashrate, block time, mempool, emission and fees.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/monerometrics-net:monerometrics-net-network-api"
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.
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: 3.2.0
info:
title: monerometrics Network API
description: 'Free, read-only JSON API over a reorg-aware Monero index: chain reorganizations, orphan blocks, mining-pool shares with the evidence behind each attribution, network series and the Haveno market. No key, no account.
## Quick start
```bash
curl -s https://api.monerometrics.net/status
curl -s "https://api.monerometrics.net/pools/distribution?window=24h"
```
Every endpoint below comes with a command that runs as is.
## Rate limit
300 requests per minute per IP address, over a sliding window. Every response says where you stand:
| Header | Meaning |
|---|---|
| `RateLimit-Limit` | requests allowed per minute |
| `RateLimit-Remaining` | requests left in the current window |
| `RateLimit-Reset` | seconds until a slot frees up |
Past the limit the API answers `429` with a `Retry-After` header, in seconds.
## Caching
Aggregates are recomputed once per period, so polling faster returns the same bytes. Responses carry `Cache-Control` and an `ETag`: send it back in `If-None-Match` and an unchanged answer costs an empty `304`.
## Errors
Errors are JSON with a `detail` field. `400` for a range the endpoint refuses, `404` for a block or hash that is not known, `422` for a malformed parameter, `429` past the rate limit.
## Reading the data
- A block''s pool is labelled by evidence: `viewkey_proof`, `pool_api`, `coinbase_heuristic` or none. A claimed attribution is not a proven one.
- Full indexing coverage starts at height 3490000. Below it only the canonical chain is known and pool attribution is mostly absent.
- Reorganizations and orphans only cover what this node observed live.
## Other interfaces
- Changelog
- OpenAPI schema, ReDoc
- Model Context Protocol server: `https://api.monerometrics.net/mcp`
- llms.txt
- Source: github.com/nowi333/monerometrics'
contact:
name: monerometrics
url: https://monerometrics.net/
email: contact@monerometrics.net
license:
name: MIT
url: https://github.com/nowi333/monerometrics/blob/main/LICENSE
version: 0.31.8
servers:
- url: https://api.monerometrics.net
tags:
- name: Network
description: Hashrate, block time, mempool, emission and fees.
paths:
/network/fees:
get:
summary: Fee tiers
description: 'Current Monero fee tiers, priced for a reference ~1500-byte transaction.
```bash
curl -s "https://api.monerometrics.net/network/fees"
```'
operationId: network_fees_network_fees_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeeEstimateResponse'
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Network
x-codeSamples:
- lang: Shell
label: curl
source: curl -s "https://api.monerometrics.net/network/fees"
/network/fees/history:
get:
summary: Fee history
description: 'Normal-tier fee for the reference transaction, in XMR, over time.
```bash
curl -s "https://api.monerometrics.net/network/fees/history?window=30d"
```'
operationId: network_fees_history_network_fees_history_get
parameters:
- name: window
in: query
required: false
schema:
type: string
pattern: ^(24h|7d|30d|90d|1y)$
default: 30d
title: Window
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeeHistoryResponse'
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Network
x-codeSamples:
- lang: Shell
label: curl
source: curl -s "https://api.monerometrics.net/network/fees/history?window=30d"
/network/info:
get:
summary: Current network state
operationId: network_info_network_info_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/NetworkInfoResponse'
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Network
description: 'Sync status, mempool size, difficulty and estimated hashrate, read live from the node.
```bash
curl -s "https://api.monerometrics.net/network/info"
```'
x-codeSamples:
- lang: Shell
label: curl
source: curl -s "https://api.monerometrics.net/network/info"
/network/hashrate:
get:
summary: Hashrate history
operationId: network_hashrate_network_hashrate_get
parameters:
- name: window
in: query
required: false
schema:
type: string
pattern: ^(1h|24h|7d|30d|90d|1y|5y)$
default: 30d
title: Window
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/HashrateResponse'
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Network
description: 'Network hashrate over the window, cut into about 300 points.
```bash
curl -s "https://api.monerometrics.net/network/hashrate?window=7d"
```'
x-codeSamples:
- lang: Shell
label: curl
source: curl -s "https://api.monerometrics.net/network/hashrate?window=7d"
/network/blocktime:
get:
summary: Block time history
operationId: network_blocktime_network_blocktime_get
parameters:
- name: window
in: query
required: false
schema:
type: string
pattern: ^(1h|24h|7d|30d|90d|1y|5y)$
default: 24h
title: Window
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BlocktimeResponse'
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Network
description: 'Time between consecutive canonical blocks over the window. The target is 120 seconds.
```bash
curl -s "https://api.monerometrics.net/network/blocktime?window=24h"
```'
x-codeSamples:
- lang: Shell
label: curl
source: curl -s "https://api.monerometrics.net/network/blocktime?window=24h"
/network/mempool:
get:
summary: Mempool history
operationId: network_mempool_network_mempool_get
parameters:
- name: window
in: query
required: false
schema:
type: string
pattern: ^(1h|24h|7d|30d|90d|1y|5y)$
default: 24h
title: Window
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MempoolResponse'
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Network
description: 'Mempool size over time. Buckets follow the history actually recorded, so a young series keeps its density.
```bash
curl -s "https://api.monerometrics.net/network/mempool?window=24h"
```'
x-codeSamples:
- lang: Shell
label: curl
source: curl -s "https://api.monerometrics.net/network/mempool?window=24h"
/network/emission:
get:
summary: Emission history
operationId: network_emission_network_emission_get
parameters:
- name: window
in: query
required: false
schema:
type: string
pattern: ^(1h|24h|7d|30d|90d|1y|5y)$
default: 30d
title: Window
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EmissionResponse'
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Network
description: 'Average block reward over time, showing the tail emission of about 0.6 XMR per block.
```bash
curl -s "https://api.monerometrics.net/network/emission?window=30d"
```'
x-codeSamples:
- lang: Shell
label: curl
source: curl -s "https://api.monerometrics.net/network/emission?window=30d"
components:
schemas:
SeriesStats:
properties:
samples:
type: integer
title: Samples
span_days:
anyOf:
- type: number
- type: 'null'
title: Span Days
current:
anyOf:
- type: number
- type: 'null'
title: Current
percentile:
anyOf:
- type: integer
- type: 'null'
title: Percentile
median:
anyOf:
- type: number
- type: 'null'
title: Median
z_robust:
anyOf:
- type: number
- type: 'null'
title: Z Robust
minimum:
anyOf:
- type: number
- type: 'null'
title: Minimum
maximum:
anyOf:
- type: number
- type: 'null'
title: Maximum
change_pct:
anyOf:
- type: number
- type: 'null'
title: Change Pct
type: object
required:
- samples
title: SeriesStats
description: 'Where the latest value sits inside the window being displayed.
A number on its own cannot be read: 161 XMR of resting liquidity is neither
good nor bad until you know that four fifths of the year sat higher. Every
field here is computed over the same window the caller asked for, so a wider
window means a longer baseline and never a hidden one.
`z_robust` uses the median absolute deviation rather than the standard
deviation. These series carry occasional spikes an order of magnitude above
the median, and a classical standard deviation would be inflated by them to
the point of calling everything normal.'
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
MempoolPoint:
properties:
bucket:
type: string
format: date-time
title: Bucket
tx_count:
type: integer
title: Tx Count
type: object
required:
- bucket
- tx_count
title: MempoolPoint
BlocktimeResponse:
properties:
window:
type: string
title: Window
avg_delta:
type: number
title: Avg Delta
median_delta:
type: integer
title: Median Delta
bucket_size:
type: string
title: Bucket Size
default: block
points:
items:
$ref: '#/components/schemas/BlocktimePoint'
type: array
title: Points
type: object
required:
- window
- avg_delta
- median_delta
- points
title: BlocktimeResponse
FeePoint:
properties:
timestamp_unix:
type: integer
title: Timestamp Unix
normal_xmr:
type: number
title: Normal Xmr
type: object
required:
- timestamp_unix
- normal_xmr
title: FeePoint
FeeTier:
properties:
tier:
type: string
title: Tier
per_byte_pico:
type: integer
title: Per Byte Pico
typical_xmr:
type: number
title: Typical Xmr
typical_usd:
anyOf:
- type: number
- type: 'null'
title: Typical Usd
blocks_target:
type: integer
title: Blocks Target
type: object
required:
- tier
- per_byte_pico
- typical_xmr
- blocks_target
title: FeeTier
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
HashrateResponse:
properties:
window:
type: string
title: Window
bucket_size:
type: string
title: Bucket Size
points:
items:
$ref: '#/components/schemas/HashratePoint'
type: array
title: Points
stats:
anyOf:
- $ref: '#/components/schemas/SeriesStats'
- type: 'null'
type: object
required:
- window
- bucket_size
- points
title: HashrateResponse
FeeEstimateResponse:
properties:
reference_bytes:
type: integer
title: Reference Bytes
spot_usd:
anyOf:
- type: number
- type: 'null'
title: Spot Usd
updated_unix:
anyOf:
- type: integer
- type: 'null'
title: Updated Unix
tiers:
items:
$ref: '#/components/schemas/FeeTier'
type: array
title: Tiers
default: []
type: object
required:
- reference_bytes
title: FeeEstimateResponse
description: 'Current Monero fee tiers, priced for a reference transaction.
Monero fees are per-byte, not per-transaction. The four tiers are the node''s
own priority levels. typical_* is the fee for a reference ~1500-byte transaction
(roughly 2 inputs, 2 outputs); real fees scale with transaction size.'
FeeHistoryResponse:
properties:
window:
type: string
title: Window
reference_bytes:
type: integer
title: Reference Bytes
points:
items:
$ref: '#/components/schemas/FeePoint'
type: array
title: Points
default: []
stats:
anyOf:
- $ref: '#/components/schemas/SeriesStats'
- type: 'null'
samples:
type: integer
title: Samples
default: 0
type: object
required:
- window
- reference_bytes
title: FeeHistoryResponse
NetworkInfoResponse:
properties:
block_height:
type: integer
title: Block Height
block_hash:
type: string
title: Block Hash
target_height:
type: integer
title: Target Height
sync_pct:
type: number
title: Sync Pct
synced:
type: boolean
title: Synced
difficulty:
type: string
title: Difficulty
mempool_tx_count:
type: integer
title: Mempool Tx Count
network_hashrate_h_s:
anyOf:
- type: integer
- type: 'null'
title: Network Hashrate H S
last_block_age_seconds:
anyOf:
- type: integer
- type: 'null'
title: Last Block Age Seconds
type: object
required:
- block_height
- block_hash
- target_height
- sync_pct
- synced
- difficulty
- mempool_tx_count
title: NetworkInfoResponse
BlocktimePoint:
properties:
height:
anyOf:
- type: integer
- type: 'null'
title: Height
timestamp_unix:
type: integer
title: Timestamp Unix
delta_seconds:
type: integer
title: Delta Seconds
type: object
required:
- timestamp_unix
- delta_seconds
title: BlocktimePoint
MempoolResponse:
properties:
window:
type: string
title: Window
bucket_size:
type: string
title: Bucket Size
current:
type: integer
title: Current
points:
items:
$ref: '#/components/schemas/MempoolPoint'
type: array
title: Points
stats:
anyOf:
- $ref: '#/components/schemas/SeriesStats'
- type: 'null'
type: object
required:
- window
- bucket_size
- current
- points
title: MempoolResponse
HashratePoint:
properties:
bucket:
type: string
format: date-time
title: Bucket
hashrate_h_s:
type: integer
title: Hashrate H S
type: object
required:
- bucket
- hashrate_h_s
title: HashratePoint
EmissionPoint:
properties:
bucket:
type: string
format: date-time
title: Bucket
avg_reward_xmr:
type: string
title: Avg Reward Xmr
blocks:
type: integer
title: Blocks
type: object
required:
- bucket
- avg_reward_xmr
- blocks
title: EmissionPoint
EmissionResponse:
properties:
window:
type: string
title: Window
bucket_size:
type: string
title: Bucket Size
points:
items:
$ref: '#/components/schemas/EmissionPoint'
type: array
title: Points
type: object
required:
- window
- bucket_size
- points
title: EmissionResponse
responses:
RateLimited:
description: Rate limit exceeded. Wait `Retry-After` seconds.
headers:
RateLimit-Limit:
description: Requests allowed per minute for this client.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window frees a slot.
schema:
type: integer
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
content:
application/json:
example:
detail: Too many requests