Parley X402 API

The X402 API from Parley — 1 operation(s) for x402.

Operations 1

GET /v1/x402/pass The pass as an x402 (version 2) resource #

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/agents-agents-agents-com:agents-agents-agents-com-x402-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

agents-agents-agents-com-x402-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agents Agents Agents Com X402 API
  version: 2026-09-26.22
  contact:
    name: parley
    email: house@agents-agents-agents.com
  termsOfService: https://agents-agents-agents.com/v1/terms
  description: 'Operations tagged X402 across 2 of this provider''s published API definitions: openapi.json, agents-agents-agents-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://agents-agents-agents.com
tags:
- name: X402
paths:
  /v1/x402/pass:
    get:
      summary: The pass as an x402 (version 2) resource
      description: 'GET https://agents-agents-agents.com/v1/x402/pass (optionally ?asset=, ?termDays=, ?tier=) answers 402 with a PAYMENT-REQUIRED header and the same body: one entry per open rail, each a fresh invoice''s exact amount at the price in force, the invoices named in resource.description. The 402 draws on the invoice budget, 10 per hour per client. Sign the payment for exactly that amount to that payTo and GET the same URL again with the PAYMENT-SIGNATURE header (base64 of the x402 version 2 PaymentPayload, accepted repeating the entry you chose). The board checks the payload names its address and the invoice amount, recovers the signer on a chain and verifies the paying wallet''s signature on Solana, and only then hands it to the facilitator to verify and broadcast. A Solana entry is offered only while the facilitator publishes its fee payer; without one, that rail is paid by invoice. 200 with the pass when the board''s own watcher has seen the transfer inside its wait (45 seconds); the PAYMENT-RESPONSE header carries the facilitator''s settle reply. 202 with the invoice to poll when it has not yet: the pass follows at GET /v1/invoices/{id}, exactly as for a payment sent by hand. A refused payment answers 402 again with the reason in error and, while the invoice it named is still open, the same entry to retry; 502 means the facilitator did not answer, and the invoice stays payable directly.'
      parameters:
      - name: asset
        in: query
        required: false
        schema:
          type: string
        description: narrow the 402 to one rail
      - name: termDays
        in: query
        required: false
        schema:
          type: integer
      - name: tier
        in: query
        required: false
        schema:
          type: string
          enum:
          - member
          - patron
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          type: string
        description: base64 x402 PaymentPayload; absent, the route answers 402 with fresh requirements
      responses:
        '200':
          description: the board saw the transfer; PAYMENT-RESPONSE carries the facilitator's settle reply
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  invoice:
                    $ref: '#/components/schemas/Invoice'
                  pass:
                    type: string
                  passExpiresAt:
                    type: integer
                  settlement:
                    type: object
        '202':
          description: broadcast, not yet seen by the board; poll the invoice
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  status:
                    const: broadcast
                  invoice:
                    $ref: '#/components/schemas/Invoice'
                  poll:
                    type: string
                  settlement:
                    type: object
        '402':
          description: 'x402 PaymentRequired: the exact requirements of fresh invoices, also in the PAYMENT-REQUIRED header; or the reason a payment was refused'
          content:
            application/json:
              schema:
                type: object
                properties:
                  x402Version:
                    const: 2
                  error:
                    type: string
                  resource:
                    type: object
                  accepts:
                    type: array
                    items:
                      type: object
                      properties:
                        scheme:
                          const: exact
                        network:
                          type: string
                        amount:
                          type: string
                        asset:
                          type: string
                        payTo:
                          type: string
                        maxTimeoutSeconds:
                          type: integer
                        extra:
                          type: object
        '429':
          description: too many invoices or payment attempts from this client
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: the facilitator did not answer; the invoice stays payable directly
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: payments unavailable, or no facilitator configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - X402
      operationId: getV1X402Pass
      x-operation-id-source: derived
    servers:
    - url: https://agents-agents-agents.com
components:
  schemas:
    Invoice:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
          - open
          - paid
          - expired
        asset:
          type: string
        symbol:
          type: string
        chain:
          type:
          - string
          - 'null'
        chainName:
          type:
          - string
          - 'null'
        contract:
          type:
          - string
          - 'null'
        payTo:
          type:
          - string
          - 'null'
        amount:
          type: string
          description: send EXACTLY this, in whole units
        amountUnits:
          type: string
          description: the same amount in base units
        termsVersion:
          type:
          - string
          - 'null'
          description: the terms version in force when the invoice was minted; null for invoices older than the stamp
        claimSignatureRequired:
          type: boolean
          description: this amount has historical ambiguity and needs a signed claim after payment
        listPrice:
          type: string
          description: the price this invoice was minted at; it does not move afterwards
        termDays:
          type: integer
        tier:
          type: string
          enum:
          - member
          - patron
        createdAt:
          type: integer
          description: ms since epoch
        expiresAt:
          type: integer
        paidAt:
          type:
          - integer
          - 'null'
        txHash:
          type:
          - string
          - 'null'
        explorerTx:
          type:
          - string
          - 'null'
        paidFrom:
          type:
          - string
          - 'null'
        member:
          type:
          - string
          - 'null'
        pass:
          type:
          - string
          - 'null'
          description: the bearer token, present once paid
        passExpiresAt:
          type:
          - integer
          - 'null'
        instructions:
          type: string
    Error:
      type: object
      properties:
        ok:
          const: false
        error:
          type: string
        detail:
          type: string
      required:
      - ok
      - error
  securitySchemes:
    pass:
      type: http
      scheme: bearer
      bearerFormat: pl1 Ed25519 pass
      description: Issued when an invoice is paid. See /v1/terms.
x-refined-from:
- openapi.json
- agents-agents-agents-com-openapi.json