Algorand Master Key API

The Master Key API from Algorand — 1 operation(s) for master key.

Operations 1

POST /v1/master-key/export Export the master derivation key from a wallet #

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/algorand-master-key-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

algorand-master-key-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: API for KMD (Key Management Daemon)
  title: KMD HTTP Master Key API
  contact:
    email: contact@algorand.com
  version: 0.0.1
servers:
- url: http://localhost/
security:
- api_key: []
tags:
- name: Master Key
paths:
  /v1/master-key/export:
    post:
      description: 'Export the master derivation key from the wallet. This key is a master "backup" key for the underlying wallet. With it, you can regenerate all of the wallets that have been generated with this wallet''s `POST /v1/key` endpoint. This key will not allow you to recover keys imported from other wallets, however.

        '
      summary: Export the master derivation key from a wallet
      operationId: ExportMasterKey
      responses:
        '200':
          $ref: '#/components/responses/ExportMasterKeyResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExportMasterKeyRequest'
        required: true
      tags:
      - Master Key
components:
  responses:
    ExportMasterKeyResponse:
      description: Response to `POST /v1/master-key/export`
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/APIV1POSTMasterKeyExportResponse'
  schemas:
    MasterDerivationKey:
      description: MasterDerivationKey is used to derive ed25519 keys for use in wallets
      type: array
      items:
        type: integer
        format: uint8
      x-go-package: github.com/algorand/go-algorand/crypto
    ExportMasterKeyRequest:
      description: APIV1POSTMasterKeyExportRequest is the request for `POST /v1/master-key/export`
      type: object
      properties:
        wallet_handle_token:
          type: string
          x-go-name: WalletHandleToken
        wallet_password:
          type: string
          x-go-name: WalletPassword
      x-go-name: APIV1POSTMasterKeyExportRequest
      x-go-package: github.com/algorand/go-algorand/daemon/kmd/lib/kmdapi
    APIV1POSTMasterKeyExportResponse:
      description: 'APIV1POSTMasterKeyExportResponse is the response to `POST /v1/master-key/export`

        friendly:ExportMasterKeyResponse'
      type: object
      properties:
        error:
          type: boolean
          x-go-name: Error
        master_derivation_key:
          $ref: '#/components/schemas/MasterDerivationKey'
        message:
          type: string
          x-go-name: Message
      x-go-package: github.com/algorand/go-algorand/daemon/kmd/lib/kmdapi
  securitySchemes:
    api_key:
      description: 'Generated header parameter. This value can be found in `/kmd/data/dir/kmd.token`. Example value: ''330b2e4fc9b20f4f89812cf87f1dabeb716d23e3f11aec97a61ff5f750563b78'''
      type: apiKey
      name: X-KMD-API-Token
      in: header
      x-example: 330b2e4fc9b20f4f89812cf87f1dabeb716d23e3f11aec97a61ff5f750563b78