dnsofmoney-com X402 API

The x402 API from dnsofmoney-com — 4 operation(s) for x402.

Operations 4

GET /api/v1/x402/pay/{alias_label} Pay #
GET /api/v1/x402/screen/{target} Screen Counterparty #
GET /api/v1/x402/screen-xlayer/{target} Screen Counterparty Xlayer #
GET /api/v1/x402/presend Presend Address Safety #

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/dnsofmoney-com:dnsofmoney-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

dnsofmoney-com-x402-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: dns://money - Financial Address Resolution X402 API
  version: 0.3.0
tags:
- name: X402
paths:
  /api/v1/x402/pay/{alias_label}:
    get:
      tags:
      - X402
      summary: Pay
      description: 'x402 pay-to-alias: 402 challenge, then verify + record a submitted payment.'
      operationId: pay_api_v1_x402_pay__alias_label__get
      parameters:
      - name: alias_label
        in: path
        required: true
        schema:
          type: string
          title: Alias Label
      - name: amount
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Amount to pay, in the asset's display unit (XRP or USDC). Omit it to be quoted the alias's declared price. Required for an alias that declares no price.
          title: Amount
        description: Amount to pay, in the asset's display unit (XRP or USDC). Omit it to be quoted the alias's declared price. Required for an alias that declares no price.
      - name: currency
        in: query
        required: false
        schema:
          type: string
          description: Asset to pay in. XRP (XRPL), USDC (Algorand), USDC-BASE (Base), USDC-POLYGON (Polygon) or USDC-ARB (Arbitrum), when enabled.
          default: XRP
          title: Currency
        description: Asset to pay in. XRP (XRPL), USDC (Algorand), USDC-BASE (Base), USDC-POLYGON (Polygon) or USDC-ARB (Arbitrum), when enabled.
      - name: X-PAYMENT
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment-Signature
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Idempotency-Key
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/x402/screen/{target}:
    get:
      tags:
      - X402
      summary: Screen Counterparty
      description: 'Paid counterparty screen: pay the fee, get an OFAC + resolution attestation about

        a caller-named target (a `pay:` alias or a raw any-chain address).


        The FEE is an x402 payment to our screening-service alias at ITS declared price — the

        caller never names the amount, so the price of the screen is server-set (this is the

        enforced-pricing feature applied to our own service). Off the money path: we verify +

        record the fee, then run the deterministic screen; we never custody or submit funds.'
      operationId: screen_counterparty_api_v1_x402_screen__target__get
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      - name: currency
        in: query
        required: false
        schema:
          type: string
          description: Fee asset. USDC (Algorand) by default; XRP/USDC-BASE/USDT0-XLAYER when enabled.
          default: USDC
          title: Currency
        description: Fee asset. USDC (Algorand) by default; XRP/USDC-BASE/USDT0-XLAYER when enabled.
      - name: X-PAYMENT
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment-Signature
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Idempotency-Key
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/x402/screen-xlayer/{target}:
    get:
      tags:
      - X402
      summary: Screen Counterparty Xlayer
      description: 'X-Layer-native counterparty screen — the same paid screen with the fee

        currency defaulting to USDT0 on X Layer, so a bare GET advertises a pure

        eip155:196 challenge paying USDT0 (the token OKX mandates).


        Exists because marketplace reviewers probe the listed URL with a bare GET and

        expect THEIR chain AND token in the 402. OKX rejected listing #7190 twice over

        this — first the network (eip155:196), then the token (USDT0) — see memory

        project_okx_asp_listing. A per-rail alias keeps each marketplace''s challenge

        shape independent: this is the URL listed on OKX.AI, while the plain /screen

        route keeps its Algorand default for the Algorand x402 Challenge.'
      operationId: screen_counterparty_xlayer_api_v1_x402_screen_xlayer__target__get
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      - name: currency
        in: query
        required: false
        schema:
          type: string
          description: Fee asset. USDT0 on X Layer by default; XRP/USDC/USDC-BASE when enabled.
          default: USDT0-XLAYER
          title: Currency
        description: Fee asset. USDT0 on X Layer by default; XRP/USDC/USDC-BASE when enabled.
      - name: X-PAYMENT
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment-Signature
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Idempotency-Key
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/x402/presend:
    get:
      tags:
      - X402
      summary: Presend Address Safety
      description: 'Paid pre-send address safety: pay the fee, get deterministic evidence about the

        address you are about to pay.


        HTTP 402 on this route means EXACTLY ONE THING: x402 payment required, before

        settlement. A risky or sanctioned target is reported as a verdict inside a 200 — it

        is a finding about a third party the caller named, not a block of the caller''s own

        payment. Letting a compliance 402 escape here would make the payer''s x402 client read

        it as "pay me", pay again, and loop (spec T1). Do not change this.'
      operationId: presend_address_safety_api_v1_x402_presend_get
      parameters:
      - name: target
        in: query
        required: true
        schema:
          type: string
          description: 'Address or pay: alias you are about to pay'
          title: Target
        description: 'Address or pay: alias you are about to pay'
      - name: chain
        in: query
        required: false
        schema:
          type: string
          description: CAIP-2 chain id of the destination
          default: eip155:8453
          title: Chain
        description: CAIP-2 chain id of the destination
      - name: payee
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Addresses you have paid before (never stored)
          title: Payee
        description: Addresses you have paid before (never stored)
      - name: currency
        in: query
        required: false
        schema:
          type: string
          description: Fee asset.
          default: USDC-BASE
          title: Currency
        description: Fee asset.
      - name: X-PAYMENT
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment-Signature
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Idempotency-Key
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key