Roundhouse Telemetry API

Self-reported call telemetry from x402 clients. Kept apart from the settlement index, which is chain-verified.

GitHub OpenAPI

Operations 1

POST /telemetry Submit client-reported x402 call telemetry #

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-telemetry-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-telemetry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Roundhouse read Telemetry 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: Telemetry
  description: Self-reported call telemetry from x402 clients. Kept apart from the settlement index, which is chain-verified.
paths:
  /telemetry:
    post:
      operationId: ingestTelemetry
      summary: Submit client-reported x402 call telemetry
      description: 'The sink endpoint for the `@roundhouseai/x402` client''s remote telemetry (`telemetry.sink`). Post `{ records: [...] }` — one ledger record per call the client made, paid or not. What lands is self-reported: it is stored apart from the settlement index, is never promoted into it, and is never counted in any aggregate. Request and response bodies are stripped before anything is written, whatever payload level the client sent. Ingest is idempotent on each record''s own id, so replaying a batch is safe.'
      tags:
      - Telemetry
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    description: Always true on a stored batch.
                  accepted:
                    description: Records written. A record already held counts here too.
                  invalid:
                    description: Records the schema rejected. Reported, never fatal to the batch.
                  truncated:
                    description: Records dropped for exceeding the per-request cap.
        '400':
          description: '`invalid_json` malformed body, or `invalid_batch` — not `{ records: [...] }`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`invalid_api_key` — not found, revoked, or expired.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited` — 6 batches/minute anonymous, 120 with a key.'
          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: '`records` is the client ledger batch. A batch above 2,000 records is truncated rather than refused, because refusing one wedges the client outbox replaying it.'
        content:
          application/json:
            schema:
              type: object
            example:
              records:
              - id: 01J8ZK3M9Q
                ts: '2026-08-26T13:43:02.114Z'
                url: https://provider.example/v1/lei
                method: GET
                payment:
                  paid: true
                  amount: '0.002'
                  asset: usdc
                  chain: eip155:8453
                response:
                  status: 200
                  latencyMs: 412
                exitCode: 0
      security:
      - {}
      - bearerAuth: []
      - apiKeyHeader: []
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.