NullClear Escrow Clearinghouse API

The Escrow Clearinghouse API from NullClear — 1 operation(s) for escrow clearinghouse.

GitHub OpenAPI

Operations 2

GET /v1/clear Get clearing proxy protocol status and usage instructions #
POST /v1/clear Execute deferred escrow clearing with deep invariants, failover routing, 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/nullclear-dev:nullclear-dev-escrow-clearinghouse-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

nullclear-dev-escrow-clearinghouse-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nullclear Dev Escrow Clearinghouse API
  version: 1.7.0
  contact:
    name: NullClear Protocol
    email: contact@nullclear.dev
    url: https://nullclear.dev
  x-guarantee:
    zeroLossEscrow: true
    settlementMode: non-custodial-eip3009
    onValidationFailure: void_authorization_zero_charge
    onUpstreamError: void_authorization_zero_charge
    refundMechanism: EIP-3009 authorizations are held un-settled until response validation passes; any HTTP error, LLM refusal, or schema/invariant violation voids settlement with $0.00 charged.
  x-guidance: 'NullClear provides two modes for autonomous AI agents on Base Mainnet (eip155:8453): (1) Direct x402 Payable Intelligence Oracles ($0.005-$0.025 USDC / 5000-25000 atomic units per call via PayAI or Coinbase CDP Facilitator): call POST /v1/bazaar/guard ($0.005) for a 1-call pre-sign firewall across 7 chains (Base, ETH, Arbitrum, Optimism, Polygon, BSC, Solana — nested Multicall3/UniversalRouter/Safe decode, EIP-712 Permit/Seaport audit, Solana wire tx & stateful eth_simulateV1 asset diffs), GET /v1/bazaar/inspect?chain=base&address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 ($0.005) for proxy resolution, Sourcify v2 + batch OpenChain ABI & bytecode CFG risk, GET /v1/bazaar/token-security?chain=base&address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 ($0.005) for 7-chain contract & honeypot/Token-2022 scanning, POST /v1/bazaar/scan-batch ($0.025) for parallel batch scanning up to 15 tokens across 7 chains, GET /v1/bazaar/market-oracle?symbol=ETH ($0.005) for cross-verified crypto spot prices, GET /v1/bazaar/wallet-risk?address=0xfd74fF802EA0E735514C070AF04E0D6528deD145 ($0.005) for wallet counterparty & Sybil profiling, GET/POST /v1/bazaar/verified-fetch?url=https://api.coinbase.com/v2/prices/BTC-USD/spot ($0.005) for schema-verified anti-hallucination HTTP fetching, GET/POST /v1/bazaar/audit?agentId=124595 ($0.005) for ERC-8004 reputation audits, or POST /v1/bazaar/verify ($0.01) for x402 schema readiness verification (plus zero-key dev free tier then $0.005 USDC on /v1/guard, /v1/scan, /v1/inspect, /v1/decode, /v1/simulate). All paid endpoints return HTTP 402 with a PAYMENT-REQUIRED header first before any parameter rejection. (2) Non-Custodial Schema-Escrow Proxy: use POST /v1/clear (holds your signed EIP-3009 header in memory and only settles if the upstream response satisfies your JSON schema, numeric invariants, and LLM-refusal checks; voids with $0.00 charged on upstream failure).'
  description: 'Operations tagged Escrow Clearinghouse across 2 of this provider''s published API definitions: api-nullclear-dev-openapi.json, nullclear-dev-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.nullclear.dev
  description: Production Arbiter & x402 Bazaar API
