dnsofmoney-com A2a API

The a2a API from dnsofmoney-com — 3 operation(s) for a2a.

GitHub OpenAPI

Operations 3

GET /.well-known/agent-card.json Agent Card #
GET /.well-known/agent.json Agent Card Legacy Path #
POST /a2a/v1 A2A Rpc #

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/dnsofmoney-com:dnsofmoney-com-a2a-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dnsofmoney-com-a2a-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DNS://Money A2a API
  description: 'DNS://Money resolves a human-readable `pay:` name into the payment instructions for the rail it settles on, the way DNS resolves a domain into an IP address.


    - **Free reads:** resolve a name without a key at the anonymous rate limit.

    - **API key:** send `X-API-Key` for a higher rate limit. Get a free key at https://dnsofmoney.com/#request.

    - **x402:** paid routes answer `402` with a challenge. Pay from your own wallet and retry with `X-PAYMENT` or `PAYMENT-SIGNATURE`.


    DNS://Money is not a bank. The payer signs from their own wallet and the resolver never holds funds. Guides: https://dnsofmoney.com/docs/.


    **OAuth 2.0:** an agent registers itself at `POST /oauth/register`, sends the key holder through the authorization code flow with PKCE S256, and calls `/resolve` and `/mcp` with a Bearer token. A token is read-only and short lived. It never reaches a route that moves money.'
  termsOfService: https://dnsofmoney.com/terms.html
  contact:
    name: DNS://Money support
    url: https://dnsofmoney.com/docs/
    email: support@dnsofmoney.com
  version: 0.3.0
servers:
- url: https://api.dnsofmoney.com
  description: Production
tags:
- name: a2a
  description: The Agent2Agent card and JSON-RPC endpoint.
