youraitools-api / tree / public/aiax/sections/x402fix.json ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
{
 "aiax_version": "0.1",
 "section_id": "x402fix",
 "purpose": "x402fix: Full x402 endpoint check with paste-ready fixes: everything in lite plus the CDP facilitator's own validate verdict and Bazaar index status, /openapi.json and /.well-known/x402 consistency, payee checks (EVM code, Solana USDC token account, CounterpartyCheck screening) and a generated, self-validated extensions.bazaar block, multichain accepts (Base, Polygon, Arbitrum One, Solana) and code snippet.",
 "inputs": {
  "type": "object",
  "properties": {
   "url": {
    "type": "string",
    "description": "Full https URL of the paid x402 route (site tier: the origin or API base URL)"
   },
   "method": {
    "type": "string",
    "enum": [
     "GET",
     "POST"
    ],
    "description": "Method your paid route uses (default: from its Bazaar declaration, else GET)"
   },
   "framework": {
    "type": "string",
    "enum": [
     "hono",
     "express",
     "next"
    ],
    "description": "Server framework for the generated snippet (check tier, default hono)"
   }
  },
  "required": [
   "url"
  ]
 },
 "outputs": {
  "type": "object",
  "properties": {
   "url": {
    "type": "string"
   },
   "tier": {
    "type": "string"
   },
   "method": {
    "type": "string"
   },
   "grade": {
    "type": "string"
   },
   "score": {
    "type": "integer"
   },
   "status": {
    "type": "string"
   },
   "summary": {
    "type": "string"
   },
   "x402": {
    "type": "object",
    "properties": {
     "v2": {
      "type": "boolean"
     },
     "v1": {
      "type": "boolean"
     },
     "networks": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "price_usd": {
      "type": "number"
     },
     "bazaar": {
      "type": "boolean"
     }
    }
   },
   "fixes": {
    "type": "array",
    "items": {}
   },
   "cdp": {
    "type": "object",
    "properties": {
     "valid": {
      "type": "boolean"
     },
     "indexed": {
      "type": "boolean"
     },
     "last_crawled_at": {
      "type": "string"
     },
     "failed": {
      "type": "array",
      "items": {}
     }
    }
   },
   "generated": {
    "type": "object",
    "properties": {
     "bazaar_self_valid": {
      "type": "boolean"
     },
     "note": {
      "type": "string"
     }
    }
   }
  }
 },
 "pricing": {
  "model": "per_call",
  "amount": "0.02",
  "currency": "USDC",
  "rail": "x402"
 },
 "examples": [
  {
   "description": "GET /x402fix/v1/check, paid over x402 (USDC on Base); an unpaid call answers 402 with the terms.",
   "request": {
    "method": "GET",
    "url": "https://api.youraitools.co/x402fix/v1/check",
    "query": {
     "url": "https://api.youraitools.co/counterpartycheck/v1/lite"
    }
   },
   "response": {
    "url": "https://api.youraitools.co/counterpartycheck/v1/lite",
    "tier": "check",
    "method": "GET",
    "grade": "A",
    "score": 100,
    "status": "pass",
    "summary": "A (100/100): x402 v2+v1, Base, Polygon, Arbitrum One, Solana. No problems found.",
    "x402": {
     "v2": true,
     "v1": true,
     "networks": [
      "Base",
      "Polygon",
      "Arbitrum One",
      "Solana"
     ],
     "price_usd": 0.005,
     "bazaar": true
    },
    "fixes": [],
    "cdp": {
     "valid": true,
     "indexed": true,
     "last_crawled_at": "2026-10-22T16:29:39.916Z",
     "failed": []
    },
    "generated": {
     "bazaar_self_valid": true,
     "note": "Paste-ready: the bazaar block validates against its own schema."
    }
   }
  }
 ],
 "pact_mandate_template": null,
 "extensions": {
  "youraitools": {
   "endpoint": "https://api.youraitools.co/x402fix/v1/check",
   "network": "eip155:8453",
   "x402_versions": [
    2,
    1
   ],
   "mcp": "https://api.youraitools.co/x402fix/mcp",
   "openapi": "https://api.youraitools.co/x402fix/openapi.json"
  }
 }
}

agentgate-source: code mirror on Cloudflare Pages. All repos