monerometrics-net Service API

Health of this API and of the index behind it.

GitHub OpenAPI

Operations 5

GET /health Liveness check #
GET /info Index totals #
GET /usage/external External request counter #
GET /status Network verdict #
GET /news Monero news #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/monerometrics-net:monerometrics-net-service-api"
All apis
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.

Get an API 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 Specification

monerometrics-net-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: monerometrics Service 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: Service
  description: Health of this API and of the index behind it.
paths:
  /health:
    get:
      summary: Liveness check
      operationId: health_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
          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:
      - Service
      description: 'Liveness check and database connection status.


        ```bash

        curl -s "https://api.monerometrics.net/health"

        ```'
      x-codeSamples:
      - lang: Shell
        label: curl
        source: curl -s "https://api.monerometrics.net/health"
  /info:
    get:
      summary: Index totals
      operationId: info_info_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfoResponse'
          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:
      - Service
      description: 'Global metadata: API version, latest indexed height, total blocks, orphans and reorgs.


        ```bash

        curl -s "https://api.monerometrics.net/info"

        ```'
      x-codeSamples:
      - lang: Shell
        label: curl
        source: curl -s "https://api.monerometrics.net/info"
  /usage/external:
    get:
      summary: External request counter
      operationId: usage_external_usage_external_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalUsageResponse'
          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:
      - Service
      description: 'External API requests served, excluding the dashboard and the MCP server. A single running total, nothing per client.


        ```bash

        curl -s "https://api.monerometrics.net/usage/external"

        ```'
      x-codeSamples:
      - lang: Shell
        label: curl
        source: curl -s "https://api.monerometrics.net/usage/external"
  /status:
    get:
      summary: Network verdict
      description: 'One-line health verdict, with every threshold that produced it.


        ```bash

        curl -s "https://api.monerometrics.net/status"

        ```'
      operationId: status_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
          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:
      - Service
      x-codeSamples:
      - lang: Shell
        label: curl
        source: curl -s "https://api.monerometrics.net/status"
  /news:
    get:
      summary: Monero news
      description: 'Monero news: the project''s own announcements, Monero Observer, GitHub releases.


        ```bash

        curl -s "https://api.monerometrics.net/news"

        ```'
      operationId: news_news_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NewsResponse'
          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:
      - Service
      x-codeSamples:
      - lang: Shell
        label: curl
        source: curl -s "https://api.monerometrics.net/news"
components:
  schemas:
    ExternalUsageResponse:
      properties:
        external_requests:
          type: integer
          title: External Requests
      type: object
      required:
      - external_requests
      title: ExternalUsageResponse
      description: Count of external API requests (excluding the dashboard and the MCP server).
    StatusSignal:
      properties:
        key:
          type: string
          title: Key
        label:
          type: string
          title: Label
        value:
          anyOf:
          - type: number
          - type: 'null'
          title: Value
        display:
          anyOf:
          - type: string
          - type: 'null'
          title: Display
        level:
          type: string
          title: Level
          default: ok
        threshold:
          anyOf:
          - type: string
          - type: 'null'
          title: Threshold
        watch:
          anyOf:
          - type: number
          - type: 'null'
          title: Watch
        alert:
          anyOf:
          - type: number
          - type: 'null'
          title: Alert
        max_depth:
          anyOf:
          - type: integer
          - type: 'null'
          title: Max Depth
      type: object
      required:
      - key
      - label
      title: StatusSignal
      description: One reading behind the verdict, with the threshold that qualified it.
    HealthResponse:
      properties:
        status:
          type: string
          title: Status
          default: ok
        db_connected:
          type: boolean
          title: Db Connected
      type: object
      required:
      - db_connected
      title: HealthResponse
    StatusResponse:
      properties:
        level:
          type: string
          title: Level
        chain:
          type: string
          title: Chain
        concentration:
          type: string
          title: Concentration
        signals:
          items:
            $ref: '#/components/schemas/StatusSignal'
          type: array
          title: Signals
          default: []
        generated_unix:
          type: integer
          title: Generated Unix
      type: object
      required:
      - level
      - chain
      - concentration
      - generated_unix
      title: StatusResponse
      description: 'A one-line answer to the only question the dashboard exists to settle:

        is the chain healthy right now, and is it decentralised right now.


        `level` is the worst of the signals: ok, watch, or alert. Every threshold

        that produced it is returned alongside, because a verdict nobody can audit

        is an opinion. Thresholds are ours and stated, not inherited from anywhere.'
    NewsItem:
      properties:
        id:
          type: string
          title: Id
        source:
          type: string
          title: Source
          default: getmonero
        title:
          type: string
          title: Title
        url:
          type: string
          title: Url
        published_unix:
          type: integer
          title: Published Unix
        categories:
          items:
            type: string
          type: array
          title: Categories
          default: []
      type: object
      required:
      - id
      - title
      - url
      - published_unix
      title: NewsItem
    NewsResponse:
      properties:
        sources:
          items:
            type: string
          type: array
          title: Sources
          default:
          - getmonero.org
          - monero.observer
          - github.com
        items:
          items:
            $ref: '#/components/schemas/NewsItem'
          type: array
          title: Items
          default: []
        fetched_unix:
          anyOf:
          - type: integer
          - type: 'null'
          title: Fetched Unix
        stale:
          type: boolean
          title: Stale
          default: false
      type: object
      title: NewsResponse
      description: 'Monero news from three sources, each item labelled with the one it came from.


        The project''s own blog for releases and announcements, Monero Observer for

        the day-to-day of the ecosystem, and the GitHub releases, which often land

        before the site announces them. Each source only gets a few slots: the

        Observer publishes several times a day and would otherwise fill the banner

        on its own. Items carry their date — a banner that looks live while showing

        a month-old entry is worse than no banner.


        Fetched server-side and cached, so a visitor''s browser never contacts any

        of these sites and no IP leaks to a third party.'
    InfoResponse:
      properties:
        api_version:
          type: string
          title: Api Version
          default: 0.1.0
        network:
          type: string
          title: Network
          default: mainnet
        latest_indexed_height:
          anyOf:
          - type: integer
          - type: 'null'
          title: Latest Indexed Height
        total_blocks_indexed:
          type: integer
          title: Total Blocks Indexed
          default: 0
        total_orphan_blocks:
          type: integer
          title: Total Orphan Blocks
          default: 0
        total_reorgs_detected:
          type: integer
          title: Total Reorgs Detected
          default: 0
      type: object
      title: InfoResponse
  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