{
  "schema_version": "1.0",
  "name": "Agent Commerce Safety API",
  "description": "Twenty low-cost commerce, software, web, Base safety, execution, and market-data tools for autonomous agents.",
  "base_url": "https://base-agent-preflight.bytoken2023.workers.dev",
  "openapi_url": "https://base-agent-preflight.bytoken2023.workers.dev/openapi.json",
  "agent_card_url": "https://base-agent-preflight.bytoken2023.workers.dev/.well-known/agent-card.json",
  "authentication": {
    "type": "x402",
    "network": "eip155:8453"
  },
  "facilitator": "https://facilitator.payai.network",
  "payment_recipient": "0x94F751f04b98507D31b500b7Ed50bE68A1514873",
  "products": [
    {
      "id": "base-address-preflight",
      "method": "GET",
      "path": "/v1/x402/base/address-preflight",
      "price_usdc": "$0.02",
      "description": "Inspect a Base address before an autonomous payment or contract interaction."
    },
    {
      "id": "base-token-preflight",
      "method": "GET",
      "path": "/v1/x402/base/token-preflight",
      "price_usdc": "$0.02",
      "description": "Inspect a Base token contract, public reputation, holder count, and DEX liquidity before trading."
    },
    {
      "id": "x402-merchant-trust",
      "method": "GET",
      "path": "/v1/x402/base/merchant-trust",
      "price_usdc": "$0.03",
      "description": "Summarize a Base merchant's public USDC receipt history and payer concentration."
    },
    {
      "id": "base-payment-proof",
      "method": "GET",
      "path": "/v1/x402/base/payment-proof",
      "price_usdc": "$0.01",
      "description": "Verify a Base transaction contains the expected canonical USDC payment."
    },
    {
      "id": "base-wallet-activity-delta",
      "method": "GET",
      "path": "/v1/x402/base/wallet-activity-delta",
      "price_usdc": "$0.01",
      "description": "Return recent Base ERC-20 activity for a wallet after a caller-supplied timestamp."
    },
    {
      "id": "base-approval-risk",
      "method": "GET",
      "path": "/v1/x402/base/approval-risk",
      "price_usdc": "$0.005",
      "description": "Read a live ERC-20 allowance on Base and flag unlimited or unusually large approvals."
    },
    {
      "id": "base-contract-verification",
      "method": "GET",
      "path": "/v1/x402/base/contract-verification",
      "price_usdc": "$0.005",
      "description": "Inspect Base source verification, compiler metadata, proxy type, and resolved implementations."
    },
    {
      "id": "base-usdc-receipt",
      "method": "GET",
      "path": "/v1/x402/base/usdc-receipt",
      "price_usdc": "$0.003",
      "description": "Extract canonical Base USDC transfers and transaction finality from a transaction hash."
    },
    {
      "id": "base-wallet-counterparty",
      "method": "GET",
      "path": "/v1/x402/base/wallet-counterparty",
      "price_usdc": "$0.005",
      "description": "Rank counterparties in a Base wallet's recent transactions and ERC-20 transfers."
    },
    {
      "id": "base-event-log-monitor",
      "method": "GET",
      "path": "/v1/x402/base/event-log-monitor",
      "price_usdc": "$0.003",
      "description": "Return recent decoded Base event logs at or after a caller-supplied block."
    },
    {
      "id": "base-gas-fee-quote",
      "method": "GET",
      "path": "/v1/x402/base/gas-fee-quote",
      "price_usdc": "$0.003",
      "description": "Return live Base gas fees and an estimated transaction cost for a caller-supplied gas limit."
    },
    {
      "id": "base-nonce-readiness",
      "method": "GET",
      "path": "/v1/x402/base/nonce-readiness",
      "price_usdc": "$0.003",
      "description": "Compare confirmed and pending Base nonces before an autonomous transaction is signed."
    },
    {
      "id": "base-stablecoin-balance",
      "method": "GET",
      "path": "/v1/x402/base/stablecoin-balance",
      "price_usdc": "$0.003",
      "description": "Return live Base USDC, USDT, and DAI balances with public USD reference rates."
    },
    {
      "id": "base-dex-market-monitor",
      "method": "GET",
      "path": "/v1/x402/base/dex-market-monitor",
      "price_usdc": "$0.005",
      "description": "Monitor Base DEX price, liquidity, volume, and trade activity for a token."
    },
    {
      "id": "prediction-market-snapshot",
      "method": "GET",
      "path": "/v1/x402/prediction/market-snapshot",
      "price_usdc": "$0.005",
      "description": "Return a public Kalshi prediction-market quote, volume, open interest, and orderbook snapshot."
    },
    {
      "id": "x402-endpoint-preflight",
      "method": "GET",
      "path": "/v1/x402/web/endpoint-preflight",
      "price_usdc": "$0.005",
      "description": "Inspect an unpaid x402 endpoint, decode its payment requirements, and flag unsafe or malformed commerce metadata."
    },
    {
      "id": "npm-package-preflight",
      "method": "GET",
      "path": "/v1/x402/software/npm-package-preflight",
      "price_usdc": "$0.005",
      "description": "Check npm package metadata, maintenance signals, deprecation, license, dependencies, and OSV vulnerabilities."
    },
    {
      "id": "github-repository-health",
      "method": "GET",
      "path": "/v1/x402/software/github-repository-health",
      "price_usdc": "$0.005",
      "description": "Score a public GitHub repository using maintenance, release, license, archive, issue, and popularity signals."
    },
    {
      "id": "url-change-fingerprint",
      "method": "GET",
      "path": "/v1/x402/web/url-change-fingerprint",
      "price_usdc": "$0.003",
      "description": "Fetch a public URL and return redirect, metadata, cache validators, and a SHA-256 content fingerprint."
    },
    {
      "id": "feed-snapshot",
      "method": "GET",
      "path": "/v1/x402/web/feed-snapshot",
      "price_usdc": "$0.003",
      "description": "Normalize the latest entries from a public RSS or Atom feed with stable item fingerprints."
    }
  ]
}