tags:
- name: Escrow Clearinghouse
paths:
  /v1/clear:
    get:
      summary: Get clearing proxy protocol status and usage instructions
      operationId: getClearStatus
      tags:
      - Escrow Clearinghouse
      security: []
      responses:
        '200':
          description: Protocol clearinghouse proxy information
          content:
            application/json:
              schema:
                type: object
                properties:
                  service:
                    type: string
                  method:
                    type: string
                  usage:
                    type: string
                  documentation:
                    type: string
                  _nullclear:
                    type: object
    post:
      summary: Execute deferred escrow clearing with deep invariants, failover routing, and…
      operationId: clearPayment
      tags:
      - Escrow Clearinghouse
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - targetUrl
              - paymentSignatureHeader
              properties:
                targetUrl:
                  type: string
                  example: https://api.nullclear.dev/v1/sandbox/market-feed
                  description: Upstream API endpoint demanding x402 payment
                method:
                  type: string
                  enum:
                  - GET
                  - POST
                  - PUT
                  - DELETE
                  default: GET
                headers:
                  type: object
                  additionalProperties:
                    type: string
                body:
                  description: Optional request body forwarded upstream
                paymentSignatureHeader:
                  type: string
                  description: Base64 encoded X402PaymentSignaturePayload
                sellerAgentId:
                  type: string
                  default: '124595'
                  description: Seller's ERC-8004 agent token ID
                minTrustScore:
                  type: number
                  default: 50
                  description: Minimum acceptable seller trust score (0-100)
                validation:
                  type: object
                  properties:
                    expectedStatus:
                      type: array
                      items:
                        type: integer
                      default:
                      - 200
                    jsonSchema:
                      type: object
                      description: Draft-07 JSON Schema response must satisfy
                    requiredFields:
                      type: array
                      items:
                        type: string
                    invariants:
                      type: array
                      description: Deep semantic and numeric bounds invariants
                      items:
                        type: object
                        required:
                        - path
                        properties:
                          path:
                            type: string
                            description: Dot-notation property path (e.g. 'price')
                          gt:
                            type: number
                          gte:
                            type: number
                          lt:
                            type: number
                          lte:
                            type: number
                          eq: {}
                          neq: {}
                          minLength:
                            type: number
                          maxLength:
                            type: number
                          pattern:
                            type: string
                            description: Regex pattern string
                          notContains:
                            type: array
                            items:
                              type: string
                          maxStalenessSeconds:
                            type: number
                            description: Max age in seconds vs current time
                    rejectRefusals:
                      type: boolean
                      default: true
                      description: Reject canonical LLM refusal boilerplate
                    sha256Match:
                      type: string
                fallbacks:
                  type: array
                  description: Ordered backup candidates for autonomous multi-seller failover routing
                  items:
                    type: object
                    required:
                    - targetUrl
                    - paymentSignatureHeader
                    properties:
                      targetUrl:
                        type: string
                      sellerAgentId:
                        type: string
                      paymentSignatureHeader:
                        type: string
                      headers:
                        type: object
                spendPolicy:
                  type: object
                  description: Outbound spend firewall policy
                  properties:
                    maxPerCallAtomic:
                      type: string
                      description: Max atomic USDC spend allowed per call
                    maxDailyWalletAtomic:
                      type: string
                      description: Max rolling daily atomic USDC spend allowed
      responses:
        '200':
          description: Cleared and settled response
          content:
            application/json:
              schema:
                type: object
                properties:
                  cleared:
                    type: boolean
                    example: true
                  settled:
                    type: boolean
                    example: true
                  clearingId:
                    type: string
                  buyerCharged:
                    type: string
                  failoverAttempts:
                    type: integer
                    example: 0
                  winningSellerAgentId:
                    type: string
                  data: {}
                  attestation:
                    type: object
        '400':
          description: Invalid request, bad signature, or self-clearing wash-loop prohibited
        '403':
          description: Reputation gate blocked or outbound spend policy limit exceeded
        '422':
          description: 'Validation/Invariant failed: payment VOIDED, $0 charged'
        '502':
          description: 'Upstream network failure: all candidates exhausted'
    servers:
    - url: https://api.nullclear.dev
      description: Production Arbiter & x402 Bazaar API
components:
  securitySchemes:
    x402:
      type: apiKey
      name: PAYMENT-SIGNATURE
      in: header
      description: x402 payment signature header containing EIP-3009 transfer authorization
    siwx:
      type: apiKey
      name: SIGN-IN-WITH-X
      in: header
      description: Sign-In-With-X wallet identity header
x-refined-from:
- api-nullclear-dev-openapi.json
- nullclear-dev-openapi.json
x-discovery:
  ownershipProofs: []