Glyph Payment API

The Payment API from Glyph — 4 operation(s) for payment.

GitHub OpenAPI

Operations 4

GET /v1/payment/account/{address} Payment Account #
GET /v1/payment/transactions/{address} Payment Transactions #
POST /v1/payment/challenge Payment Challenge #
GET /v1/payment/info Payment Info #

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/glyphapi-dev:glyphapi-dev-payment-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

glyphapi-dev-payment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Glyph Payment API
  description: 'A language for agents: encode content into the cheapest substrate the reading model can parse, with honest per-reader token math. Fillin is the retrieval product — a time-series index of the dev internet that closes the gap between an LLM''s training cutoff and now.'
  version: 0.1.0
tags:
- name: Payment
paths:
  /v1/payment/account/{address}:
    get:
      summary: Payment Account
      operationId: payment_account_v1_payment_account__address__get
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
          title: Address
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Payment
  /v1/payment/transactions/{address}:
    get:
      summary: Payment Transactions
      description: 'Return on-chain USDC deposits seen by the monitor for `address`.


        Public — addresses and tx hashes are public. Lets a paying agent verify

        its top-up landed before retrying a /query, and gives operators an audit

        surface that doesn''t require shell access to the SQLite ledger.'
      operationId: payment_transactions_v1_payment_transactions__address__get
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
          title: Address
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Payment
  /v1/payment/challenge:
    post:
      summary: Payment Challenge
      description: 'Mint a one-shot signing challenge. Required before every paid /query.


        The returned `message` is what the client''s wallet must sign with EIP-191

        personal_sign. The signature + this nonce prove the caller controls the

        private key for `address` and cannot be spoofed by a third party.'
      operationId: payment_challenge_v1_payment_challenge_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChallengeIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Payment
  /v1/payment/info:
    get:
      summary: Payment Info
      description: 'x402-style payment discovery. Unauthed: clients need this to pay.


        Mirrors GLYPH''s /v1/payment/info contract so agents that already speak

        the GLYPH wallet handshake can pay Fillin the same way. When the server

        advertises multiple chains (FILLIN_NETWORKS), `networks` enumerates them

        all; the top-level `network`/`usdc_contract` remain set to the primary

        chain for clients that haven''t been updated to read the list.'
      operationId: payment_info_v1_payment_info_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Payment
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ChallengeIn:
      properties:
        address:
          type: string
          maxLength: 42
          minLength: 42
          title: Address
      type: object
      required:
      - address
      title: ChallengeIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer