Tunnel Discovery API

Machine-readable descriptions of this service.

GitHub OpenAPI

Operations 15

GET /api/kb/llms.txt The prose guide a model reads first #
GET /api/pricing What the plans cost #
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 #
GET /b/{slug} The citable HTML profile page for a business (alias address) #
GET /business/{slug} The citable HTML profile page for a business #
GET /llms.txt Platform-level guide for models #
GET /robots.txt Crawler policy and the sitemap pointer #
GET /api/public/tools Every agent tool, with its arguments #
GET /sitemap.xml Every public profile URL #
GET /openapi.json This document #
GET /.well-known/tunnel-trust.json Attestation signing key and rotation metadata #
GET /.well-known/jwks.json The same keys as an RFC 7517 JWKS #
GET /.well-known/oauth-authorization-server RFC 8414 authorization server metadata #
GET /.well-known/oauth-protected-resource RFC 9728 protected resource metadata for the MCP endpoint #

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-discovery-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-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: tunnel public Discovery 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: Discovery
  description: Machine-readable descriptions of this service.
paths:
  /api/kb/llms.txt:
    get:
      tags:
      - Discovery
      summary: The prose guide a model reads first
      security: []
      responses:
        '200':
          description: Markdown guide.
          content:
            text/plain:
              schema:
                type: string
        '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: getApiKbLlmsTxt
      x-operation-id-source: derived
  /api/pricing:
    get:
      tags:
      - Discovery
      summary: What the plans cost
      description: 'Generated from the one place prices are defined, so it cannot disagree with the pricing page or the dashboard. `notes.selfServe` is `false` today: paid plans are assigned manually rather than bought online, and these are the prices they are assigned at.'
      security: []
      responses:
        '200':
          description: The price list.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pricing'
        '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: getApiPricing
      x-operation-id-source: derived
  /api/a2a/card:
    get:
      tags:
      - Discovery
      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:
      - Discovery
      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
  /b/{slug}:
    get:
      tags:
      - Discovery
      summary: The citable HTML profile page for a business (alias address)
      description: Server-rendered, with schema.org JSON-LD embedded. The address to CITE is https://tunnelpowered.com/business/{slug}, on the marketing host, and this response names it as canonical. This path is a permanent alias and will keep answering 200 — it was published to agents before the canonical existed, and a documented machine address must not turn into a redirect.
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        description: The record’s stable slug, as returned by search.
        schema:
          type: string
          pattern: ^[a-z0-9-]+$
      responses:
        '200':
          description: An HTML page.
          content:
            text/html:
              schema:
                type: string
        '404':
          description: No such record in the knowledge base.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getBBySlug
      x-operation-id-source: derived
  /business/{slug}:
    get:
      tags:
      - Discovery
      summary: The citable HTML profile page for a business
      description: The canonical profile page. In production this path is served on the marketing host (https://tunnelpowered.com/business/{slug}) by an nginx proxy to this process; it also answers here, on the API host, which is deliberate — it lets an operator verify the page before the nginx reload lands, and the canonical tag settles which address counts.
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        description: The record’s stable slug, as returned by search.
        schema:
          type: string
          pattern: ^[a-z0-9-]+$
      responses:
        '200':
          description: An HTML page.
          content:
            text/html:
              schema:
                type: string
        '404':
          description: No such record in the knowledge base.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getBusinessBySlug
      x-operation-id-source: derived
  /llms.txt:
    get:
      tags:
      - Discovery
      summary: Platform-level guide for models
      security: []
      responses:
        '200':
          description: Markdown.
          content:
            text/plain:
              schema:
                type: string
      operationId: getLlmsTxt
      x-operation-id-source: derived
  /robots.txt:
    get:
      tags:
      - Discovery
      summary: Crawler policy and the sitemap pointer
      security: []
      responses:
        '200':
          description: Robots rules.
          content:
            text/plain:
              schema:
                type: string
      operationId: getRobotsTxt
      x-operation-id-source: derived
  /api/public/tools:
    get:
      tags:
      - Discovery
      summary: Every agent tool, with its arguments
      description: The same tool table MCP serves from `tools/list`, for callers who do not speak JSON-RPC. Includes `get_rate_card`, `request_quote` and `check_availability`, which previously had no REST route — so a REST-only integrator could search a business and could not price anything.
      security: []
      responses:
        '200':
          description: The tool table.
          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: getApiPublicTools
      x-operation-id-source: derived
  /sitemap.xml:
    get:
      tags:
      - Discovery
      summary: Every public profile URL
      security: []
      responses:
        '200':
          description: A sitemap.
          content:
            application/xml:
              schema:
                type: string
      operationId: getSitemapXml
      x-operation-id-source: derived
  /openapi.json:
    get:
      tags:
      - Discovery
      summary: This document
      security: []
      responses:
        '200':
          description: The OpenAPI description.
          content:
            application/json:
              schema:
                type: object
      operationId: getOpenapiJson
      x-operation-id-source: derived
  /.well-known/tunnel-trust.json:
    get:
      tags:
      - Discovery
      summary: Attestation signing key and rotation metadata
      security: []
      responses:
        '200':
          description: Key metadata.
          content:
            application/json:
              schema:
                type: object
      operationId: getWellKnownTunnelTrustJson
      x-operation-id-source: derived
  /.well-known/jwks.json:
    get:
      tags:
      - Discovery
      summary: The same keys as an RFC 7517 JWKS
      description: Verify any tunnel attestation with a standard JWS library and nothing else.
      security: []
      responses:
        '200':
          description: A JWKS.
          content:
            application/json:
              schema:
                type: object
      operationId: getWellKnownJwksJson
      x-operation-id-source: derived
  /.well-known/oauth-authorization-server:
    get:
      tags:
      - Discovery
      summary: RFC 8414 authorization server metadata
      security: []
      responses:
        '200':
          description: AS metadata.
          content:
            application/json:
              schema:
                type: object
      operationId: getWellKnownOauthAuthorizationServer
      x-operation-id-source: derived
  /.well-known/oauth-protected-resource:
    get:
      tags:
      - Discovery
      summary: RFC 9728 protected resource metadata for the MCP endpoint
      security: []
      responses:
        '200':
          description: PR metadata.
          content:
            application/json:
              schema:
                type: object
      operationId: getWellKnownOauthProtectedResource
      x-operation-id-source: derived
components:
  schemas:
    Pricing:
      type: object
      required:
      - currency
      - interval
      - plans
      properties:
        currency:
          type: string
          description: ISO 4217. EUR — the initial market is Moldova and Romania.
        interval:
          type: string
          enum:
          - month
        plans:
          type: array
          items:
            type: object
            required:
            - id
            - amount
            - currency
            properties:
              id:
                type: string
              amount:
                type: number
              currency:
                type: string
              summary:
                type:
                - string
                - 'null'
        crawlerUpgrades:
          type: array
          items:
            type: object
        notes:
          type: object
          description: Facts that a price alone does not carry — notably that plans are not self-serve today.
          additionalProperties: true
    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.