Teppi Check API

The check API from Teppi — 1 operation(s) for check.

GitHub OpenAPI

Operations 1

GET /v1/check Returns what the record holds about any x402 endpoint url before you pay 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/teppi-xyz:teppi-xyz-check-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

teppi-xyz-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teppi Check API
  description: The record of what happened when someone paid a machine service. Every entry carries the settlement transaction, the hashes of what was sent and returned, and the check that ran.
  version: 0.1.0
servers:
- url: https://api.teppi.xyz
tags:
- name: Check
paths:
  /v1/check:
    get:
      operationId: checkBeforePaying
      summary: Returns what the record holds about any x402 endpoint url before you pay it…
      tags:
      - Check
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          format: uri
          minLength: 8
          maxLength: 2048
      - name: method
        in: query
        required: false
        schema:
          type: string
          enum:
          - GET
          - POST
      - name: pay_to
        in: query
        required: false
        schema:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$|^urn:x402:[A-Za-z0-9:._-]{1,100}$
          description: the payTo from the 402, to learn what the record knows about who gets paid; a urn is read as none
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                description: what the record holds about the url, signed with the check key
                properties:
                  band:
                    type: string
                    enum:
                    - A
                    - B
                    - C
                    - D
                    - F
                    - UNRATED
                    description: a letter, or UNRATED when not enough is known
                  tier:
                    type:
                    - string
                    - 'null'
                    enum:
                    - LIVENESS_VERIFIED
                    - DELIVERY_VERIFIED
                    - OUTCOME_VERIFIED
                    - null
                    description: what measured it
                  composite:
                    type:
                    - number
                    - 'null'
                    description: the number the letter summarises
                  why:
                    type: string
                    description: why the grade is what it is, in words
                  asked:
                    type: string
                    description: the url or id as it was asked
                  matched:
                    type: string
                    enum:
                    - exact
                    - path
                    - none
                    description: 'how the url met the record: exactly, by path alone, or not at all'
                  defects:
                    type: array
                    items:
                      type: object
                      properties:
                        defect:
                          type: string
                          description: what the listing gets wrong
                        says:
                          type: string
                          description: the same in words
                        seenAt:
                          type:
                          - string
                          - 'null'
                          description: when it was last seen
                      required:
                      - defect
                      - says
                    description: what is wrong with the listing
                  capabilityId:
                    type: string
                    description: the endpoint in the record, when it is there
                  url:
                    type: string
                    description: the url the record holds for it
                  components:
                    type:
                    - object
                    - 'null'
                    description: every part of the grade, each with its bound and sample count
                    properties:
                      liveness:
                        type: object
                        description: one measured part of the grade
                        properties:
                          point:
                            type:
                            - number
                            - 'null'
                            description: what the samples showed
                          lower:
                            type:
                            - number
                            - 'null'
                            description: the published lower bound
                          upper:
                            type:
                            - number
                            - 'null'
                            description: the upper bound, where one is computed
                          n_eff:
                            type: number
                            minimum: 0
                            description: effective samples behind it
                          method:
                            type: string
                            description: how the bound was computed
                        required:
                        - point
                        - lower
                        - n_eff
                        - method
                      correctness:
                        type: object
                        description: one measured part of the grade
                        properties:
                          point:
                            type:
                            - number
                            - 'null'
                            description: what the samples showed
                          lower:
                            type:
                            - number
                            - 'null'
                            description: the published lower bound
                          upper:
                            type:
                            - number
                            - 'null'
                            description: the upper bound, where one is computed
                          n_eff:
                            type: number
                            minimum: 0
                            description: effective samples behind it
                          method:
                            type: string
                            description: how the bound was computed
                        required:
                        - point
                        - lower
                        - n_eff
                        - method
                      honesty:
                        type: object
                        description: one measured part of the grade
                        properties:
                          point:
                            type:
                            - number
                            - 'null'
                            description: what the samples showed
                          lower:
                            type:
                            - number
                            - 'null'
                            description: the published lower bound
                          upper:
                            type:
                            - number
                            - 'null'
                            description: the upper bound, where one is computed
                          n_eff:
                            type: number
                            minimum: 0
                            description: effective samples behind it
                          method:
                            type: string
                            description: how the bound was computed
                        required:
                        - point
                        - lower
                        - n_eff
                        - method
                      schema_conformance:
                        type: object
                        description: one measured part of the grade
                        properties:
                          point:
                            type:
                            - number
                            - 'null'
                            description: what the samples showed
                          lower:
                            type:
                            - number
                            - 'null'
                            description: the published lower bound
                          upper:
                            type:
                            - number
                            - 'null'
                            description: the upper bound, where one is computed
                          n_eff:
                            type: number
                            minimum: 0
                            description: effective samples behind it
                          method:
                            type: string
                            description: how the bound was computed
                        required:
                        - point
                        - lower
                        - n_eff
                        - method
                      latency_p95:
                        type: object
                        description: one measured part of the grade
                        properties:
                          point:
                            type:
                            - number
                            - 'null'
                            description: what the samples showed
                          lower:
                            type:
                            - number
                            - 'null'
                            description: the published lower bound
                          upper:
                            type:
                            - number
                            - 'null'
                            description: the upper bound, where one is computed
                          n_eff:
                            type: number
                            minimum: 0
                            description: effective samples behind it
                          method:
                            type: string
                            description: how the bound was computed
                        required:
                        - point
                        - lower
                        - n_eff
                        - method
                      price_stability:
                        type: object
                        description: one measured part of the grade
                        properties:
                          point:
                            type:
                            - number
                            - 'null'
                            description: what the samples showed
                          lower:
                            type:
                            - number
                            - 'null'
                            description: the published lower bound
                          upper:
                            type:
                            - number
                            - 'null'
                            description: the upper bound, where one is computed
                          n_eff:
                            type: number
                            minimum: 0
                            description: effective samples behind it
                          method:
                            type: string
                            description: how the bound was computed
                        required:
                        - point
                        - lower
                        - n_eff
                        - method
                  sampleCount:
                    type: integer
                    minimum: 0
                    description: samples behind the grade
                  computedAt:
                    type:
                    - string
                    - 'null'
                    description: when the grade was computed
                  observationsSince:
                    type: integer
                    minimum: 0
                    description: observations newer than the grade
                  withdrawnSince:
                    type: integer
                    minimum: 0
                    description: records the grade stood on that a correction withdrew after it was signed; when it equals sampleCount the grade stands on nothing
                  flags:
                    type: array
                    items:
                      type: string
                    description: conditions on the grade
                  observed:
                    type: object
                    description: what the free handshakes saw
                    properties:
                      probes:
                        type: integer
                        minimum: 0
                        description: handshakes
                      answered:
                        type: integer
                        minimum: 0
                        description: handshakes it answered
                      askedForPayment:
                        type: integer
                        minimum: 0
                        description: handshakes answered with a 402
                      firstSeen:
                        type:
                        - string
                        - 'null'
                        description: the first handshake
                      lastSeen:
                        type:
                        - string
                        - 'null'
                        description: the newest handshake
                      spanDays:
                        type: number
                        description: days from the first handshake to now
                      advertised:
                        type:
                        - object
                        - 'null'
                        description: what its newest 402 asked
                        properties:
                          amount:
                            type: string
                            pattern: ^\d+\.\d{1,6}$
                            description: the price
                          asset:
                            type: string
                            description: the token
                          atomic:
                            type:
                            - string
                            - 'null'
                            description: the same price in the token's smallest unit, as a 402 states it
                          networks:
                            type: array
                            items:
                              type: string
                            description: CAIP-2 ids
                      distinctPrices:
                        type: integer
                        minimum: 0
                        description: prices seen
                      protocols:
                        type: array
                        items:
                          type: string
                        description: x402, mpp
                  reproduce:
                    type:
                    - string
                    - 'null'
                    description: the command that runs the same handshake without us
                  scorecard:
                    type:
                    - string
                    - 'null'
                    description: the signed card behind the grade
                  corrections:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: the correction id
                        fault:
                          type: string
                          description: which of our own faults it names
                        says:
                          type: string
                          description: what we got wrong
                        issuedAt:
                          type: string
                          description: when it was issued
                        recordId:
                          type:
                          - string
                          - 'null'
                          description: the one record it names, or null for all of them
                        gradeAt:
                          type:
                          - string
                          - 'null'
                          description: the one grade it names, or null
                      required:
                      - id
                      - fault
                      - says
                      - issuedAt
                    description: what we got wrong about it
                  queued:
                    type: boolean
                    description: a url never seen, now in line for a handshake
                  next:
                    type: string
                    description: what to do next about a url the record has not seen
                  payee:
                    type:
                    - object
                    - 'null'
                    description: what the record knows about whoever pay_to names
                    properties:
                      address:
                        type: string
                        description: the payout address
                      origins:
                        type: array
                        items:
                          type: string
                        description: origins that pay it
                      listed:
                        type: integer
                        minimum: 0
                        description: active endpoints behind it
                      graded:
                        type: integer
                        minimum: 0
                        description: of those, holding a letter
                      bestBand:
                        type:
                        - string
                        - 'null'
                        description: the best letter behind it
                      withDefects:
                        type: integer
                        minimum: 0
                        description: of those, with a listing defect
                  buy:
                    type: object
                    description: how to buy it through Teppi and be charged only if the answer passes
                    properties:
                      url:
                        type: string
                        description: where to send the call
                      method:
                        type: string
                        description: GET or POST
                      seller_price:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: the seller's price as its own 402 last asked it
                      fee:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: Teppi's fee on that price
                      total:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: an estimate; the via url quotes again off the seller now
                      asset:
                        type: string
                        description: USDC
                      guarantee:
                        type: string
                        description: when the buyer is charged
                      publish:
                        type: string
                        description: the header that puts the call in the record
                  answered_at:
                    type: string
                    description: when this answer was given
                  signing_key_id:
                    type:
                    - string
                    - 'null'
                    description: the published key that signed this answer
                  canonicalization:
                    type: string
                    description: 'how the signed bytes were made: RFC8785'
                  signature:
                    type:
                    - string
                    - 'null'
                    description: ed25519 over the canonical bytes of everything else here
                required:
                - band
                - tier
                - composite
                - why
                - asked
                - matched
                - defects
                - answered_at
                - signing_key_id
                - signature