Teppi Buy API

The buy API from Teppi — 2 operation(s) for buy.

GitHub OpenAPI

Operations 3

POST /v1/route/execute Buys every step of a plan from /v1/route/plan with one payment, and settles it… #
GET /v1/via/{capability_id} Buys one call to a listed GET endpoint for you, with the query you send, and… #
POST /v1/via/{capability_id} Buys one call to a listed POST endpoint for you, with the json body you send… #

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-buy-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-buy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teppi Buy 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: Buy
paths:
  /v1/route/execute:
    post:
      operationId: executePlan
      summary: Buys every step of a plan from /v1/route/plan with one payment, and settles it…
      tags:
      - Buy
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                plan_id:
                  type: string
                  pattern: ^pln_[0-9A-HJKMNP-TV-Z]{26}$
                inputs:
                  type: object
                  description: 'Each step''s input by its index. {"$from": {"step": 0, "pointer": "/id"}} copies a value out of an earlier step''s answer.'
              required:
              - plan_id
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
        '402':
          description: 'payment required: the seller''s price plus the fee, in the body and the payment-required header'
        '424':
          description: the seller could not be bought or its answer failed its checks, and nothing was charged
      x-teppi-fee:
        basis_points: 1000
        minimum: '0.002000'
        asset: USDC
        'on': the seller's price
  /v1/via/{capability_id}:
    get:
      operationId: buyOnDelivery
      summary: Buys one call to a listed GET endpoint for you, with the query you send, and…
      tags:
      - Buy
      parameters:
      - name: capability_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^cap_[0-9A-HJKMNP-TV-Z]{26}$
          description: The endpoint to buy, by the id the record lists it under.
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
        '402':
          description: 'payment required: the seller''s price plus the fee, in the body and the payment-required header'
        '424':
          description: the seller could not be bought or its answer failed its checks, and nothing was charged
      x-teppi-fee:
        basis_points: 1000
        minimum: '0.002000'
        asset: USDC
        'on': the seller's price
    post:
      operationId: buyOnDeliveryPost
      summary: Buys one call to a listed POST endpoint for you, with the json body you send…
      tags:
      - Buy
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: The seller's own request body, as its listing describes it.
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
        '402':
          description: 'payment required: the seller''s price plus the fee, in the body and the payment-required header'
        '424':
          description: the seller could not be bought or its answer failed its checks, and nothing was charged
      x-teppi-fee:
        basis_points: 1000
        minimum: '0.002000'
        asset: USDC
        'on': the seller's price