Monero Mining API

Mining control and block template operations

Operations 3

POST /start_mining Start mining on the daemon #
POST /stop_mining Stop mining on the daemon #
POST /mining_status Get mining status #

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/monero-mining-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

monero-mining-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Monero Daemon RPC Blockchain Mining API
  description: JSON-RPC and HTTP API exposed by the monerod daemon for querying blockchain data, managing peer connections, retrieving block and transaction information, estimating fees, submitting mined blocks, and controlling node-level operations on the Monero network.
  version: '0.18'
  contact:
    name: Monero Community
    url: https://www.getmonero.org/community/hangouts/
  license:
    name: BSD-3-Clause
    url: https://github.com/monero-project/monero/blob/master/LICENSE
servers:
- url: http://localhost:18081
  description: Local monerod mainnet node
- url: http://localhost:28081
  description: Local monerod testnet node
tags:
- name: Mining
  description: Mining control and block template operations
paths:
  /start_mining:
    post:
      summary: Start mining on the daemon
      description: Starts mining on the daemon.
      operationId: startMining
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                do_background_mining:
                  type: boolean
                ignore_battery:
                  type: boolean
                miner_address:
                  type: string
                  description: Mining reward address
                threads_count:
                  type: integer
                  description: Number of mining threads
              required:
              - do_background_mining
              - ignore_battery
              - miner_address
              - threads_count
      responses:
        '200':
          description: Mining start result
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
      tags:
      - Mining
  /stop_mining:
    post:
      summary: Stop mining on the daemon
      description: Stops mining on the daemon.
      operationId: stopMining
      responses:
        '200':
          description: Mining stop result
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
      tags:
      - Mining
  /mining_status:
    post:
      summary: Get mining status
      description: Gets the mining status of the daemon.
      operationId: miningStatus
      responses:
        '200':
          description: Current mining status
          content:
            application/json:
              schema:
                type: object
                properties:
                  active:
                    type: boolean
                  address:
                    type: string
                  bg_idle_threshold:
                    type: integer
                  bg_ignore_battery:
                    type: boolean
                  bg_min_idle_seconds:
                    type: integer
                  bg_target:
                    type: integer
                  block_reward:
                    type: integer
                  block_target:
                    type: integer
                  difficulty:
                    type: integer
                  difficulty_top64:
                    type: integer
                  is_background_mining_enabled:
                    type: boolean
                  pow_algorithm:
                    type: string
                  speed:
                    type: integer
                  threads_count:
                    type: integer
                  wide_difficulty:
                    type: string
                  status:
                    type: string
      tags:
      - Mining
externalDocs:
  description: Monero Daemon RPC Documentation
  url: https://docs.getmonero.org/rpc-library/monerod-rpc/