Roundhouse KYA API

Signed agent attestations and the payment memos that commit to them.

GitHub OpenAPI

Operations 3

GET /kya/{digest} Read one KYA attestation #
GET /kya/agents/{wallet} Attestations by one signer #
POST /kya/verify Verify an attestation without storing it #

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/roundhouseai-io:roundhouseai-io-kya-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

roundhouseai-io-kya-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Roundhouse read KYA API
  version: '0'
  summary: The x402 settlement index and agent identity record, as JSON.
  description: 'Public, read-only, and free to start — no key required. Roundhouse indexes x402

    settlements and ERC-8004 identities into one queryable record.


    Two conventions worth knowing before you build against it:


    - **An empty array is an answer; a failure is not.** A refused query returns 503

    `upstream_unavailable` naming the resource, never 200 with an empty list. On a

    settlement index "no rows" would read as "nothing ever happened".

    - **Aggregates are per-entity.** Every figure is one wallet''s or one pair''s own. Site-wide

    totals are deliberately confined to the /stats page and are not served here.


    Cursor-paginated lists carry `next_before`; pass it back as `?before=`. The leaderboard is

    the exception and pages by `?offset=`.


    Every endpoint here is also a Model Context Protocol tool at `POST /v0/mcp`, gated by the

    same API key. See https://roundhouseai.io/docs/api/mcp.'
  license:
    name: Roundhouse terms
    url: https://roundhouseai.io/terms
  contact:
    name: Roundhouse
    url: https://roundhouseai.io/docs/api
servers:
- url: https://api.roundhouseai.io/v0
  description: Canonical base URL. The API worker on its own host, isolated from the dashboard.
- url: https://roundhouseai.io/api/v0
  description: The same API through the dashboard origin. Same responses, one more hop; needs no CORS from a browser on that origin.
tags:
- name: KYA
  description: Signed agent attestations and the payment memos that commit to them.
paths:
  /kya/{digest}:
    get:
      operationId: getAttestation
      summary: Read one KYA attestation
      description: A published, verified attestation by its memo digest. The read re-derives the digest from the stored document, so a record that resolves is proof rather than a lookup.
      tags:
      - KYA
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  attestation:
                    description: The canonical document.
                  signature:
                    description: The signature over it, and which method recovered.
                  settlement:
                    description: The settlement whose `authorization.nonce` committed to this digest, if one is indexed.
        '404':
          description: No published, verified attestation for this digest.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`upstream_unavailable` — the underlying query was refused. An empty array is a real answer; this is not one.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: digest
        in: path
        required: true
        description: sha256 of the canonical attestation, hex with `0x`.
        schema:
          type: string
  /kya/agents/{wallet}:
    get:
      operationId: listAgentAttestations
      summary: Attestations by one signer
      description: Published attestations signed by this wallet.
      tags:
      - KYA
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  wallet:
                    description: The signer queried.
                  attestations:
                    description: Published attestations, newest first.
        '400':
          description: '`unsupported_chain_family` — a Solana address (attestations are EVM signatures); `invalid_wallet` — not an EVM address.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`upstream_unavailable` — the underlying query was refused. An empty array is a real answer; this is not one.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: wallet
        in: path
        required: true
        description: 'EVM address. Case-insensitive — it is lowercased before lookup. A Solana address is refused with `unsupported_chain_family`: attestations are EVM signatures.'
        schema:
          type: string
        example: '0x6157a191c961290420c68c1aa73c84444d769055'
      - name: limit
        in: query
        required: false
        description: Rows to return. Clamped to 100; values outside the range are clamped, not rejected.
        schema:
          type: integer
          default: 50
          minimum: 1
          maximum: 100
  /kya/verify:
    post:
      operationId: verifyAttestation
      summary: Verify an attestation without storing it
      description: Stateless. Recomputes the digest and recovers the signature, and tells you which signing method matched. Nothing is written and nothing is published.
      tags:
      - KYA
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  valid:
                    description: Whether the signature recovered to `attestation.agent`.
                  digest:
                    description: The memo — sha256 of the canonical document.
                  method:
                    description: '`eip712` or `personal_sign`, whichever recovered.'
        '400':
          description: The document is malformed, expired, or outside the accepted `issuedAt` window.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`upstream_unavailable` — the underlying query was refused. An empty array is a real answer; this is not one.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        required: true
        description: The attestation document and its signature.
        content:
          application/json:
            schema:
              type: object
            example:
              attestation:
                kya: 1
                agent: '0x0000000000000000000000000000000000000000'
                chainId: 8453
                subject: ''
                statement: Replace this with the statement you signed.
                dataHash: '0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
                issuedAt: '2026-08-24T10:00:00.000Z'
                expiresAt: ''
                nonce: '0x1111111111111111111111111111111111111111111111111111111111111111'
              signature: 0x
components:
  schemas:
    Error:
      type: object
      description: Errors never echo the query or PostgREST's `details`/`hint`, both of which would leak the statement and its filter values.
      properties:
        error:
          type: string
          description: Stable machine-readable code.
        detail:
          type: string
          description: Human-readable explanation. May be absent.
      required:
      - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An `rh_live_…` key as a bearer token. Optional — raises rate limits.
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: The same key, as a header. Equivalent to the bearer form.