paths:
  /.well-known/agent-card.json:
    get:
      tags:
      - a2a
      summary: Agent Card
      description: A2A AgentCard — the discovery document (RFC 8615 well-known path).
      operationId: agent_card__well_known_agent_card_json_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
              example:
                capabilities:
                  pushNotifications: false
                  stateTransitionHistory: false
                  streaming: false
                defaultInputModes:
                - application/json
                - text/plain
                defaultOutputModes:
                - application/json
                description: 'Deterministic financial address resolution for AI agents: resolve pay: aliases to payment endpoints, discover agent-commerce capabilities, and quote x402 payment requirements. Read-only and non-custodial — the intelligence lives in the calling agent; this agent serves verifiable, deterministic answers and never moves money. Send a message whose data part is {"tool": <skill id>, "arguments": {...}}.'
                documentationUrl: https://dnsofmoney.com/mcp/
                name: DNS of Money — Financial Address Resolution Agent
                preferredTransport: JSONRPC
                protocolVersion: 0.3.0
                provider:
                  organization: DNS of Money
                  url: https://dnsofmoney.com
                security: []
                securitySchemes:
                  apiKey:
                    description: Optional. Anonymous callers get tier-redacted resolution results; keyed callers see the fields their tier allows.
                    in: header
                    name: X-API-Key
                    type: apiKey
                skills:
                - description: 'Resolve a human-readable financial alias (pay: address) to payment endpoints and routing metadata. Call this before initiating any payment to a pay: address. Returns the preferred rail, fallback endpoints, an ISO 20022 hint, and a compliance signal. Anonymous calls return status only; a free API key (no credit card) unlocks the endpoint set — which rails and currencies the alias accepts — via POST /api/v1/access-requests. You do NOT need a key to pay: get_payment_requirements returns a payable address to any caller. Example: resolve_alias(''pay:acme.user'').'
                  examples:
                  - '{"tool": "resolve_alias", "arguments": {"alias_uri": "pay:acme.user"}}'
                  id: resolve_alias
                  inputModes:
                  - application/json
                  - text/plain
                  name: resolve_alias
                  outputModes:
                  - application/json
                  tags:
                  - resolution
                  - discovery
                  - payments
                - description: 'Get the AP2/A2A agent-commerce block for a pay: address — the DNS of Money equivalent of an A2A agent-card lookup. Use this during agent discovery before initiating a mandate flow. Returns agent capabilities only; NO payment credentials. Example: discover_agent(''pay:acme.user'').'
                  examples:
                  - '{"tool": "discover_agent", "arguments": {"alias_uri": "pay:acme.user"}}'
                  id: discover_agent
                  inputModes:
                  - application/json
                  - text/plain
                  name: discover_agent
                  outputModes:
                  - application/json
                  tags:
                  - discovery
                  - agent-commerce
                - description: 'Check whether a pay: alias can still be claimed. Returns exactly one of three states: ''available'' (free to register), ''taken'' (already registered), or ''reserved'' (protected namespace). When available, also returns the number of founding spots remaining. Public — no API key required. Read-only: this never reserves or registers the name. Example: check_alias_available(''pay:acme.user'').'
                  examples: []
                  id: check_alias_available
                  inputModes:
                  - application/json
                  - text/plain
                  name: check_alias_available
                  outputModes:
                  - application/json
                  tags:
                  - payments
                - description: 'Get x402 PaymentRequirements for paying a pay: alias. Returns the 402 `accepts` block (scheme, network, payTo, asset, amount, invoiceId) an x402 agent needs to construct and submit the payment. currency=''XRP'' settles on the XRP Ledger (amount in drops); currency=''USDC'' settles USDC on Algorand via the GoPlausible facilitator (amount in atomic micro-USDC, feePayer in `extra`). The deterministic resolver chooses the rail; this tool never moves money. Example: get_payment_requirements(''pay:acme.user'', amount=''1.5'').'
                  examples:
                  - '{"tool": "get_payment_requirements", "arguments": {"alias_uri": "pay:acme.user", "currency": "USDC"}}'
                  id: get_payment_requirements
                  inputModes:
                  - application/json
                  - text/plain
                  name: get_payment_requirements
                  outputModes:
                  - application/json
                  tags:
                  - payments
                  - x402
                  - quoting
                - description: 'Check whether a payment you already attempted was recorded, BEFORE you retry and risk spending twice. Pass the request_key you sent as the Idempotency-Key header on the paid request. Returns state ''settled'' (we hold a receipt — do NOT pay again) or ''not_found'' (we have no record — retrying is safe). Use this when a paid call timed out or its response was lost: on rails where the facilitator broadcasts, you never learn the transaction hash unless our response reaches you, so this key is the only thing that can answer. The key is a bearer secret — whoever presents it gets the receipt.'
                  examples: []
                  id: get_payment_status
                  inputModes:
                  - application/json
                  - text/plain
                  name: get_payment_status
                  outputModes:
                  - application/json
                  tags:
                  - payments
                - description: 'Learn how to self-register a FREE pay:agent.<label> alias for your agent. Returns the registration endpoint, the AgentAuthorityCredential verifiable-presentation requirements (intent binding + domain), the rate limit, and the Merkle anchor-proof endpoint. Read-only — registration itself is the credential-gated POST this tool points at. Example: get_agent_registration_info().'
                  examples:
                  - '{"tool": "get_agent_registration_info", "arguments": {}}'
                  id: get_agent_registration_info
                  inputModes:
                  - application/json
                  - text/plain
                  name: get_agent_registration_info
                  outputModes:
                  - application/json
                  tags:
                  - registration
                  - onboarding
                supportedInterfaces:
                - protocolBinding: JSONRPC
                  protocolVersion: '1.0'
                  url: https://api.dnsofmoney.com/a2a/v1
                - protocolBinding: JSONRPC
                  protocolVersion: 0.3.0
                  url: https://api.dnsofmoney.com/a2a/v1
                url: https://api.dnsofmoney.com/a2a/v1
                version: 1.0.0
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '429':
          $ref: '#/components/responses/RateLimited'
      security: []
  /.well-known/agent.json:
    get:
      tags:
      - a2a
      summary: Agent Card Legacy Path
      description: Pre-0.3 discovery path; serves the identical card.
      operationId: agent_card_legacy_path__well_known_agent_json_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
              example:
                capabilities:
                  pushNotifications: false
                  stateTransitionHistory: false
                  streaming: false
                defaultInputModes:
                - application/json
                - text/plain
                defaultOutputModes:
                - application/json
                description: 'Deterministic financial address resolution for AI agents: resolve pay: aliases to payment endpoints, discover agent-commerce capabilities, and quote x402 payment requirements. Read-only and non-custodial — the intelligence lives in the calling agent; this agent serves verifiable, deterministic answers and never moves money. Send a message whose data part is {"tool": <skill id>, "arguments": {...}}.'
                documentationUrl: https://dnsofmoney.com/mcp/
                name: DNS of Money — Financial Address Resolution Agent
                preferredTransport: JSONRPC
                protocolVersion: 0.3.0
                provider:
                  organization: DNS of Money
                  url: https://dnsofmoney.com
                security: []
                securitySchemes:
                  apiKey:
                    description: Optional. Anonymous callers get tier-redacted resolution results; keyed callers see the fields their tier allows.
                    in: header
                    name: X-API-Key
                    type: apiKey
                skills:
                - description: 'Resolve a human-readable financial alias (pay: address) to payment endpoints and routing metadata. Call this before initiating any payment to a pay: address. Returns the preferred rail, fallback endpoints, an ISO 20022 hint, and a compliance signal. Anonymous calls return status only; a free API key (no credit card) unlocks the endpoint set — which rails and currencies the alias accepts — via POST /api/v1/access-requests. You do NOT need a key to pay: get_payment_requirements returns a payable address to any caller. Example: resolve_alias(''pay:acme.user'').'
                  examples:
                  - '{"tool": "resolve_alias", "arguments": {"alias_uri": "pay:acme.user"}}'
                  id: resolve_alias
                  inputModes:
                  - application/json
                  - text/plain
                  name: resolve_alias
                  outputModes:
                  - application/json
                  tags:
                  - resolution
                  - discovery
                  - payments
                - description: 'Get the AP2/A2A agent-commerce block for a pay: address — the DNS of Money equivalent of an A2A agent-card lookup. Use this during agent discovery before initiating a mandate flow. Returns agent capabilities only; NO payment credentials. Example: discover_agent(''pay:acme.user'').'
                  examples:
                  - '{"tool": "discover_agent", "arguments": {"alias_uri": "pay:acme.user"}}'
                  id: discover_agent
                  inputModes:
                  - application/json
                  - text/plain
                  name: discover_agent
                  outputModes:
                  - application/json
                  tags:
                  - discovery
                  - agent-commerce
                - description: 'Check whether a pay: alias can still be claimed. Returns exactly one of three states: ''available'' (free to register), ''taken'' (already registered), or ''reserved'' (protected namespace). When available, also returns the number of founding spots remaining. Public — no API key required. Read-only: this never reserves or registers the name. Example: check_alias_available(''pay:acme.user'').'
                  examples: []
                  id: check_alias_available
                  inputModes:
                  - application/json
                  - text/plain
                  name: check_alias_available
                  outputModes:
                  - application/json
                  tags:
                  - payments
                - description: 'Get x402 PaymentRequirements for paying a pay: alias. Returns the 402 `accepts` block (scheme, network, payTo, asset, amount, invoiceId) an x402 agent needs to construct and submit the payment. currency=''XRP'' settles on the XRP Ledger (amount in drops); currency=''USDC'' settles USDC on Algorand via the GoPlausible facilitator (amount in atomic micro-USDC, feePayer in `extra`). The deterministic resolver chooses the rail; this tool never moves money. Example: get_payment_requirements(''pay:acme.user'', amount=''1.5'').'
                  examples:
                  - '{"tool": "get_payment_requirements", "arguments": {"alias_uri": "pay:acme.user", "currency": "USDC"}}'
                  id: get_payment_requirements
                  inputModes:
                  - application/json
                  - text/plain
                  name: get_payment_requirements
                  outputModes:
                  - application/json
                  tags:
                  - payments
                  - x402
                  - quoting
                - description: 'Check whether a payment you already attempted was recorded, BEFORE you retry and risk spending twice. Pass the request_key you sent as the Idempotency-Key header on the paid request. Returns state ''settled'' (we hold a receipt — do NOT pay again) or ''not_found'' (we have no record — retrying is safe). Use this when a paid call timed out or its response was lost: on rails where the facilitator broadcasts, you never learn the transaction hash unless our response reaches you, so this key is the only thing that can answer. The key is a bearer secret — whoever presents it gets the receipt.'
                  examples: []
                  id: get_payment_status
                  inputModes:
                  - application/json
                  - text/plain
                  name: get_payment_status
                  outputModes:
                  - application/json
                  tags:
                  - payments
                - description: 'Learn how to self-register a FREE pay:agent.<label> alias for your agent. Returns the registration endpoint, the AgentAuthorityCredential verifiable-presentation requirements (intent binding + domain), the rate limit, and the Merkle anchor-proof endpoint. Read-only — registration itself is the credential-gated POST this tool points at. Example: get_agent_registration_info().'
                  examples:
                  - '{"tool": "get_agent_registration_info", "arguments": {}}'
                  id: get_agent_registration_info
                  inputModes:
                  - application/json
                  - text/plain
                  name: get_agent_registration_info
                  outputModes:
                  - application/json
                  tags:
                  - registration
                  - onboarding
                supportedInterfaces:
                - protocolBinding: JSONRPC
                  protocolVersion: '1.0'
                  url: https://api.dnsofmoney.com/a2a/v1
                - protocolBinding: JSONRPC
                  protocolVersion: 0.3.0
                  url: https://api.dnsofmoney.com/a2a/v1
                url: https://api.dnsofmoney.com/a2a/v1
                version: 1.0.0
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '429':
          $ref: '#/components/responses/RateLimited'
      security: []
  /a2a/v1:
    post:
      tags:
      - a2a
      summary: A2A Rpc
      description: A2A JSON-RPC 2.0 endpoint — both 1.0 and legacy 0.3 method names.
      operationId: a2a_rpc_a2a_v1_post
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
      - {}
      - ApiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
            example:
              jsonrpc: '2.0'
              id: 1
              method: tasks/list
              params: {}
