{
  "schema_version": "1.0",
  "name": "SignGate Agent Risk Utilities",
  "description": "AI-agent payment, signing, wallet-risk, RPC, chain-data, and API supply-chain preflight utilities exposed as x402 paid operations.",
  "positioning": "Use SignGate before an autonomous agent pays, signs, grants approval, calls chain-data infrastructure, or imports a paid tool.",
  "origin": "https://base-agent-preflight.bytoken2023.workers.dev",
  "x402_network": "eip155:8453",
  "facilitator": "https://facilitator.payai.network",
  "payment_recipient": "0x94F751f04b98507D31b500b7Ed50bE68A1514873",
  "counts": {
    "product_families": 63,
    "paid_operations": 65,
    "workflow_bundles": 6
  },
  "discovery": {
    "openapi": "https://base-agent-preflight.bytoken2023.workers.dev/openapi.json",
    "x402": "https://base-agent-preflight.bytoken2023.workers.dev/.well-known/x402",
    "agent_card": "https://base-agent-preflight.bytoken2023.workers.dev/.well-known/agent-card.json",
    "service_manifest": "https://base-agent-preflight.bytoken2023.workers.dev/.well-known/service.json",
    "ai_buyer_catalog": "https://base-agent-preflight.bytoken2023.workers.dev/catalog.json",
    "workflows": "https://base-agent-preflight.bytoken2023.workers.dev/workflows.json",
    "endpoints_txt": "https://base-agent-preflight.bytoken2023.workers.dev/endpoints.txt",
    "llms_txt": "https://base-agent-preflight.bytoken2023.workers.dev/llms.txt",
    "mcp": "https://base-agent-preflight.bytoken2023.workers.dev/.well-known/mcp.json"
  },
  "clusters": [
    {
      "id": "kyt-wallet-risk",
      "name": "KYT wallet and contract risk",
      "buyer_goal": "Decide whether an AI agent, wallet, VASP, or backend should interact with a Base address, token, contract, or counterparty.",
      "operations": [
        "base-address-preflight",
        "base-token-preflight",
        "base-wallet-activity-delta",
        "base-approval-risk",
        "base-contract-verification",
        "base-wallet-counterparty",
        "base-event-log-monitor",
        "evm-transaction-intent",
        "address-risk",
        "token-risk",
        "transaction-decode-risk",
        "wallet-dossier",
        "stablecoin-health"
      ]
    },
    {
      "id": "x402-payment-safety",
      "name": "x402 payment safety",
      "buyer_goal": "Let an autonomous buyer verify x402 merchants, payment requirements, proof of payment, and seller reputation before or after spending.",
      "operations": [
        "x402-merchant-trust",
        "base-payment-proof",
        "base-usdc-receipt",
        "base-gas-fee-quote",
        "base-nonce-readiness",
        "base-stablecoin-balance",
        "x402-endpoint-preflight",
        "agent-payment-guard",
        "x402-server-trust",
        "x402-origin-due-diligence",
        "x402-resource-compare",
        "agent-spend-route-plan",
        "agent-payment-risk-gateway",
        "safe-transaction-review",
        "policy-decide",
        "agent-payment-guard-json-evaluate",
        "agent-payment-guard-policy-create"
      ]
    },
    {
      "id": "agent-chain-data",
      "name": "Agent chain-data and RPC routing",
      "buyer_goal": "Help autonomous agents decide whether to pay for RPC or indexed chain-data access before signing or routing requests.",
      "operations": [
        "agent-rpc-preflight",
        "rpc-capability-probe",
        "agent-chain-data-route-plan",
        "indexed-chain-query-preflight",
        "x402-rpc-payment-guard"
      ]
    },
    {
      "id": "trading-bot-alpha-risk",
      "name": "Trading bot alpha and risk",
      "buyer_goal": "Give bots low-cost pre-trade filters for Base wallets, tokens, pools, liquidity, and copytrade decisions.",
      "operations": [
        "base-dex-market-monitor",
        "base-alpha-risk-context",
        "base-token-alpha-snapshot",
        "base-wallet-copytrade-risk",
        "base-new-pool-risk",
        "base-token-exit-risk",
        "swap-preflight"
      ]
    },
    {
      "id": "agent-api-supply-chain",
      "name": "Agent and API supply-chain preflight",
      "buyer_goal": "Check tools, packages, domains, OpenAPI specs, feeds, and agent cards before an AI runtime depends on them.",
      "operations": [
        "npm-package-preflight",
        "github-repository-health",
        "url-change-fingerprint",
        "feed-snapshot",
        "a2a-agent-card-preflight",
        "openapi-spec-preflight",
        "domain-trust-preflight",
        "pypi-package-preflight"
      ]
    },
    {
      "id": "blockchainsecurity-data",
      "name": "Wallet risk and BlockchainSecurity intelligence",
      "buyer_goal": "Screen wallets, download source-attributed public risk data, or buy deeper BlockchainSecurity scoring and tracing through x402.",
      "operations": [
        "bcs-address-labels",
        "bcs-assets",
        "bcs-chains",
        "bcs-token-registry",
        "bcs-asset-resolve",
        "bcs-address-risk-score",
        "bcs-address-classify",
        "bcs-wallet-overview",
        "bcs-fund-trace",
        "bcs-cross-chain-track",
        "public-wallet-risk-lookup",
        "public-wallet-risk-snapshot",
        "public-wallet-risk-sample",
        "public-wallet-risk-delta"
      ]
    },
    {
      "id": "market-context",
      "name": "Market context",
      "buyer_goal": "Fetch compact public market context when an agent needs a paid signal inside a workflow.",
      "operations": [
        "prediction-market-snapshot"
      ]
    }
  ],
  "operations": [
    {
      "id": "base-address-preflight",
      "method": "GET",
      "path": "/v1/x402/base/address-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/address-preflight",
      "price_usdc": "$0.02",
      "group": "kyt-wallet-risk",
      "description": "Inspect a Base address before an autonomous payment or contract interaction.",
      "required_inputs": [
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/address-preflight?address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base address to inspect before an autonomous payment."
          }
        },
        "required": [
          "address"
        ]
      }
    },
    {
      "id": "base-token-preflight",
      "method": "GET",
      "path": "/v1/x402/base/token-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-preflight",
      "price_usdc": "$0.02",
      "group": "kyt-wallet-risk",
      "description": "Inspect a Base token contract, public reputation, holder count, and DEX liquidity before trading.",
      "required_inputs": [
        "token"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-preflight?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "input_schema": {
        "properties": {
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base ERC-20 token contract to inspect."
          }
        },
        "required": [
          "token"
        ]
      }
    },
    {
      "id": "x402-merchant-trust",
      "method": "GET",
      "path": "/v1/x402/base/merchant-trust",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/merchant-trust",
      "price_usdc": "$0.03",
      "group": "x402-payment-safety",
      "description": "Summarize a Base merchant's public USDC receipt history and payer concentration.",
      "required_inputs": [
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/merchant-trust?address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base merchant payment recipient address."
          }
        },
        "required": [
          "address"
        ]
      }
    },
    {
      "id": "base-payment-proof",
      "method": "GET",
      "path": "/v1/x402/base/payment-proof",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/payment-proof",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "Verify a Base transaction contains the expected canonical USDC payment.",
      "required_inputs": [
        "tx",
        "recipient",
        "amount"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/payment-proof?tx=0xb2d1308a0df026083e5793106af4ed2342d4b517d42935e05c1fb2f91544707f&recipient=0x94F751f04b98507D31b500b7Ed50bE68A1514873&amount=0.02",
      "input_schema": {
        "properties": {
          "tx": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "description": "Base transaction hash."
          },
          "recipient": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Expected USDC recipient."
          },
          "amount": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Expected USDC amount in decimal units."
          }
        },
        "required": [
          "tx",
          "recipient",
          "amount"
        ]
      }
    },
    {
      "id": "base-wallet-activity-delta",
      "method": "GET",
      "path": "/v1/x402/base/wallet-activity-delta",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/wallet-activity-delta",
      "price_usdc": "$0.01",
      "group": "kyt-wallet-risk",
      "description": "Return recent Base ERC-20 activity for a wallet after a caller-supplied timestamp.",
      "required_inputs": [
        "address",
        "since"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/wallet-activity-delta?address=0x94F751f04b98507D31b500b7Ed50bE68A1514873&since=2026-06-21T00%3A00%3A00Z",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base wallet to monitor."
          },
          "since": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T.+Z$",
            "description": "Return transfers observed at or after this timestamp."
          }
        },
        "required": [
          "address",
          "since"
        ]
      }
    },
    {
      "id": "base-approval-risk",
      "method": "GET",
      "path": "/v1/x402/base/approval-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/approval-risk",
      "price_usdc": "$0.005",
      "group": "kyt-wallet-risk",
      "description": "Read a live ERC-20 allowance on Base and flag unlimited or unusually large approvals.",
      "required_inputs": [
        "token",
        "owner",
        "spender"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/approval-risk?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&owner=0x94F751f04b98507D31b500b7Ed50bE68A1514873&spender=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "ERC-20 token contract."
          },
          "owner": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Token owner that granted the allowance."
          },
          "spender": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Address authorized to spend the owner's tokens."
          }
        },
        "required": [
          "token",
          "owner",
          "spender"
        ]
      }
    },
    {
      "id": "base-contract-verification",
      "method": "GET",
      "path": "/v1/x402/base/contract-verification",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/contract-verification",
      "price_usdc": "$0.005",
      "group": "kyt-wallet-risk",
      "description": "Inspect Base source verification, compiler metadata, proxy type, and resolved implementations.",
      "required_inputs": [
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/contract-verification?address=0x4200000000000000000000000000000000000006",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base contract address to verify."
          }
        },
        "required": [
          "address"
        ]
      }
    },
    {
      "id": "base-usdc-receipt",
      "method": "GET",
      "path": "/v1/x402/base/usdc-receipt",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/usdc-receipt",
      "price_usdc": "$0.003",
      "group": "x402-payment-safety",
      "description": "Extract canonical Base USDC transfers and transaction finality from a transaction hash.",
      "required_inputs": [
        "tx"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/usdc-receipt?tx=0xb2d1308a0df026083e5793106af4ed2342d4b517d42935e05c1fb2f91544707f",
      "input_schema": {
        "properties": {
          "tx": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "description": "Base transaction hash."
          }
        },
        "required": [
          "tx"
        ]
      }
    },
    {
      "id": "base-wallet-counterparty",
      "method": "GET",
      "path": "/v1/x402/base/wallet-counterparty",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/wallet-counterparty",
      "price_usdc": "$0.005",
      "group": "kyt-wallet-risk",
      "description": "Rank counterparties in a Base wallet's recent transactions and ERC-20 transfers.",
      "required_inputs": [
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/wallet-counterparty?address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base wallet or contract to analyze."
          }
        },
        "required": [
          "address"
        ]
      }
    },
    {
      "id": "base-event-log-monitor",
      "method": "GET",
      "path": "/v1/x402/base/event-log-monitor",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/event-log-monitor",
      "price_usdc": "$0.003",
      "group": "kyt-wallet-risk",
      "description": "Return recent decoded Base event logs at or after a caller-supplied block.",
      "required_inputs": [
        "address",
        "from_block"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/event-log-monitor?address=0x4200000000000000000000000000000000000006&from_block=47600000",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base address whose emitted logs should be monitored."
          },
          "from_block": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Return logs from this Base block onward."
          }
        },
        "required": [
          "address",
          "from_block"
        ]
      }
    },
    {
      "id": "base-gas-fee-quote",
      "method": "GET",
      "path": "/v1/x402/base/gas-fee-quote",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/gas-fee-quote",
      "price_usdc": "$0.003",
      "group": "x402-payment-safety",
      "description": "Return live Base gas fees and an estimated transaction cost for a caller-supplied gas limit.",
      "required_inputs": [
        "gas_limit"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/gas-fee-quote?gas_limit=21000",
      "input_schema": {
        "properties": {
          "gas_limit": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Expected transaction gas limit."
          }
        },
        "required": [
          "gas_limit"
        ]
      }
    },
    {
      "id": "base-nonce-readiness",
      "method": "GET",
      "path": "/v1/x402/base/nonce-readiness",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/nonce-readiness",
      "price_usdc": "$0.003",
      "group": "x402-payment-safety",
      "description": "Compare confirmed and pending Base nonces before an autonomous transaction is signed.",
      "required_inputs": [
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/nonce-readiness?address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base account whose transaction nonce should be checked."
          }
        },
        "required": [
          "address"
        ]
      }
    },
    {
      "id": "base-stablecoin-balance",
      "method": "GET",
      "path": "/v1/x402/base/stablecoin-balance",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/stablecoin-balance",
      "price_usdc": "$0.003",
      "group": "x402-payment-safety",
      "description": "Return live Base USDC, USDT, and DAI balances with public USD reference rates.",
      "required_inputs": [
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/stablecoin-balance?address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base wallet or contract whose stablecoin balances should be read."
          }
        },
        "required": [
          "address"
        ]
      }
    },
    {
      "id": "base-dex-market-monitor",
      "method": "GET",
      "path": "/v1/x402/base/dex-market-monitor",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/dex-market-monitor",
      "price_usdc": "$0.005",
      "group": "trading-bot-alpha-risk",
      "description": "Monitor Base DEX price, liquidity, volume, and trade activity for a token.",
      "required_inputs": [
        "token"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/dex-market-monitor?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "input_schema": {
        "properties": {
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base token contract to monitor across DEX pairs."
          }
        },
        "required": [
          "token"
        ]
      }
    },
    {
      "id": "prediction-market-snapshot",
      "method": "GET",
      "path": "/v1/x402/prediction/market-snapshot",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/prediction/market-snapshot",
      "price_usdc": "$0.005",
      "group": "market-context",
      "description": "Return a public Kalshi prediction-market quote, volume, open interest, and orderbook snapshot.",
      "required_inputs": [
        "ticker"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/prediction/market-snapshot?ticker=KXWCFIRSTGOAL-26JUN21ESPKSA-ESPLYAMAL10",
      "input_schema": {
        "properties": {
          "ticker": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._-]{3,160}$",
            "description": "Kalshi market ticker."
          }
        },
        "required": [
          "ticker"
        ]
      }
    },
    {
      "id": "x402-endpoint-preflight",
      "method": "GET",
      "path": "/v1/x402/web/endpoint-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/endpoint-preflight",
      "price_usdc": "$0.005",
      "group": "x402-payment-safety",
      "description": "Inspect an unpaid x402 endpoint, decode its payment requirements, and flag unsafe or malformed commerce metadata.",
      "required_inputs": [
        "url"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/endpoint-preflight?url=https%3A%2F%2Fx402.twit.sh%2Ftweets%2Fby%2Fid%3Fid%3D1110302988",
      "input_schema": {
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "Public HTTP(S) x402 resource URL to inspect without paying."
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "id": "npm-package-preflight",
      "method": "GET",
      "path": "/v1/x402/software/npm-package-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/software/npm-package-preflight",
      "price_usdc": "$0.005",
      "group": "agent-api-supply-chain",
      "description": "Check npm package metadata, maintenance signals, deprecation, license, dependencies, and OSV vulnerabilities.",
      "required_inputs": [
        "package"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/software/npm-package-preflight?package=express&version=4.18.2",
      "input_schema": {
        "properties": {
          "package": {
            "type": "string",
            "minLength": 1,
            "maxLength": 214,
            "description": "npm package name, including an optional scope."
          },
          "version": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "Exact npm version or latest. Defaults to latest."
          }
        },
        "required": [
          "package"
        ]
      }
    },
    {
      "id": "github-repository-health",
      "method": "GET",
      "path": "/v1/x402/software/github-repository-health",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/software/github-repository-health",
      "price_usdc": "$0.005",
      "group": "agent-api-supply-chain",
      "description": "Score a public GitHub repository using maintenance, release, license, archive, issue, and popularity signals.",
      "required_inputs": [
        "owner",
        "repo"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/software/github-repository-health?owner=cloudflare&repo=workers-sdk",
      "input_schema": {
        "properties": {
          "owner": {
            "type": "string",
            "pattern": "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?$",
            "description": "GitHub repository owner or organization."
          },
          "repo": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._-]{1,100}$",
            "description": "Public GitHub repository name."
          }
        },
        "required": [
          "owner",
          "repo"
        ]
      }
    },
    {
      "id": "url-change-fingerprint",
      "method": "GET",
      "path": "/v1/x402/web/url-change-fingerprint",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/url-change-fingerprint",
      "price_usdc": "$0.003",
      "group": "agent-api-supply-chain",
      "description": "Fetch a public URL and return redirect, metadata, cache validators, and a SHA-256 content fingerprint.",
      "required_inputs": [
        "url"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/url-change-fingerprint?url=https%3A%2F%2Fwww.cloudflare.com%2F",
      "input_schema": {
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "Public HTTP(S) document URL to fingerprint."
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "id": "feed-snapshot",
      "method": "GET",
      "path": "/v1/x402/web/feed-snapshot",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/feed-snapshot",
      "price_usdc": "$0.003",
      "group": "agent-api-supply-chain",
      "description": "Normalize the latest entries from a public RSS or Atom feed with stable item fingerprints.",
      "required_inputs": [
        "url"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/feed-snapshot?url=https%3A%2F%2Fgithub.com%2Fcloudflare%2Fworkers-sdk%2Freleases.atom",
      "input_schema": {
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "Public RSS or Atom feed URL."
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "id": "evm-transaction-intent",
      "method": "GET",
      "path": "/v1/x402/base/transaction-intent",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/transaction-intent",
      "price_usdc": "$0.005",
      "group": "kyt-wallet-risk",
      "description": "Decode Base transaction calldata before signing and flag token transfers, approvals, unlimited spending, and unknown selectors.",
      "required_inputs": [
        "to",
        "data"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/transaction-intent?to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&data=0x095ea7b300000000000000000000000094f751f04b98507d31b500b7ed50be68a1514873ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff&value=0",
      "input_schema": {
        "properties": {
          "to": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base destination contract or account."
          },
          "data": {
            "type": "string",
            "pattern": "^0x(?:[a-fA-F0-9]{2})*$",
            "maxLength": 8194,
            "description": "Hex-encoded EVM calldata."
          },
          "value": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Native ETH value in wei. Defaults to zero."
          }
        },
        "required": [
          "to",
          "data"
        ]
      }
    },
    {
      "id": "a2a-agent-card-preflight",
      "method": "GET",
      "path": "/v1/x402/agent/a2a-card-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/a2a-card-preflight",
      "price_usdc": "$0.005",
      "group": "agent-api-supply-chain",
      "description": "Discover and validate a public A2A Agent Card, its skills, provider, authentication, endpoint consistency, and unsafe URLs.",
      "required_inputs": [
        "url"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/a2a-card-preflight?url=https%3A%2F%2Fbase-agent-preflight.bytoken2023.workers.dev",
      "input_schema": {
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "Public agent origin or direct Agent Card URL."
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "id": "openapi-spec-preflight",
      "method": "GET",
      "path": "/v1/x402/web/openapi-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/openapi-preflight",
      "price_usdc": "$0.005",
      "group": "agent-api-supply-chain",
      "description": "Validate a public OpenAPI JSON or YAML document, server URLs, authentication declarations, operation coverage, and content fingerprint.",
      "required_inputs": [
        "url"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/openapi-preflight?url=https%3A%2F%2Fbase-agent-preflight.bytoken2023.workers.dev%2Fopenapi.json",
      "input_schema": {
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "Public OpenAPI JSON or YAML document URL."
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "id": "domain-trust-preflight",
      "method": "GET",
      "path": "/v1/x402/web/domain-trust-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/domain-trust-preflight",
      "price_usdc": "$0.005",
      "group": "agent-api-supply-chain",
      "description": "Inspect public DNS, DNSSEC, mail, CNAME resolution, RDAP registration age, expiration, and domain trust signals.",
      "required_inputs": [
        "domain"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/web/domain-trust-preflight?domain=github.com",
      "input_schema": {
        "properties": {
          "domain": {
            "type": "string",
            "pattern": "^(?=.{1,253}$)(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.)+[A-Za-z]{2,63}$",
            "description": "Registrable or delegated public DNS domain name."
          }
        },
        "required": [
          "domain"
        ]
      }
    },
    {
      "id": "pypi-package-preflight",
      "method": "GET",
      "path": "/v1/x402/software/pypi-package-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/software/pypi-package-preflight",
      "price_usdc": "$0.005",
      "group": "agent-api-supply-chain",
      "description": "Check PyPI package metadata, release age, yanked status, Python requirements, dependencies, license, and OSV vulnerabilities.",
      "required_inputs": [
        "package"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/software/pypi-package-preflight?package=requests&version=latest",
      "input_schema": {
        "properties": {
          "package": {
            "type": "string",
            "pattern": "^[A-Za-z0-9](?:[A-Za-z0-9._-]{0,198}[A-Za-z0-9])?$",
            "description": "PyPI project name."
          },
          "version": {
            "type": "string",
            "pattern": "^(?:latest|[A-Za-z0-9][A-Za-z0-9._+!-]{0,99})$",
            "description": "Exact PyPI version or latest. Defaults to latest."
          }
        },
        "required": [
          "package"
        ]
      }
    },
    {
      "id": "agent-payment-guard",
      "method": "GET",
      "path": "/v1/x402/payment-guard/evaluate",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/payment-guard/evaluate",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "AI agent x402 payment firewall: enforce budgets and mandates, simulate transactions, score merchant and domain risk, prevent replay, require human approval, and audit delivery before autonomous spending.",
      "required_inputs": [
        "url",
        "session_id",
        "request_id"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/payment-guard/evaluate?url=https%3A%2F%2Fx402.twit.sh%2Ftweets%2Fby%2Fid%3Fid%3D1110302988&session_id=demo-session&request_id=demo-request-1&max_single_usdc=0.10&session_budget_usdc=1.00&daily_budget_usdc=5.00",
      "input_schema": {
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "Public x402 resource URL to evaluate before payment."
          },
          "session_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._:-]{1,96}$",
            "description": "Caller-defined budget and audit scope."
          },
          "request_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._:-]{1,128}$",
            "description": "Caller-defined idempotency key."
          },
          "max_single_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum allowed price for one payment."
          },
          "session_budget_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum reserved spend for this session."
          },
          "daily_budget_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum reserved spend for this session in one UTC day."
          },
          "allow_pay_to": {
            "type": "string",
            "maxLength": 2048,
            "description": "Optional comma-separated recipient allowlist."
          },
          "block_pay_to": {
            "type": "string",
            "maxLength": 2048,
            "description": "Optional comma-separated recipient blocklist."
          },
          "to": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Optional transaction destination for intent decoding."
          },
          "data": {
            "type": "string",
            "pattern": "^0x(?:[a-fA-F0-9]{2})*$",
            "maxLength": 8194,
            "description": "Optional EVM calldata."
          },
          "value": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Optional native ETH value in wei."
          }
        },
        "required": [
          "url",
          "session_id",
          "request_id"
        ]
      }
    },
    {
      "id": "base-alpha-risk-context",
      "method": "GET",
      "path": "/v1/x402/base/alpha-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/alpha-risk",
      "price_usdc": "$0.003",
      "group": "trading-bot-alpha-risk",
      "description": "High-frequency Base wallet or token risk and alpha context for trading bots before copying, buying, or interacting.",
      "required_inputs": [
        "subject"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/alpha-risk?subject=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&kind=auto",
      "input_schema": {
        "properties": {
          "subject": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base wallet, contract, or ERC-20 token address to score."
          },
          "kind": {
            "type": "string",
            "enum": [
              "auto",
              "wallet",
              "token"
            ],
            "description": "Optional interpretation hint. Defaults to auto detection."
          }
        },
        "required": [
          "subject"
        ]
      }
    },
    {
      "id": "base-token-alpha-snapshot",
      "method": "GET",
      "path": "/v1/x402/base/token-alpha-snapshot",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-alpha-snapshot",
      "price_usdc": "$0.003",
      "group": "trading-bot-alpha-risk",
      "description": "Fast Base token alpha snapshot for trading bots: liquidity, volume, buy/sell imbalance, risk flags, and bot-ready trade bias.",
      "required_inputs": [
        "token"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-alpha-snapshot?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "input_schema": {
        "properties": {
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base ERC-20 token address to score."
          }
        },
        "required": [
          "token"
        ]
      }
    },
    {
      "id": "base-wallet-copytrade-risk",
      "method": "GET",
      "path": "/v1/x402/base/wallet-copytrade-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/wallet-copytrade-risk",
      "price_usdc": "$0.003",
      "group": "trading-bot-alpha-risk",
      "description": "Copytrade risk snapshot for a Base wallet: public risk, activity, counterparty quality, and whether a bot should follow, monitor, or avoid.",
      "required_inputs": [
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/wallet-copytrade-risk?address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base wallet to evaluate before copytrading."
          }
        },
        "required": [
          "address"
        ]
      }
    },
    {
      "id": "base-new-pool-risk",
      "method": "GET",
      "path": "/v1/x402/base/new-pool-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/new-pool-risk",
      "price_usdc": "$0.003",
      "group": "trading-bot-alpha-risk",
      "description": "New Base pool risk snapshot for bots: pair age, liquidity, activity imbalance, contract flags, and launch-stage risk score.",
      "required_inputs": [
        "token"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/new-pool-risk?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "input_schema": {
        "properties": {
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base token address whose deepest pool should be checked."
          }
        },
        "required": [
          "token"
        ]
      }
    },
    {
      "id": "x402-server-trust",
      "method": "GET",
      "path": "/v1/x402/x402/server-trust",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/x402/server-trust",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "Score an x402 API server using public payment volume, transaction count, buyer concentration, seller address, freshness, and chain coverage.",
      "required_inputs": [
        "server_url"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/x402/server-trust?server_url=https%3A%2F%2Fbase-agent-preflight.bytoken2023.workers.dev&seller=0x94F751f04b98507D31b500b7Ed50bE68A1514873&volume_usdc=109300&txns=9500000&buyers=626&latest_seen_hours=2&chains=base",
      "input_schema": {
        "properties": {
          "server_url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "Public x402 server origin or endpoint URL."
          },
          "seller": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Optional Base seller or payment recipient address."
          },
          "volume_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Observed public x402 volume in USDC."
          },
          "txns": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Observed public x402 transaction count."
          },
          "buyers": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Observed public unique buyer count."
          },
          "latest_seen_hours": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,2})?$",
            "description": "Hours since the latest observed payment."
          },
          "chains": {
            "type": "string",
            "pattern": "^[A-Za-z0-9, _-]{1,120}$",
            "description": "Comma-separated chain names reported by the marketplace."
          }
        },
        "required": [
          "server_url"
        ]
      }
    },
    {
      "id": "x402-origin-due-diligence",
      "method": "GET",
      "path": "/v1/x402/x402/origin-due-diligence",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/x402/origin-due-diligence",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "Run x402 origin due diligence for an AI buyer: resources, payment consistency, metadata quality, seller risk, and next checks.",
      "required_inputs": [
        "server_url"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/x402/origin-due-diligence?server_url=https%3A%2F%2Fwww.x402scan.com%2Fserver%2Fb0ce6f4e-73e9-431d-b23c-814ac89cc77b&seller=0x94F751f04b98507D31b500b7Ed50bE68A1514873&resources=42&txns=42&buyers=3",
      "input_schema": {
        "properties": {
          "server_url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "x402scan server URL, x402 server origin, or x402 endpoint URL."
          },
          "seller": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Optional expected seller/payment recipient address."
          },
          "resources": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Optional observed resource count from a marketplace page."
          },
          "txns": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Optional observed public x402 transaction count."
          },
          "buyers": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Optional observed unique buyer count."
          }
        },
        "required": [
          "server_url"
        ]
      }
    },
    {
      "id": "x402-resource-compare",
      "method": "GET",
      "path": "/v1/x402/x402/resource-compare",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/x402/resource-compare",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "Compare two to five x402 resources or servers by price, payment metadata, schema quality, seller consistency, and budget fit.",
      "required_inputs": [
        "resources"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/x402/resource-compare?resources=https%3A%2F%2Fbase-agent-preflight.bytoken2023.workers.dev%2Fv1%2Fx402%2Fbase%2Falpha-risk%2Chttps%3A%2F%2Fbase-agent-preflight.bytoken2023.workers.dev%2Fv1%2Fx402%2Fbase%2Ftoken-alpha-snapshot&budget_usdc=0.02",
      "input_schema": {
        "properties": {
          "resources": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 4096,
            "description": "Comma-separated list of two to five public x402 resource or server URLs."
          },
          "budget_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Optional maximum acceptable spend for one chosen resource."
          }
        },
        "required": [
          "resources"
        ]
      }
    },
    {
      "id": "agent-spend-route-plan",
      "method": "GET",
      "path": "/v1/x402/agent/spend-route-plan",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/spend-route-plan",
      "price_usdc": "$0.005",
      "group": "x402-payment-safety",
      "description": "Plan which Agent Payment Guard x402 resources an autonomous agent should buy for a task, budget, and risk tolerance.",
      "required_inputs": [
        "task"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/spend-route-plan?task=screen+a+Base+token+before+buying&budget_usdc=0.02&risk_tolerance=medium",
      "input_schema": {
        "properties": {
          "task": {
            "type": "string",
            "minLength": 3,
            "maxLength": 500,
            "description": "Natural-language task the agent wants to complete."
          },
          "budget_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum planned spend for the route."
          },
          "risk_tolerance": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "description": "How much uncertainty the buyer can tolerate."
          }
        },
        "required": [
          "task"
        ]
      }
    },
    {
      "id": "base-token-exit-risk",
      "method": "GET",
      "path": "/v1/x402/base/token-exit-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-exit-risk",
      "price_usdc": "$0.003",
      "group": "trading-bot-alpha-risk",
      "description": "Estimate Base token exit risk for bots using liquidity depth, volume/liquidity pressure, sell imbalance, pair age, and token flags.",
      "required_inputs": [
        "token"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-exit-risk?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "input_schema": {
        "properties": {
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Base ERC-20 token address to evaluate for exit risk."
          }
        },
        "required": [
          "token"
        ]
      }
    },
    {
      "id": "bcs-address-labels",
      "method": "GET",
      "path": "/v1/x402/bcs/labels",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/labels",
      "price_usdc": "$0.02",
      "group": "blockchainsecurity-data",
      "description": "Proxy BlockchainSecurity address labels for AI agents using a paid x402 call and a server-side API key.",
      "required_inputs": [
        "chain",
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/labels?chain=ethereum&address=0x28c6c06298d514db089934071355e5743bf21d60&sources=all",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[a-z0-9_-]{2,32}$",
            "description": "BlockchainSecurity chain slug, such as ethereum, bsc, or tron."
          },
          "address": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_-]{3,128}$",
            "description": "Address to label on the selected chain."
          },
          "sources": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,_-]{1,80}$",
            "description": "Optional BlockchainSecurity sources selector, such as misttrack or all."
          },
          "refresh": {
            "type": "string",
            "pattern": "^(?:true|false)$",
            "description": "Optional true to bypass upstream cache when supported."
          }
        },
        "required": [
          "chain",
          "address"
        ]
      }
    },
    {
      "id": "bcs-assets",
      "method": "GET",
      "path": "/v1/x402/bcs/assets",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/assets",
      "price_usdc": "$0.003",
      "group": "blockchainsecurity-data",
      "description": "Return BlockchainSecurity asset specs for a chain through an x402-paid AI-friendly wrapper.",
      "required_inputs": [
        "chain"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/assets?chain=ethereum",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[a-z0-9_-]{2,32}$",
            "description": "BlockchainSecurity chain slug."
          }
        },
        "required": [
          "chain"
        ]
      }
    },
    {
      "id": "bcs-chains",
      "method": "GET",
      "path": "/v1/x402/bcs/chains",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/chains",
      "price_usdc": "$0.003",
      "group": "blockchainsecurity-data",
      "description": "Return BlockchainSecurity supported chains and native/token entries for AI agents.",
      "required_inputs": [],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/chains?",
      "input_schema": {
        "properties": {},
        "required": []
      }
    },
    {
      "id": "bcs-token-registry",
      "method": "GET",
      "path": "/v1/x402/bcs/registry",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/registry",
      "price_usdc": "$0.005",
      "group": "blockchainsecurity-data",
      "description": "Return the BlockchainSecurity token registry through an x402 paid resource.",
      "required_inputs": [],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/registry?",
      "input_schema": {
        "properties": {},
        "required": []
      }
    },
    {
      "id": "bcs-asset-resolve",
      "method": "GET",
      "path": "/v1/x402/bcs/resolve",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/resolve",
      "price_usdc": "$0.005",
      "group": "blockchainsecurity-data",
      "description": "Resolve BlockchainSecurity asset symbols or contracts into asset specs through an x402 paid wrapper.",
      "required_inputs": [
        "blockchain"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/resolve?blockchain=ethereum&symbols=usdt%2Cweth",
      "input_schema": {
        "properties": {
          "blockchain": {
            "type": "string",
            "pattern": "^[a-z0-9_-]{2,32}$",
            "description": "BlockchainSecurity blockchain slug."
          },
          "symbols": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,._-]{1,240}$",
            "description": "Comma-separated symbols to resolve."
          },
          "contracts": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,:._-]{1,1000}$",
            "description": "Optional comma-separated contract addresses to resolve."
          }
        },
        "required": [
          "blockchain"
        ]
      }
    },
    {
      "id": "bcs-address-risk-score",
      "method": "GET",
      "path": "/v1/x402/bcs/address-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/address-risk",
      "price_usdc": "$0.15",
      "group": "blockchainsecurity-data",
      "description": "Run BlockchainSecurity behavior-based address risk scoring for Ethereum or Tron through an x402 paid wrapper.",
      "required_inputs": [
        "blockchain",
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/address-risk?blockchain=tron&address=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9&symbols=usdt%2Cusdc",
      "input_schema": {
        "properties": {
          "blockchain": {
            "type": "string",
            "pattern": "^(?:ethereum|tron)$",
            "description": "BlockchainSecurity chain slug. Address risk currently supports ethereum or tron."
          },
          "address": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_-]{3,128}$",
            "description": "Address to risk-score."
          },
          "symbols": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,._-]{1,240}$",
            "description": "Optional comma-separated asset symbols to include."
          },
          "contracts": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,:._-]{1,1000}$",
            "description": "Optional comma-separated token contracts to include."
          }
        },
        "required": [
          "blockchain",
          "address"
        ]
      }
    },
    {
      "id": "bcs-address-classify",
      "method": "GET",
      "path": "/v1/x402/bcs/address-classify",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/address-classify",
      "price_usdc": "$0.10",
      "group": "blockchainsecurity-data",
      "description": "Classify one or more blockchain addresses by likely entity type using BlockchainSecurity ML classification.",
      "required_inputs": [
        "addresses"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/address-classify?blockchain=tron&addresses=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9",
      "input_schema": {
        "properties": {
          "blockchain": {
            "type": "string",
            "pattern": "^(?:ethereum|tron|bitcoin)$",
            "description": "BlockchainSecurity chain slug. Defaults upstream to tron when omitted."
          },
          "addresses": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,:._-]{3,4000}$",
            "description": "Comma-separated addresses to classify, up to 100."
          }
        },
        "required": [
          "addresses"
        ]
      }
    },
    {
      "id": "bcs-wallet-overview",
      "method": "GET",
      "path": "/v1/x402/bcs/wallet-overview",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/wallet-overview",
      "price_usdc": "$0.08",
      "group": "blockchainsecurity-data",
      "description": "Fetch a BlockchainSecurity wallet activity and balance overview through an x402 paid wrapper.",
      "required_inputs": [
        "blockchain",
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/wallet-overview?blockchain=tron&address=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9&symbols=usdt%2Cusdc",
      "input_schema": {
        "properties": {
          "blockchain": {
            "type": "string",
            "pattern": "^[a-z0-9_-]{2,32}$",
            "description": "BlockchainSecurity chain slug."
          },
          "address": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_-]{3,128}$",
            "description": "Address to summarize."
          },
          "symbols": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,._-]{1,240}$",
            "description": "Optional comma-separated asset symbols to include."
          },
          "contracts": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,:._-]{1,1000}$",
            "description": "Optional comma-separated token contracts to include."
          },
          "output_asset": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._-]{1,40}$",
            "description": "Optional output asset for valuation where supported."
          }
        },
        "required": [
          "blockchain",
          "address"
        ]
      }
    },
    {
      "id": "bcs-fund-trace",
      "method": "GET",
      "path": "/v1/x402/bcs/trace",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/trace",
      "price_usdc": "$0.49",
      "group": "blockchainsecurity-data",
      "description": "Run BlockchainSecurity multi-hop fund-flow tracing from a starting address through an x402 paid wrapper.",
      "required_inputs": [
        "blockchain",
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/trace?blockchain=tron&address=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9&direction=out&depth=2&limit=50",
      "input_schema": {
        "properties": {
          "blockchain": {
            "type": "string",
            "pattern": "^(?:ethereum|tron|bitcoin)$",
            "description": "BlockchainSecurity chain slug."
          },
          "address": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_-]{3,128}$",
            "description": "Starting address for tracing."
          },
          "direction": {
            "type": "string",
            "enum": [
              "in",
              "out",
              "both"
            ],
            "description": "Trace direction hint mapped into track_setting."
          },
          "depth": {
            "type": "string",
            "pattern": "^[1-5]$",
            "description": "Trace depth hint mapped into track_setting."
          },
          "limit": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,2}$",
            "description": "Maximum path or transaction items requested."
          },
          "symbols": {
            "type": "string",
            "pattern": "^[A-Za-z0-9,._-]{1,240}$",
            "description": "Optional comma-separated asset symbols to filter."
          },
          "min_value": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
            "description": "Optional minimum value filter."
          }
        },
        "required": [
          "blockchain",
          "address"
        ]
      }
    },
    {
      "id": "bcs-cross-chain-track",
      "method": "GET",
      "path": "/v1/x402/bcs/cross-chain",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/cross-chain",
      "price_usdc": "$0.29",
      "group": "blockchainsecurity-data",
      "description": "Track a bridge transaction across chains using BlockchainSecurity cross-chain intelligence.",
      "required_inputs": [
        "txhash",
        "label"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/cross-chain?txhash=0x0000000000000000000000000000000000000000000000000000000000000000&label=across",
      "input_schema": {
        "properties": {
          "txhash": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_-]{16,160}$",
            "description": "Source transaction hash."
          },
          "label": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{2,40}$",
            "description": "Bridge protocol label, such as across, axelar, celer, or wormhole."
          }
        },
        "required": [
          "txhash",
          "label"
        ]
      }
    },
    {
      "id": "agent-payment-risk-gateway",
      "method": "GET",
      "path": "/v1/x402/agent/payment-risk-gateway",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/payment-risk-gateway",
      "price_usdc": "$0.005",
      "group": "x402-payment-safety",
      "description": "x402-discoverable AI agent stablecoin payment firewall: verify intent, enforce dynamic limits, score recipient risk, and return a signer directive before payment execution.",
      "required_inputs": [
        "request_id",
        "agent_id",
        "purpose",
        "pay_to",
        "amount_usdc",
        "nonce"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/payment-risk-gateway?request_id=demo-request-1&agent_id=demo-agent&purpose=api_purchase&pay_to=0x94F751f04b98507D31b500b7Ed50bE68A1514873&amount_usdc=0.025&invoice_id=demo-invoice&nonce=demo-nonce-123&max_single_usdc=0.10&human_review_above_usdc=0.09&risk_score=5",
      "input_schema": {
        "properties": {
          "request_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._:-]{1,128}$",
            "description": "Caller-defined idempotency key for the intent."
          },
          "agent_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._:-]{1,96}$",
            "description": "AI agent or runtime requesting payment authorization."
          },
          "purpose": {
            "type": "string",
            "maxLength": 80,
            "description": "Short audit purpose for the payment."
          },
          "pay_to": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Recipient address."
          },
          "amount_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Stablecoin amount in USDC."
          },
          "invoice_id": {
            "type": "string",
            "maxLength": 160,
            "description": "Commercial context binding the payment to an invoice or order."
          },
          "invoice_hash": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "description": "Optional invoice or order hash."
          },
          "nonce": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._:-]{8,128}$",
            "description": "Replay-prevention nonce."
          },
          "max_single_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum allowed amount for one payment."
          },
          "human_review_above_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Amount at or above which the decision becomes review."
          },
          "allow_pay_to": {
            "type": "string",
            "maxLength": 2048,
            "description": "Optional comma-separated recipient allowlist."
          },
          "block_pay_to": {
            "type": "string",
            "maxLength": 2048,
            "description": "Optional comma-separated recipient blocklist."
          },
          "risk_score": {
            "type": "string",
            "pattern": "^[0-9]{1,3}$",
            "description": "Caller-supplied recipient risk score from 0 to 100."
          },
          "risk_labels": {
            "type": "string",
            "maxLength": 512,
            "description": "Optional comma-separated risk labels."
          }
        },
        "required": [
          "request_id",
          "agent_id",
          "purpose",
          "pay_to",
          "amount_usdc",
          "nonce"
        ]
      }
    },
    {
      "id": "agent-rpc-preflight",
      "method": "GET",
      "path": "/v1/x402/agent/rpc-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/rpc-preflight",
      "price_usdc": "$0.005",
      "group": "agent-chain-data",
      "description": "Preflight an agent RPC or x402 chain-data request before payment: endpoint origin, method risk, chain fit, price, and budget checks.",
      "required_inputs": [
        "endpoint_url",
        "chain",
        "method"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/rpc-preflight?endpoint_url=https%3A%2F%2Fx402.example.com%2Frpc%2Fbase&chain=base&method=eth_blockNumber&max_price_usdc=0.001&session_budget_usdc=1.00",
      "input_schema": {
        "properties": {
          "endpoint_url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "RPC, x402, REST, or indexed chain-data endpoint URL."
          },
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Requested chain or CAIP-2 network label."
          },
          "method": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.:-]{2,80}$",
            "description": "RPC method, REST operation, or query action."
          },
          "max_price_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum acceptable price for this request."
          },
          "session_budget_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Remaining session budget available to the agent."
          }
        },
        "required": [
          "endpoint_url",
          "chain",
          "method"
        ]
      }
    },
    {
      "id": "rpc-capability-probe",
      "method": "GET",
      "path": "/v1/x402/chain/rpc-capability-probe",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/chain/rpc-capability-probe",
      "price_usdc": "$0.005",
      "group": "agent-chain-data",
      "description": "Score whether an RPC route likely fits agent chain-data work: logs, storage, historical reads, trace, WebSocket, and local-fork research.",
      "required_inputs": [
        "chain",
        "methods"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/chain/rpc-capability-probe?chain=ethereum&methods=eth_blockNumber%2Ceth_getLogs%2Ceth_getStorageAt&historical_block=17000000&requires_trace=false&requires_websocket=false",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Requested chain or CAIP-2 network label."
          },
          "methods": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.,:-]{2,400}$",
            "description": "Comma-separated RPC methods the workflow needs."
          },
          "historical_block": {
            "type": "string",
            "pattern": "^[0-9]{1,12}$",
            "description": "Optional historical block number needed by the workflow."
          },
          "requires_trace": {
            "type": "string",
            "pattern": "^(?:true|false)$",
            "description": "Whether debug/trace methods are required."
          },
          "requires_websocket": {
            "type": "string",
            "pattern": "^(?:true|false)$",
            "description": "Whether subscription/WebSocket support is required."
          }
        },
        "required": [
          "chain",
          "methods"
        ]
      }
    },
    {
      "id": "agent-chain-data-route-plan",
      "method": "GET",
      "path": "/v1/x402/agent/chain-data-route-plan",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/chain-data-route-plan",
      "price_usdc": "$0.005",
      "group": "agent-chain-data",
      "description": "Plan a budget-aware route for agent chain-data tasks across RPC reads, indexed data, cached intelligence, and payment review.",
      "required_inputs": [
        "task",
        "chain"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/chain-data-route-plan?task=investigate+recent+Base+token+transfers+before+payment&chain=base&data_need=logs&budget_usdc=0.02&risk_tolerance=medium",
      "input_schema": {
        "properties": {
          "task": {
            "type": "string",
            "minLength": 3,
            "maxLength": 500,
            "description": "Natural-language chain-data task."
          },
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Requested chain or CAIP-2 network label."
          },
          "data_need": {
            "type": "string",
            "enum": [
              "rpc",
              "logs",
              "storage",
              "trace",
              "indexed",
              "sql",
              "fork",
              "mixed"
            ],
            "description": "Primary data access shape."
          },
          "budget_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum planned spend for this route."
          },
          "risk_tolerance": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "description": "How much uncertainty the buyer can tolerate."
          }
        },
        "required": [
          "task",
          "chain"
        ]
      }
    },
    {
      "id": "indexed-chain-query-preflight",
      "method": "GET",
      "path": "/v1/x402/chain/indexed-query-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/chain/indexed-query-preflight",
      "price_usdc": "$0.005",
      "group": "agent-chain-data",
      "description": "Preflight an indexed chain-data query before payment: schema discovery, query type, estimated rows, cost fit, and safety flags.",
      "required_inputs": [
        "chain",
        "query_type"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/chain/indexed-query-preflight?chain=base&query_type=event_logs&estimated_rows=5000&max_price_usdc=0.02",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Requested chain or CAIP-2 network label."
          },
          "query_type": {
            "type": "string",
            "enum": [
              "schema",
              "event_logs",
              "transfers",
              "balances",
              "transactions",
              "sql",
              "protocol_timeline"
            ],
            "description": "Indexed data query family."
          },
          "estimated_rows": {
            "type": "string",
            "pattern": "^[0-9]{1,10}$",
            "description": "Caller-estimated row count or result size."
          },
          "max_price_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum acceptable query price."
          }
        },
        "required": [
          "chain",
          "query_type"
        ]
      }
    },
    {
      "id": "x402-rpc-payment-guard",
      "method": "GET",
      "path": "/v1/x402/agent/rpc-payment-guard",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/rpc-payment-guard",
      "price_usdc": "$0.005",
      "group": "agent-chain-data",
      "description": "Guard an agent payment for RPC or indexed chain-data access with endpoint, recipient, amount, budget, and signer-directive checks.",
      "required_inputs": [
        "request_id",
        "endpoint_url",
        "chain",
        "method",
        "amount_usdc"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/rpc-payment-guard?request_id=rpc-request-1&endpoint_url=https%3A%2F%2Fx402.example.com%2Frpc%2Fbase&chain=base&method=eth_getLogs&pay_to=0x94F751f04b98507D31b500b7Ed50bE68A1514873&amount_usdc=0.001&max_single_usdc=0.01&session_budget_usdc=1.00",
      "input_schema": {
        "properties": {
          "request_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._:-]{1,128}$",
            "description": "Caller-defined idempotency key for this RPC purchase."
          },
          "endpoint_url": {
            "type": "string",
            "pattern": "^https?://",
            "maxLength": 2048,
            "description": "RPC, x402, REST, or indexed chain-data endpoint URL."
          },
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Requested chain or CAIP-2 network label."
          },
          "method": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.:-]{2,80}$",
            "description": "RPC method, REST operation, or query action."
          },
          "pay_to": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Payment recipient address."
          },
          "amount_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Requested stablecoin payment amount."
          },
          "max_single_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Maximum allowed amount for one RPC/data purchase."
          },
          "session_budget_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Remaining budget for this agent session."
          }
        },
        "required": [
          "request_id",
          "endpoint_url",
          "chain",
          "method",
          "amount_usdc"
        ]
      }
    },
    {
      "id": "address-risk",
      "method": "GET",
      "path": "/v1/x402/agent-risk/address-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/address-risk",
      "price_usdc": "$0.01",
      "group": "kyt-wallet-risk",
      "description": "Return an agent-ready risk decision before paying, allowlisting, or interacting with an address.",
      "required_inputs": [
        "chain",
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/address-risk?chain=base&address=0x94F751f04b98507D31b500b7Ed50bE68A1514873&action=payment",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Chain or network label for the address."
          },
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Wallet or contract address to screen."
          },
          "action": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.:-]{2,80}$",
            "description": "Planned agent action, such as payment, approval, onboarding, or call."
          }
        },
        "required": [
          "chain",
          "address"
        ]
      }
    },
    {
      "id": "token-risk",
      "method": "GET",
      "path": "/v1/x402/agent-risk/token-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/token-risk",
      "price_usdc": "$0.01",
      "group": "kyt-wallet-risk",
      "description": "Return token safety flags for honeypot, tax, proxy, authority, liquidity, concentration, and approval risk.",
      "required_inputs": [
        "chain",
        "token"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/token-risk?chain=base&token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&action=swap",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Chain or network label for the token."
          },
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Token contract to screen."
          },
          "action": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.:-]{2,80}$",
            "description": "Planned agent action, such as swap, approve, bridge, or hold."
          }
        },
        "required": [
          "chain",
          "token"
        ]
      }
    },
    {
      "id": "transaction-decode-risk",
      "method": "GET",
      "path": "/v1/x402/agent-risk/transaction-decode-risk",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/transaction-decode-risk",
      "price_usdc": "$0.01",
      "group": "kyt-wallet-risk",
      "description": "Decode an EVM transaction shape and return pre-signing risk flags for transfers, approvals, and unknown calldata.",
      "required_inputs": [
        "chain",
        "to"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/transaction-decode-risk?chain=base&to=0x94F751f04b98507D31b500b7Ed50bE68A1514873&value_usdc=0.01&calldata=0x",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Chain or network label for the transaction."
          },
          "to": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Transaction recipient or contract."
          },
          "value_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
            "description": "Approximate value at risk in USDC."
          },
          "calldata": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]*$",
            "maxLength": 4096,
            "description": "EVM calldata or 0x for a simple transfer."
          }
        },
        "required": [
          "chain",
          "to"
        ]
      }
    },
    {
      "id": "wallet-dossier",
      "method": "GET",
      "path": "/v1/x402/agent-risk/wallet-dossier",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/wallet-dossier",
      "price_usdc": "$0.03",
      "group": "kyt-wallet-risk",
      "description": "Return a compact wallet dossier with risk, exposure, counterparty, behavior, and next-check guidance.",
      "required_inputs": [
        "chain",
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/wallet-dossier?chain=base&address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$",
            "description": "Chain or network label for the wallet dossier."
          },
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Wallet or contract address to summarize."
          }
        },
        "required": [
          "chain",
          "address"
        ]
      }
    },
    {
      "id": "safe-transaction-review",
      "method": "GET",
      "path": "/v1/x402/agent-risk/safe-transaction-review",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/safe-transaction-review",
      "price_usdc": "$0.02",
      "group": "x402-payment-safety",
      "description": "Review a planned payment, approval, swap, bridge, or contract call before an agent signs.",
      "required_inputs": [
        "chain",
        "from",
        "to",
        "action"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/safe-transaction-review?chain=base&from=0x94F751f04b98507D31b500b7Ed50bE68A1514873&to=0x94F751f04b98507D31b500b7Ed50bE68A1514873&action=payment&amount_usdc=0.01",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$"
          },
          "from": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$"
          },
          "to": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$"
          },
          "action": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.:-]{2,80}$"
          },
          "amount_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$"
          }
        },
        "required": [
          "chain",
          "from",
          "to",
          "action"
        ]
      }
    },
    {
      "id": "swap-preflight",
      "method": "GET",
      "path": "/v1/x402/agent-risk/swap-preflight",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/swap-preflight",
      "price_usdc": "$0.01",
      "group": "trading-bot-alpha-risk",
      "description": "Preflight a token swap route for token safety, liquidity, slippage, route, and policy risk.",
      "required_inputs": [
        "chain",
        "token_in",
        "token_out"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/swap-preflight?chain=base&token_in=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&token_out=0x4200000000000000000000000000000000000006&amount_usdc=10&max_slippage_bps=100",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$"
          },
          "token_in": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$"
          },
          "token_out": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$"
          },
          "amount_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$"
          },
          "max_slippage_bps": {
            "type": "string",
            "pattern": "^[0-9]{1,5}$"
          }
        },
        "required": [
          "chain",
          "token_in",
          "token_out"
        ]
      }
    },
    {
      "id": "stablecoin-health",
      "method": "GET",
      "path": "/v1/x402/agent-risk/stablecoin-health",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/stablecoin-health",
      "price_usdc": "$0.01",
      "group": "kyt-wallet-risk",
      "description": "Check stablecoin payment suitability, issuer controls, blacklist/freeze risk, and treasury policy fit.",
      "required_inputs": [
        "chain",
        "token"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/stablecoin-health?chain=base&token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&use_case=agent_payment",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "pattern": "^[A-Za-z0-9:_ -]{2,80}$"
          },
          "token": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$"
          },
          "use_case": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.:-]{2,80}$"
          }
        },
        "required": [
          "chain",
          "token"
        ]
      }
    },
    {
      "id": "policy-decide",
      "method": "GET",
      "path": "/v1/x402/agent-risk/policy-decide",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/policy-decide",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "Return a normalized ALLOW/REVIEW/BLOCK policy decision for an agent payment, signing, or tool-call request.",
      "required_inputs": [
        "request_id",
        "action"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/policy-decide?request_id=policy-request-1&action=x402_payment&amount_usdc=0.01&risk_score=20",
      "input_schema": {
        "properties": {
          "request_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._:-]{1,128}$"
          },
          "action": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.:-]{2,80}$"
          },
          "amount_usdc": {
            "type": "string",
            "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$"
          },
          "risk_score": {
            "type": "string",
            "pattern": "^[0-9]{1,3}$"
          }
        },
        "required": [
          "request_id",
          "action"
        ]
      }
    },
    {
      "id": "public-wallet-risk-lookup",
      "method": "GET",
      "path": "/v1/x402/address-risk/lookup",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/lookup",
      "price_usdc": "$0.10",
      "group": "blockchainsecurity-data",
      "description": "Look up one wallet against a curated public-source sanctions, scam, ransomware, and stablecoin blacklist intelligence feed.",
      "required_inputs": [
        "chain",
        "address"
      ],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/lookup?chain=ETH&address=0x94F751f04b98507D31b500b7Ed50bE68A1514873",
      "input_schema": {
        "properties": {
          "chain": {
            "type": "string",
            "enum": [
              "ETH"
            ],
            "description": "Chain namespace for the address. Current hosted feed supports ETH/EVM labels."
          },
          "address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "Wallet or contract address to screen."
          }
        },
        "required": [
          "chain",
          "address"
        ]
      }
    },
    {
      "id": "public-wallet-risk-snapshot",
      "method": "GET",
      "path": "/v1/x402/address-risk/snapshot",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/snapshot",
      "price_usdc": "$499.00",
      "group": "blockchainsecurity-data",
      "description": "Download the full source-attributed public wallet risk intelligence snapshot as JSONL.",
      "required_inputs": [],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/snapshot?",
      "input_schema": {
        "properties": {},
        "required": []
      }
    },
    {
      "id": "public-wallet-risk-sample",
      "method": "GET",
      "path": "/v1/x402/address-risk/sample",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/sample",
      "price_usdc": "$0.005",
      "group": "blockchainsecurity-data",
      "description": "Return a small paid sample of the public wallet risk intelligence schema, provenance, and label format before buying lookup or dataset downloads.",
      "required_inputs": [],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/sample?limit=5",
      "input_schema": {
        "properties": {
          "limit": {
            "type": "string",
            "pattern": "^[1-9]$|^10$",
            "description": "Number of sample JSONL records to return, from 1 to 10. Defaults to 5."
          }
        },
        "required": []
      }
    },
    {
      "id": "public-wallet-risk-delta",
      "method": "GET",
      "path": "/v1/x402/address-risk/delta",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/delta",
      "price_usdc": "$99.00",
      "group": "blockchainsecurity-data",
      "description": "Download the latest or requested wallet risk intelligence batch delta as JSONL.",
      "required_inputs": [],
      "example_url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/delta?batch_key=2026-W27",
      "input_schema": {
        "properties": {
          "batch_key": {
            "type": "string",
            "pattern": "^20[0-9]{2}-W[0-9]{2}$",
            "description": "Batch key to download. Defaults to the latest available batch."
          }
        },
        "required": []
      }
    },
    {
      "id": "agent-payment-guard-json-evaluate",
      "method": "POST",
      "path": "/v1/x402/payment-guard/evaluate",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/payment-guard/evaluate",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "Evaluate an agent payment with a JSON request body and return an auditable ALLOW/REVIEW/BLOCK decision.",
      "required_inputs": [
        "url",
        "session_id",
        "request_id"
      ],
      "input_schema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "session_id": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "profile_id": {
            "type": "string"
          },
          "agent_token": {
            "type": "string"
          },
          "max_single_usdc": {
            "type": "string"
          },
          "session_budget_usdc": {
            "type": "string"
          },
          "daily_budget_usdc": {
            "type": "string"
          },
          "reservation_ttl_seconds": {
            "type": "integer",
            "minimum": 30,
            "maximum": 3600
          },
          "retention_days": {
            "type": "integer",
            "minimum": 1,
            "maximum": 365
          },
          "human_review_above_usdc": {
            "type": "string"
          },
          "fail_closed": {
            "type": "boolean",
            "default": true
          },
          "allowed_domains": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "allowed_tools": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "allowed_purposes": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "active_from_hour_utc": {
            "type": "integer",
            "minimum": 0,
            "maximum": 23
          },
          "active_until_hour_utc": {
            "type": "integer",
            "minimum": 1,
            "maximum": 24
          },
          "tool_id": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "allow_pay_to": {
            "type": "string"
          },
          "block_pay_to": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "data": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "session_id",
          "request_id"
        ]
      }
    },
    {
      "id": "agent-payment-guard-policy-create",
      "method": "POST",
      "path": "/v1/x402/payment-guard/policies",
      "url": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/payment-guard/policies",
      "price_usdc": "$0.01",
      "group": "x402-payment-safety",
      "description": "Create an owner-controlled Payment Guard policy profile for budget, approval, and signer controls.",
      "required_inputs": [],
      "input_schema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "max_single_usdc": {
            "type": "string"
          },
          "session_budget_usdc": {
            "type": "string"
          },
          "daily_budget_usdc": {
            "type": "string"
          },
          "reservation_ttl_seconds": {
            "type": "integer",
            "minimum": 30,
            "maximum": 3600
          },
          "human_review_above_usdc": {
            "type": "string"
          },
          "fail_closed": {
            "type": "boolean"
          },
          "retention_days": {
            "type": "integer",
            "minimum": 1,
            "maximum": 365
          },
          "allowed_domains": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "allowed_tools": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "allowed_purposes": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "active_from_hour_utc": {
            "type": "integer",
            "minimum": 0,
            "maximum": 23
          },
          "active_until_hour_utc": {
            "type": "integer",
            "minimum": 1,
            "maximum": 24
          },
          "webhook_url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  ]
}