Satledger X402 API

The X402 API from Satledger — 3 operation(s) for x402.

GitHub OpenAPI

Operations 6

GET /x402/provision X402 Provision #
POST /x402/provision X402 Provision #
GET /x402/receipt X402 Receipt #
POST /x402/receipt X402 Receipt #
GET /x402/topup X402 Topup #
POST /x402/topup X402 Topup #

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/satledger-org:satledger-org-x402-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

satledger-org-x402-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: satledger X402 API
  description: Verifiable usage ledgers for AI agents, built on SATROOT.
  version: 0.22.2
tags:
- name: X402
paths:
  /x402/provision:
    get:
      summary: X402 Provision
      description: 'Agent-native provisioning: pay over x402, get a workspace back.


        Returns 402 with payment requirements until a settled payment arrives.'
      operationId: x402_provision_terms
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response X402 Provision Terms
        '402':
          description: Payment required. The PAYMENT-REQUIRED header carries a v2 PaymentRequired object; retry with PAYMENT-SIGNATURE.
      x-payment-info:
        protocols:
        - x402
        price:
          mode: dynamic
          currency: USD
          min: '0.50'
          max: '15.00'
      tags:
      - X402
    post:
      summary: X402 Provision
      description: 'Agent-native provisioning: pay over x402, get a workspace back.


        Returns 402 with payment requirements until a settled payment arrives.'
      operationId: x402_provision_purchase
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response X402 Provision Purchase
        '402':
          description: Payment required. The PAYMENT-REQUIRED header carries a v2 PaymentRequired object; retry with PAYMENT-SIGNATURE.
      x-payment-info:
        protocols:
        - x402
        price:
          mode: dynamic
          currency: USD
          min: '0.50'
          max: '15.00'
      tags:
      - X402
  /x402/receipt:
    get:
      summary: X402 Receipt
      description: 'One RFC 3161 timestamp receipt over a digest the caller supplies.


        No account, no API key, nothing stored here afterwards: the response is

        the whole deliverable.


        ------------------------------------------------------------------

        WHY THE PAYMENT IS VERIFIED FIRST AND SETTLED LAST

        ------------------------------------------------------------------

        This resource does real work that can fail independently of the

        payment - a Time-Stamp Authority can be down. Settling first makes

        "you paid and got nothing" indistinguishable from success as far as

        the buyer''s balance is concerned, and they would have no way to tell

        it from a refusal.


        So: verify the payment, obtain the token, then settle. A caller is

        never charged for a receipt this service could not produce. What that

        costs is a timestamp request made before payment is final - free, to a

        public authority - which is much the cheaper mistake to make.'
      operationId: x402_receipt_terms
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response X402 Receipt Terms
        '402':
          description: Payment required. The PAYMENT-REQUIRED header carries a v2 PaymentRequired object; retry with PAYMENT-SIGNATURE.
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.05'
      tags:
      - X402
    post:
      summary: X402 Receipt
      description: 'One RFC 3161 timestamp receipt over a digest the caller supplies.


        No account, no API key, nothing stored here afterwards: the response is

        the whole deliverable.


        ------------------------------------------------------------------

        WHY THE PAYMENT IS VERIFIED FIRST AND SETTLED LAST

        ------------------------------------------------------------------

        This resource does real work that can fail independently of the

        payment - a Time-Stamp Authority can be down. Settling first makes

        "you paid and got nothing" indistinguishable from success as far as

        the buyer''s balance is concerned, and they would have no way to tell

        it from a refusal.


        So: verify the payment, obtain the token, then settle. A caller is

        never charged for a receipt this service could not produce. What that

        costs is a timestamp request made before payment is final - free, to a

        public authority - which is much the cheaper mistake to make.'
      operationId: x402_receipt_purchase
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response X402 Receipt Purchase
        '402':
          description: Payment required. The PAYMENT-REQUIRED header carries a v2 PaymentRequired object; retry with PAYMENT-SIGNATURE.
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.05'
      tags:
      - X402
  /x402/topup:
    get:
      summary: X402 Topup
      description: 'Buy more units for the workspace you already have.


        Until this existed, units could only be granted by provisioning, and

        provisioning always minted a new tenant. So a customer who ran low

        had no way to buy more: paying again produced a second, empty

        workspace under a different key, with none of their ledger in it.

        The only external buyer this service has had bought provisioning

        twice and used neither, which is what that looks like from outside.


        Authenticated as well as paid, because the question "which workspace"

        has to be answered by someone entitled to answer it. The key proves

        the workspace is theirs; the payment buys the units.'
      operationId: x402_topup_terms
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response X402 Topup Terms
        '402':
          description: Payment required. The PAYMENT-REQUIRED header carries a v2 PaymentRequired object; retry with PAYMENT-SIGNATURE.
      security:
      - APIKeyHeader: []
      x-payment-info:
        protocols:
        - x402
        price:
          mode: dynamic
          currency: USD
          min: '0.50'
          max: '15.00'
      tags:
      - X402
    post:
      summary: X402 Topup
      description: 'Buy more units for the workspace you already have.


        Until this existed, units could only be granted by provisioning, and

        provisioning always minted a new tenant. So a customer who ran low

        had no way to buy more: paying again produced a second, empty

        workspace under a different key, with none of their ledger in it.

        The only external buyer this service has had bought provisioning

        twice and used neither, which is what that looks like from outside.


        Authenticated as well as paid, because the question "which workspace"

        has to be answered by someone entitled to answer it. The key proves

        the workspace is theirs; the payment buys the units.'
      operationId: x402_topup_purchase
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response X402 Topup Purchase
        '402':
          description: Payment required. The PAYMENT-REQUIRED header carries a v2 PaymentRequired object; retry with PAYMENT-SIGNATURE.
      security:
      - APIKeyHeader: []
      x-payment-info:
        protocols:
        - x402
        price:
          mode: dynamic
          currency: USD
          min: '0.50'
          max: '15.00'
      tags:
      - X402
components:
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key