components:
  headers:
    Retry-After:
      description: Seconds to wait before the next request.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Unix time when the window resets.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests left in the current window.
      schema:
        type: integer
    X-RateLimit-Limit:
      description: Requests allowed in the current window.
      schema:
        type: integer
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RateLimitError:
      type: object
      required:
      - error
      - limit
      - reset_at
      properties:
        error:
          type: string
          const: rate_limit_exceeded
        limit:
          type: integer
        reset_at:
          type: string
          format: date-time
      example:
        error: rate_limit_exceeded
        limit: 60
        reset_at: '2026-11-04T00:01:00+00:00'
    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
  responses:
    RateLimited:
      description: Rate limit exceeded.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitError'
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key.
    X402Payment:
      type: apiKey
      in: header
      name: X-PAYMENT
      description: x402 v1 payment payload. Answer the 402 challenge with this header.
    X402PaymentSignature:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: x402 v2 payment payload. Answer the 402 challenge with this header.
    XappBearer:
      type: http
      scheme: bearer
      description: Session JWT from POST /xapp/ott.
    AdminKey:
      type: apiKey
      in: header
      name: x-admin-key
      description: Operator key.
    OAuth2:
      type: oauth2
      description: Read-only delegated access. PKCE S256 is required.
      flows:
        authorizationCode:
          authorizationUrl: https://api.dnsofmoney.com/oauth/authorize
          tokenUrl: https://api.dnsofmoney.com/oauth/token
          scopes:
            resolve:read: 'Resolve pay: names and call the read-only MCP tools.'
x-provenance:
  method: harvested
  publisher: DNS://Money
  source: https://api.dnsofmoney.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)