{"uid":"cap_yoUNwa0Fo0Ajcg2yGHsiL","slug":"x402-endpoint-linter-compliance-checker-393304be","name":"x402 Endpoint Linter & Compliance Checker","description":"24/7 Edge pay-per-call biomedical, multi-chain token/escrow/wallet forensics, clean web extraction, and x402 verification APIs settled via USDC on Base and Solana.","url":"https://agy-x402-gateway.omega-x402-edge.workers.dev/api/v1/x402-lint?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string","description":"Target HTTPS x402 endpoint URL to inspect"}}},"discoverable":{"type":"boolean"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","required":["target_url","http_status","score","bazaar_ready","checks","defects"],"properties":{"score":{"type":"number"},"checks":{"type":"object"},"defects":{"type":"array","items":{"type":"string"}},"verdict":{"type":"string"},"target_url":{"type":"string"},"http_status":{"type":"number"},"bazaar_ready":{"type":"boolean"},"header_bytes":{"type":"number"},"inspected_at":{"type":"string"},"networks_detected":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"score":100,"checks":{"is_402":true,"has_v2_header":true},"defects":[],"verdict":"buyer_ready","target_url":"https://aero.lonestaroracle.xyz/pool","http_status":402,"bazaar_ready":true,"inspected_at":"2026-11-05T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tc3DWQmOs7KQAfp7igjOA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a target HTTPS URL to verify it correctly implements the x402 HTTP payment protocol, returning a compliance score, pass/fail checks, and a list of defects.","exampleAgentPrompt":"Can you lint my x402 endpoint at https://aero.lonestaroracle.xyz/pool and tell me whether it's bazaar-ready, what score it gets, and list any defects in its payment header implementation?","exampleUseCases":[{"title":"Pre-launch x402 compliance audit","prompt":"Before I list my new pay-per-call API on the x402 bazaar, can you run it through the x402 linter at https://myapi.example.com/data and tell me the compliance score, whether it's buyer-ready, and any defects I need to fix?"},{"title":"Debugging a rejected x402 listing","prompt":"My endpoint https://api.myservice.dev/premium keeps getting rejected from x402 discovery — can you lint it and show me exactly which checks are failing and what defects are detected?"},{"title":"Verifying v2 header support","prompt":"I updated my API at https://payments.myapp.io/query to support x402 v2 headers — can you verify it passes the has_v2_header check and give me the full compliance report?"}],"resultDescription":"A JSON object containing: a numeric compliance score (0–100), a checks object with boolean results for individual x402 protocol checks (e.g. is_402, has_v2_header), an array of defect strings describing any non-conformances, a verdict string (e.g. 'buyer_ready'), a bazaar_ready boolean flag, the target URL, HTTP status code observed, header byte size, inspection timestamp, and detected blockchain networks.","failureModes":["Target URL is not reachable or returns a non-HTTPS scheme — inspection fails with an error","Target URL does not respond with a 402 status — is_402 check fails, score drops","Missing or malformed x402 payment headers — defects listed, bazaar_ready returns false","Network timeout on the target endpoint — linter may return an incomplete result","Invalid or missing 'url' query parameter — request returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to verify that a specific HTTPS endpoint correctly implements the x402 HTTP payment protocol before listing it on a bazaar or integrating it as a payment-gated API. It is the right choice when you want a structured compliance score and defect list rather than simply probing whether a 402 response is returned. Prefer this over generic HTTP probing tools when x402-specific header validation and bazaar-readiness signals are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:29:10.574Z","isFirstParty":false,"canonicalSlug":"x402-endpoint-linter-compliance-checker-393304be"}