KG-NINJA A2a API

Synchronous A2A 1.0 JSON-RPC quote preparation

Operations 2

GET /.well-known/agent-card.json Get the A2A 1.0 Agent Card #
POST /a2a Use the A2A 1.0 JSON-RPC interface #

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/kgninja-dev:kgninja-dev-a2a-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

kgninja-dev-a2a-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agent Verification Utility A2a API
  version: 0.4.3
  description: A deterministic, x402-paid JSON evidence verification service for external agents. The service attests that declared checks were executed; it does not attest real-world truth.
  license:
    name: UNLICENSED
servers:
- url: /
  description: Relative to the current deployment origin
security: []
tags:
- name: a2a
  description: Synchronous A2A 1.0 JSON-RPC quote preparation
paths:
  /.well-known/agent-card.json:
    get:
      operationId: getA2aAgentCard
      summary: Get the A2A 1.0 Agent Card
      description: Advertises the synchronous JSON-RPC interface and its bounded quote-preparation skill.
      tags:
      - a2a
      responses:
        '200':
          description: A2A Agent Card
          content:
            application/json:
              schema:
                type: object
  /a2a:
    post:
      operationId: sendA2aMessage
      summary: Use the A2A 1.0 JSON-RPC interface
      description: Implements A2A 1.0 SendMessage for idempotent quote preparation. The message must contain one application/json data part with idempotency_key and intent; intent includes the unchanged request and spend policy plus the digest returned by the free precheck. The returned agent message contains a bound quote and purchase instructions; it does not execute paid work. Because this adapter never creates A2A Tasks, ListTasks returns an empty collection while GetTask and CancelTask return TaskNotFoundError. Streaming, push notifications, and extended cards return their capability-specific A2A errors.
      tags:
      - a2a
      parameters:
      - name: A2A-Version
        in: header
        required: true
        schema:
          type: string
          const: '1.0'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: JSON-RPC result or error
          headers:
            A2A-Version:
              required: true
              schema:
                type: string
                const: '1.0'
          content:
            application/json:
              schema:
                type: object
        '405':
          description: Only POST is supported
components:
  securitySchemes:
    agentRegistration:
      type: http
      scheme: bearer
      bearerFormat: signed anonymous registration receipt
      description: Optional 15-minute service-local receipt used only to inspect its own registration claim. It grants no API access and does not authorize payment.