Teppi Policy API

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

GitHub OpenAPI

Operations 1

GET /v1/policy/payouts Lists payout addresses where at least three paid calls settled and brought back… #

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-policy-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-policy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teppi Policy 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: Policy
paths:
  /v1/policy/payouts:
    get:
      operationId: policyPayouts
      summary: Lists payout addresses where at least three paid calls settled and brought back…
      tags:
      - Policy
      parameters:
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - json
          - plain
          - cdp
          - privy
      - name: list
        in: query
        required: false
        schema:
          type: string
          enum:
          - refused
          - measured
      - name: cap
        in: query
        required: false
        schema:
          type: string
          pattern: ^(0|[1-9]\d*)(\.\d{1,6})?$
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                description: payout addresses a wallet signing policy can refuse, each with the paid calls that put it on the list
                properties:
                  schema:
                    type: string
                    const: teppi.policy.v1
                    description: this document
                  rule:
                    type: string
                    description: the whole rule, so the same counts give the same list
                  says:
                    type: string
                    description: what a refusal reaches and what the formats are
                  entries:
                    type: array
                    items:
                      type: object
                      properties:
                        payout:
                          type: string
                          description: the address
                        paid:
                          type: integer
                          minimum: 0
                          description: our paid calls to it, less any a correction set aside
                        kept:
                          type: integer
                          minimum: 0
                          description: of those, settled with nothing usable back
                        kept_share:
                          type: number
                          minimum: 0
                          maximum: 1
                          description: kept over paid
                        kept_share_low:
                          type: number
                          minimum: 0
                          maximum: 1
                          description: 95% Wilson lower bound
                        endpoints:
                          type: integer
                          minimum: 0
                          description: endpoints behind it that kept a payment
                        origins:
                          type: integer
                          minimum: 0
                          description: origins behind the address, which a refusal reaches
                        last_kept_at:
                          type:
                          - string
                          - 'null'
                          description: the latest kept payment
                        wrong:
                          type: integer
                          minimum: 0
                          description: of those, settled with an answer whose deepest check failed
                        wrong_share_low:
                          type: number
                          minimum: 0
                          maximum: 1
                          description: 95% Wilson lower bound of kept and wrong together over paid
                        last_wrong_at:
                          type:
                          - string
                          - 'null'
                          description: the latest paid answer found wrong
                        why:
                          type: array
                          items:
                            type: string
                            enum:
                            - kept
                            - wrong
                          description: 'which rule listed it: kept money for nothing, or mostly wrong'
                        evidence:
                          type: array
                          items:
                            type: string
                          description: the newest kept calls
                        seller_page:
                          type: string
                          description: where the record behind the address is shown
                      required:
                      - payout
                      - paid
                      - kept
                      - kept_share_low
                      - origins
                      - evidence
                  formats:
                    type: object
                    properties:
                      plain:
                        type: string
                        description: one address a line
                      cdp:
                        type: string
                        description: rules for the Coinbase CDP policy engine
                      privy:
                        type: string
                        description: a rule for a Privy policy
                  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
                - rule
                - entries
                - answered_at
                - signature