AgentPMT Merkle API

The Merkle API from AgentPMT — 6 operation(s) for merkle.

Operations 6

POST /merkle/build Merkle Build #
POST /merkle/branch Merkle Branch #
POST /merkle/verified/add Add Verified Addresses #
POST /merkle/verified/remove Remove Verified Addresses #
POST /merkle/custom/add Add Custom Addresses #
POST /merkle/custom/remove Remove Custom Addresses #

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/agentpmt-com:agentpmt-com-merkle-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

agentpmt-com-merkle-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Merkle API
  version: 0.1.0
tags:
- name: Merkle
paths:
  /merkle/build:
    post:
      summary: Merkle Build
      description: 'Build a Keccak-based Merkle root (Ethereum-compatible) for addresses on a specific chain

        with precomputed branches. If wallet_address is provided, stores under that key instead of

        auto-generated name.'
      operationId: merkle_build_merkle_build_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_merkle_build_merkle_build_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBasic: []
      tags:
      - Merkle
  /merkle/branch:
    post:
      summary: Merkle Branch
      description: 'Return branch siblings/dirs for an address from a stored Merkle set.

        Lookup by: name, wallet_address, or verified_list=True (uses metadata.verified_addresses)'
      operationId: merkle_branch_merkle_branch_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_merkle_branch_merkle_branch_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBasic: []
      tags:
      - Merkle
  /merkle/verified/add:
    post:
      summary: Add Verified Addresses
      description: 'Add addresses to the verified_addresses metadata list and recalculate merkle root.

        Addresses will be deduplicated and merkle tree rebuilt with branches.'
      operationId: add_verified_addresses_merkle_verified_add_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_add_verified_addresses_merkle_verified_add_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBasic: []
      tags:
      - Merkle
  /merkle/verified/remove:
    post:
      summary: Remove Verified Addresses
      description: Remove addresses from the verified_addresses metadata list and recalculate merkle root.
      operationId: remove_verified_addresses_merkle_verified_remove_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_remove_verified_addresses_merkle_verified_remove_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBasic: []
      tags:
      - Merkle
  /merkle/custom/add:
    post:
      summary: Add Custom Addresses
      description: 'Add addresses to a custom merkle proof (identified by wallet_address) and recalculate.

        Creates the proof if it doesn''t exist.'
      operationId: add_custom_addresses_merkle_custom_add_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_add_custom_addresses_merkle_custom_add_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBasic: []
      tags:
      - Merkle
  /merkle/custom/remove:
    post:
      summary: Remove Custom Addresses
      description: Remove addresses from a custom merkle proof and recalculate.
      operationId: remove_custom_addresses_merkle_custom_remove_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_remove_custom_addresses_merkle_custom_remove_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBasic: []
      tags:
      - Merkle
components:
  schemas:
    Body_remove_verified_addresses_merkle_verified_remove_post:
      properties:
        addresses:
          items: {}
          type: array
          title: Addresses
        chain:
          type: string
          title: Chain
      type: object
      required:
      - addresses
      - chain
      title: Body_remove_verified_addresses_merkle_verified_remove_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_add_custom_addresses_merkle_custom_add_post:
      properties:
        addresses:
          items: {}
          type: array
          title: Addresses
        chain:
          type: string
          title: Chain
        wallet_address:
          type: string
          title: Wallet Address
      type: object
      required:
      - addresses
      - chain
      - wallet_address
      title: Body_add_custom_addresses_merkle_custom_add_post
    Body_remove_custom_addresses_merkle_custom_remove_post:
      properties:
        addresses:
          items: {}
          type: array
          title: Addresses
        chain:
          type: string
          title: Chain
        wallet_address:
          type: string
          title: Wallet Address
      type: object
      required:
      - addresses
      - chain
      - wallet_address
      title: Body_remove_custom_addresses_merkle_custom_remove_post
    Body_merkle_build_merkle_build_post:
      properties:
        addresses:
          items: {}
          type: array
          title: Addresses
        chain:
          type: string
          title: Chain
        wallet_address:
          type: string
          title: Wallet Address
      type: object
      required:
      - addresses
      - chain
      title: Body_merkle_build_merkle_build_post
    Body_merkle_branch_merkle_branch_post:
      properties:
        address:
          type: string
          title: Address
        chain:
          anyOf:
          - type: string
          - type: 'null'
          title: Chain
        name:
          type: string
          title: Name
        wallet_address:
          type: string
          title: Wallet Address
        verified_list:
          type: boolean
          title: Verified List
          default: false
      type: object
      required:
      - address
      title: Body_merkle_branch_merkle_branch_post
    Body_add_verified_addresses_merkle_verified_add_post:
      properties:
        addresses:
          items: {}
          type: array
          title: Addresses
        chain:
          type: string
          title: Chain
      type: object
      required:
      - addresses
      - chain
      title: Body_add_verified_addresses_merkle_verified_add_post
    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
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic