Tunnel A2a API

The Agent2Agent v1.0 endpoint. Read-only.

GitHub OpenAPI

Operations 3

POST /api/a2a Agent2Agent v1.0 endpoint (JSONRPC binding) #
GET /api/a2a/card The Agent Card, for callers who found the endpoint before the well-known path #
GET /.well-known/agent-card.json A2A v1.0 Agent Card at the path the spec fixes #

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/tunnelpowered-com:tunnelpowered-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. 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

tunnelpowered-com-a2a-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: tunnel public A2a API
  version: 1.0.0
  summary: Search verified businesses, check what their verification actually proves, and message them.
  description: 'The public, agent-facing surface of the tunnel knowledge base.


    Reading needs no credentials, and neither does ASKING. Only messaging a business does, and

    registration is self-service.


    If you want to know something about a business, try `ask` before `landline`. A question the

    registry can settle costs you nothing, costs the business nothing, and is answered immediately;

    opening a conversation puts it in front of a person who may be serving a customer.


    Two things worth knowing before you build against this:


    1. An absent field means we do not hold that information. It does not mean the business lacks it.

    Do not write a confident sentence about a business from a gap in this data.

    2. `verification.level` is the verification answer. `humanReview` is about whether a person edited

    the knowledge-base entry, which is a different question and is not a statement about the business.


    Endpoints not described here are internal and may change without notice.'
  contact:
    name: Tunnel
    url: https://tunnelpowered.com/docs
    email: contact@tunnelpowered.com
servers:
- url: https://api.tunnelpowered.com
  description: Production
security:
- agentBearer: []
tags:
- name: a2a
  description: The Agent2Agent v1.0 endpoint. Read-only.
paths:
  /api/a2a:
    post:
      tags:
      - a2a
      summary: Agent2Agent v1.0 endpoint (JSONRPC binding)
      description: 'JSON-RPC 2.0. The only implemented method is `SendMessage` — note the v1.0 name; `message/send` was the v0.3 spelling. It answers synchronously and returns a `Message`, never a `Task`, because the three skills are lookups with nothing to poll. `GetTask` and the rest answer -32601 with a reason. Read-only: no A2A skill can commit a business to anything. Skills and shapes are described by the Agent Card.'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - jsonrpc
              - method
              properties:
                jsonrpc:
                  type: string
                  enum:
                  - '2.0'
                id:
                  type:
                  - string
                  - integer
                  - 'null'
                method:
                  type: string
                  enum:
                  - SendMessage
                params:
                  type: object
                  properties:
                    message:
                      type: object
                      description: A proto3-JSON A2A Message. A text part is `{"text":"…"}` — the oneof, not the v0.3 `{"kind":"text",…}`. Plain text is treated as a search; a data part naming a `skill` selects one explicitly.
                      properties:
                        role:
                          type: string
                          enum:
                          - ROLE_USER
                        messageId:
                          type: string
                        contextId:
                          type: string
                        parts:
                          type: array
                          items:
                            type: object
      responses:
        '200':
          description: 'A JSON-RPC response whose result is `{ "message": … }`.'
          content:
            application/json:
              schema:
                type: object
        '401':
          description: A bearer token was supplied and is not valid.
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Rate limited. `Retry-After` gives the number of seconds to wait. Reads are metered per IP, per declared client name and per registered agent; a declared name never raises the IP ceiling.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiA2a
      x-operation-id-source: derived
  /api/a2a/card:
    get:
      tags:
      - a2a
      summary: The Agent Card, for callers who found the endpoint before the well-known path
      security: []
      responses:
        '200':
          description: An A2A v1.0 AgentCard.
          content:
            application/json:
              schema:
                type: object
      operationId: getApiA2aCard
      x-operation-id-source: derived
  /.well-known/agent-card.json:
    get:
      tags:
      - a2a
      summary: A2A v1.0 Agent Card at the path the spec fixes
      description: Unsigned. Cards MAY carry a JWS over JCS; ours does not yet, and `signatures` is absent rather than empty.
      security: []
      responses:
        '200':
          description: An A2A v1.0 AgentCard.
          content:
            application/json:
              schema:
                type: object
      operationId: getWellKnownAgentCardJson
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      description: A refusal an agent can act on. Branch on nothing here — the REST surface returns a human-readable message only. The MCP surface (`POST /api/mcp`) is the one that returns stable machine codes and a `fix`; prefer it if you need to handle failures programmatically.
      properties:
        error:
          type: string
  securitySchemes:
    agentBearer:
      type: oauth2
      description: Register once, then exchange credentials for a token. Needed only for writes.
      flows:
        clientCredentials:
          tokenUrl: https://api.tunnelpowered.com/api/v1/agents/token
          scopes: {}
externalDocs:
  url: https://tunnelpowered.com/docs
  description: The same surface, written for a person.