Teppi Exposure API

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

GitHub OpenAPI

Operations 1

POST /v1/exposure Looks up every paid endpoint your agents call at once and adds them up by the… #

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-exposure-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-exposure-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teppi Exposure 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: exposure
paths:
  /v1/exposure:
    post:
      operationId: fleetExposure
      summary: Looks up every paid endpoint your agents call at once and adds them up by the…
      tags:
      - exposure
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                dependencies:
                  type: array
                  minItems: 1
                  maxItems: 200
                  description: the paid endpoints your agents call, each a url or an object naming one
                  items:
                    anyOf:
                    - type: string
                      minLength: 1
                      maxLength: 2048
                    - type: object
                      properties:
                        url:
                          type: string
                          minLength: 1
                          maxLength: 2048
                        method:
                          type: string
                          enum:
                          - GET
                          - POST
                        pay_to:
                          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
                        calls_per_month:
                          type: integer
                          minimum: 0
                          maximum: 1000000000
                          description: how often your fleet calls it, to add up what it costs
                      required:
                      - url
                      additionalProperties: false
              required:
              - dependencies
              additionalProperties: false
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                description: a fleet's paid dependencies, each looked up as a check is, added up by who gets paid
                properties:
                  schema:
                    type: string
                    const: teppi.exposure.v1
                    description: this document
                  dependencies:
                    type: array
                    description: one line per dependency, in the order asked
                    items:
                      type: object
                      properties:
                        asked:
                          type: string
                          description: the url or id as sent
                        capability_id:
                          type:
                          - string
                          - 'null'
                          description: the endpoint the record matched, or null
                        matched:
                          type: string
                          enum:
                          - exact
                          - path
                          - none
                          description: how
                        standing:
                          type: string
                          enum:
                          - not_in_record
                          - took_the_money
                          - listing_mismatch
                          - lettered
                          - paid_no_letter
                          - handshake_only
                          description: what to look at first; not_in_record and handshake_only mean unknown
                        band:
                          type: string
                          enum:
                          - A
                          - B
                          - C
                          - D
                          - F
                          - UNRATED
                          description: the deepest card, UNRATED if none
                        tier:
                          type:
                          - string
                          - 'null'
                          enum:
                          - LIVENESS_VERIFIED
                          - DELIVERY_VERIFIED
                          - OUTCOME_VERIFIED
                          - null
                          description: what it stands on
                        sample_count:
                          type: integer
                          minimum: 0
                          description: samples behind the card
                        computed_at:
                          type:
                          - string
                          - 'null'
                          description: when the card was worked out
                        paid_calls:
                          type: integer
                          minimum: 0
                          description: paid calls the record holds, less any we withdrew
                        took_the_money:
                          type: integer
                          minimum: 0
                          description: of those, settled with nothing back
                        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 the listing gets wrong before payment
                        price:
                          type:
                          - string
                          - 'null'
                          pattern: ^\d+\.\d{1,6}$
                          description: the listed price
                        payout:
                          type:
                          - string
                          - 'null'
                          description: the address it pays, when the 402 or the record names one
                        pay_to_seen_before:
                          type:
                          - boolean
                          - 'null'
                          description: the pay_to sent is one this seller was seen paying; null when unknowable
                        calls_per_month:
                          type:
                          - integer
                          - 'null'
                          minimum: 0
                          description: as sent
                        monthly_spend:
                          type:
                          - string
                          - 'null'
                          pattern: ^\d+\.\d{1,6}$
                          description: price times calls_per_month
                        card:
                          type:
                          - string
                          - 'null'
                          description: the signed card
                        reproduce:
                          type:
                          - string
                          - 'null'
                          description: the command that reruns the free handshake
                      required:
                      - asked
                      - capability_id
                      - matched
                      - standing
                      - band
                      - tier
                      - defects
                  by_payout:
                    type: array
                    description: each address the fleet pays, and everything the record holds behind it
                    items:
                      type: object
                      properties:
                        payout:
                          type: string
                          description: the address
                        your_dependencies:
                          type: integer
                          minimum: 0
                          description: of the dependencies sent, how many pay it
                        origins:
                          type: integer
                          minimum: 0
                          description: origins behind it
                        listed:
                          type: integer
                          minimum: 0
                          description: active endpoints behind it
                        lettered:
                          type: integer
                          minimum: 0
                          description: of those, holding a letter
                        best_band:
                          type:
                          - string
                          - 'null'
                          description: the best letter behind it
                        with_defects:
                          type: integer
                          minimum: 0
                          description: of those, with a listing defect
                        took_the_money:
                          type: integer
                          minimum: 0
                          description: of those, with a paid call settled and nothing back
                      required:
                      - payout
                      - your_dependencies
                      - listed
                      - took_the_money
                  totals:
                    type: object
                    description: the lines added up; spend counts only lines that sent calls_per_month
                    properties:
                      dependencies:
                        type: integer
                        minimum: 0
                        description: lines
                      not_in_record:
                        type: integer
                        minimum: 0
                        description: unknown to the record
                      took_the_money:
                        type: integer
                        minimum: 0
                        description: settled with nothing back
                      listing_mismatch:
                        type: integer
                        minimum: 0
                        description: a defect before payment
                      lettered:
                        type: integer
                        minimum: 0
                        description: holding a letter
                      paid_no_letter:
                        type: integer
                        minimum: 0
                        description: paid for, too few samples for a letter
                      handshake_only:
                        type: integer
                        minimum: 0
                        description: answers a handshake, never paid for
                      payouts:
                        type: integer
                        minimum: 0
                        description: distinct addresses paid
                      priced:
                        type: integer
                        minimum: 0
                        description: lines with a spend
                      monthly_spend:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: all of it
                      monthly_spend_where_the_record_shows_a_failure:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: took the money, a defect, D or F
                      monthly_spend_not_yet_measured:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: 'no letter and no failure shown: unknown'
                  watch:
                    type: object
                    description: where to be told when a card falls
                    properties:
                      url:
                        type: string
                        description: the endpoint
                      says:
                        type: string
                        description: what to post
                  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:
                - schema
                - dependencies
                - by_payout
                - totals
                - answered_at
                - signature