Teppi Ledger API

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

GitHub OpenAPI

Operations 1

GET /v1/buyers/{address}/orders Lists every purchase an address made on delivery, with what it was charged and… #

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-ledger-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-ledger-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teppi Ledger 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: Ledger
paths:
  /v1/buyers/{address}/orders:
    get:
      operationId: buyerOrders
      summary: Lists every purchase an address made on delivery, with what it was charged and…
      tags:
      - Ledger
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                description: one buyer's purchases, answered only to that address's signature
                properties:
                  buyer:
                    type: string
                    description: the address
                  totals:
                    type: object
                    properties:
                      orders:
                        type: integer
                        minimum: 0
                        description: orders
                      passed:
                        type: integer
                        minimum: 0
                        description: passed and charged
                      not_charged:
                        type: integer
                        minimum: 0
                        description: failed and not charged
                      charged:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: what the buyer was charged
                      covered_for_you:
                        type: string
                        pattern: ^\d+\.\d{1,6}$
                        description: what Teppi paid sellers for answers that failed
                  page:
                    type: integer
                    minimum: 0
                    description: the page
                  orders:
                    type: array
                    items:
                      type: object
                      properties:
                        order_id:
                          type: string
                          description: the order
                        kind:
                          type: string
                          description: via or plan
                        status:
                          type: string
                          description: its status
                        reason:
                          type:
                          - string
                          - 'null'
                          description: why it did not pass
                        capability:
                          type:
                          - object
                          - 'null'
                          description: the endpoint
                        plan_id:
                          type:
                          - string
                          - 'null'
                          description: the plan
                        total:
                          type: string
                          pattern: ^\d+\.\d{1,6}$
                          description: what it was quoted
                        charged:
                          type:
                          - string
                          - 'null'
                          pattern: ^\d+\.\d{1,6}$
                          description: what was charged
                        opened_at:
                          type: string
                          description: when it was opened
                required:
                - buyer
                - totals
                - page
                - orders