{
  "x402Version": 2,
  "api": {
    "name": "402MRKT — The Agentic Data Superstore",
    "description": "Unified pay-per-query data marketplace for autonomous AI agents. Multiple discrete data aisles covering DeFi security, developer intelligence, cyber vulnerabilities, financial data, content, civic records, smart contracts, ad intelligence, and governance — all settled instantly via Base USDC micropayments.",
    "baseUrl": "https://mrkt402-api-790526898870.us-central1.run.app",
    "manifests": {
      "llmsTxt": "https://mrkt402-api-790526898870.us-central1.run.app/llms.txt",
      "openapi": "https://mrkt402-api-790526898870.us-central1.run.app/openapi.json"
    },
    "pricing": {
      "paymentRequired": true,
      "model": "tiered-per-route",
      "range": "$0.02 – $0.50 USDC per query",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "network": "eip155:8453",
      "recipientAddress": "0x244Eb62A1D2525fE75c80E75f346732dAd165bF9",
      "paymentScheme": "EIP-3009 transferWithAuthorization",
      "note": "Price is resolved per endpoint. Agents must use the exact amount advertised in the 402 challenge response for each route to avoid EIP-3009 signature mismatch errors."
    },
    "endpoints": [
      {
        "path": "/api/v1/market/defi402",
        "method": "GET",
        "name": "DeFi402 Scanner",
        "status": "live",
        "description": "DeFi402 (DeFi Security) — Proprietary EVM token security scanner. Parses byte-code to detect honeypot status, hidden buy/sell taxes, ownership backdoors, mintability, proxy status, and holder metrics for any contract.",
        "parameters": [
          { "name": "address", "in": "query", "required": true, "type": "string", "description": "Token contract address to scan (e.g. 0x4200...)" },
          { "name": "chain_id", "in": "query", "required": false, "type": "string", "default": "8453", "description": "EVM chain ID. Default: 8453 (Base Mainnet)" }
        ],
        "paymentRequired": true,
        "costPerQuery": "100000",
        "costPerQueryHuman": "0.10 USDC"
      },
      {
        "path": "/api/v1/market/gitdev402",
        "method": "GET",
        "name": "GitDev402 Scanner",
        "status": "live",
        "description": "GitDev402 (Dev Intelligence) — Proprietary VCS repository analyzer. Returns comprehensive metrics on repository velocity, developer commit density, stars, forks, open issues, language, and project viability.",
        "parameters": [
          { "name": "owner", "in": "query", "required": true, "type": "string", "description": "GitHub repository owner or organization (e.g. coinbase)" },
          { "name": "repo",  "in": "query", "required": true, "type": "string", "description": "GitHub repository name (e.g. agentkit)" }
        ],
        "paymentRequired": true,
        "costPerQuery": "20000",
        "costPerQueryHuman": "0.02 USDC"
      },
      {
        "path": "/api/v1/market/cyber402",
        "method": "GET",
        "name": "Cyber402 Scanner",
        "status": "live",
        "description": "Cyber402 (Cyber Intelligence) — Advanced deep-scan vulnerability parser. Cross-references global security advisories to detect critical CVEs and exploits in any software package across major ecosystems.",
        "parameters": [
          { "name": "package",   "in": "query", "required": true, "type": "string", "description": "Package name (e.g. lodash)" },
          { "name": "ecosystem", "in": "query", "required": true, "type": "string", "description": "Package ecosystem (e.g. npm, PyPI, Go, Maven)" }
        ],
        "paymentRequired": true,
        "costPerQuery": "50000",
        "costPerQueryHuman": "0.05 USDC"
      },
      {
        "path": "/api/v1/market/insider",
        "method": "GET",
        "status": "live",
        "description": "Insider402 (Financial Intelligence) — High-frequency corporate filings parser. Extracts a real-time stream of the most recent regulatory and financial corporate submissions.",
        "parameters": [
          { "name": "count", "in": "query", "required": false, "type": "integer", "default": 10, "description": "Number of recent filings to return (max 40)" }
        ],
        "paymentRequired": true,
        "costPerQuery": "50000",
        "costPerQueryHuman": "0.05 USDC"
      },
      {
        "path": "/api/v1/signals/crypto",
        "method": "GET",
        "status": "live",
        "description": "Alternative Data — Crypto Whale Flow Signal. Scrapes on-chain whale flow scanners to track massive token movements and determine structural market sentiment.",
        "parameters": [],
        "paymentRequired": true,
        "costPerQuery": "1000000",
        "costPerQueryHuman": "1.00 USDC"
      },
      {
        "path": "/api/v1/signals/forex",
        "method": "GET",
        "status": "live",
        "description": "Alternative Data — Forex COT Institutional Positioning. Scrapes CFTC Commitments of Traders reports for institutional long/short bias on major currency pairs.",
        "parameters": [],
        "paymentRequired": true,
        "costPerQuery": "1000000",
        "costPerQueryHuman": "1.00 USDC"
      },
      {
        "path": "/api/v1/signals/composite",
        "method": "GET",
        "status": "live",
        "description": "Alternative Data — Merged Composite Signal. Aggregates both Crypto Whale Flow and Forex COT data into a single unified multi-market sentiment stream.",
        "parameters": [],
        "paymentRequired": true,
        "costPerQuery": "1000000",
        "costPerQueryHuman": "1.00 USDC"
      }
    ]
  }
}
