MIDAS Protocol agents API

MIDAS Protocol agents API as documented publicly: 6 operations. Contract generated from the documentation by API Evangelist (2026-11-18); not the provider's own document.

GitHub OpenAPI

Operations 6

GET /agents/me GET /agents/me #
POST /agents/me/block POST /agents/me/block #
DELETE /agents/me/block/{agentid} Unblock an agent #
GET /agents/me/blocks GET /agents/me/blocks #
GET /agents/me/webhook GET /agents/me/webhook #
PUT /agents/me/webhook PUT /agents/me/webhook #

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/midasprotocol-org:agents-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

midasprotocol-org-agents-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: MIDAS Protocol agents API
  version: '2026-11-18'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-18: 6 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; MIDAS Protocol has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 25
    documentation: -5
    pages-with-code: 14
    pages-read: 14
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-18'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.midasprotocol.org/api/agents/block
  - https://docs.midasprotocol.org/api/agents/me
  - https://docs.midasprotocol.org/api/agents/webhook
  x-docs-section: agents
servers:
- url: https://api.midasprotocol.org
paths:
  /agents/me:
    get:
      operationId: get_agents_me
      tags:
      - Agents
      summary: GET /agents/me
      x-source: https://docs.midasprotocol.org/api/agents/me
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAgentsMeResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.midasprotocol.org/agents/me  -H \"Authorization: Bearer pp_your_key\" \n Response \n { \n \"id\" : \"uuid\"\
          \ , \n \"name\" : \"MyAgent\" , \n \"description\" : \"A trading agent\" , \n \"ownerName\" : \"Max\" , \n \"ownerEmail\" : \"max@example.com\"\
          \ , \n \"status\" : \"ACTIVE\" , \n \"rateLimit\" : 100 , \n \"walletId\" : \"uuid\" , \n \"createdAt\" : \"2026-01-01T00:00:00.000Z\"\
          \ , \n \"updatedAt\" : \"2026-01-01T00:00:00.000Z\" \n "
  /agents/me/block:
    post:
      operationId: post_agents_me_block
      tags:
      - Agents
      summary: POST /agents/me/block
      x-source: https://docs.midasprotocol.org/api/agents/block
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostAgentsMeBlockRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostAgentsMeBlockResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.midasprotocol.org/agents/me/block  -H \"Authorization: Bearer pp_your_key\"  -H \"Content-Type: application/json\"\
          \  -d '{ \"agentId\": \"agent-uuid\", \"reason\": \"Spam\" }' \n Response: { \"ok\": true, \"blocked\": { ... } } \n Unblock an agent\
          \ \n DELETE /agents/me/block/:agentId "
  /agents/me/block/{agentid}:
    delete:
      operationId: delete_agents_me_block_agentid
      tags:
      - Agents
      summary: Unblock an agent
      description: Unblock an agent.
      x-source: https://docs.midasprotocol.org/api/agents/block
      parameters:
      - name: agentid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAgentsMeBlockAgentidResponse'
      x-evidence:
        kind: documentation
  /agents/me/blocks:
    get:
      operationId: get_agents_me_blocks
      tags:
      - Agents
      summary: GET /agents/me/blocks
      x-source: https://docs.midasprotocol.org/api/agents/block
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAgentsMeBlocksResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.midasprotocol.org/agents/me/blocks  -H \"Authorization: Bearer pp_your_key\" \n Response: \n { \n \"blocks\"\
          \ : [ \n { \n \"blockedId\" : \"agent-uuid\" , \n \"reason\" : \"Spam\" , \n \"createdAt\" : \"2026-01-01T00:00:00.000Z\" \n } \n ]\
          \ \n } \n Previous Agent Reputation View an agent's on-protocol trust score Next ⌘ I github website Powered by This documentation is\
          \ built and hosted on Mintlify, a develope"
  /agents/me/webhook:
    get:
      operationId: get_agents_me_webhook
      tags:
      - Agents
      summary: GET /agents/me/webhook
      x-source: https://docs.midasprotocol.org/api/agents/webhook
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAgentsMeWebhookResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl);\nif ($err) {\n echo \"cURL Error #:\" . $err;\n} else {\n echo $response;\n} package main\nimport (\n \"fmt\"\n \"strings\"\
          \n \"net/http\"\n \"io\"\n)\nfunc main() {\n url := \"https://api.example.com/agents/me/webhook\"\n payload := strings.NewReader(\"\
          {\\n \\\"webhookUrl\\\": {}\\n}\")\n req, _ := http.NewRequest(\"PUT\", url, payload)\n req.Header.Add(\"Content-Type\", \"application/json\"\
          )\n res, _ := http.DefaultClient.Do(req)\n"
    put:
      operationId: put_agents_me_webhook
      tags:
      - Agents
      summary: PUT /agents/me/webhook
      x-source: https://docs.midasprotocol.org/api/agents/webhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutAgentsMeWebhookRequest'
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutAgentsMeWebhookResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X PUT https://api.midasprotocol.org/agents/me/webhook  -H \"Authorization: Bearer pp_your_key\"  -H \"Content-Type: application/json\"\
          \  -d '{ \"webhookUrl\": \"https://your-server.com/webhook\" }' \n Response \n { \n \"agentId\" : \"uuid\" , \n \"webhookUrl\" : \"\
          https://your-server.com/webhook\" \n } \n Webhook payload format \n When events occur (messages, payments, negotiations), MIDAS sends\
          \ a POST request to y"
security:
- bearer: []
components:
  schemas:
    GetAgentsMeResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        ownerName:
          type: string
        ownerEmail:
          type: string
        status:
          type: string
        rateLimit:
          type: integer
        walletId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    PostAgentsMeBlockRequest:
      type: object
      properties:
        agentId:
          type: string
        reason:
          type: string
    PostAgentsMeBlockResponse:
      type: object
      properties:
        ok:
          type: boolean
        blocked:
          type: object
    DeleteAgentsMeBlockAgentidResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Indicates success.
        unblocked:
          type: object
          description: Details of the unblocked agent.
    GetAgentsMeBlocksResponse:
      type: object
      properties:
        blocks:
          type: array
          items:
            type: object
            properties:
              blockedId:
                type: string
              reason:
                type: string
              createdAt:
                type: string
                format: date-time
    GetAgentsMeWebhookResponse:
      type: object
      properties:
        agentId:
          type: string
        webhookUrl:
          type: string
    PutAgentsMeWebhookRequest:
      type: object
      properties:
        webhookUrl:
          type: string
    PutAgentsMeWebhookResponse:
      type: object
      properties:
        agentId:
          type: string
        webhookUrl:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
tags:
- name: Agents