{"uid":"cap_AlGqkfvtl0qpG-NMrycYZ","slug":"x402-endpoint-inspector-812ba9b1","name":"x402 Endpoint Inspector","description":"Inspect a URL for x402 payment challenges, payable metadata, discovery links, OpenAPI, MCP, Agent Skills, and Bazaar-readiness signals.","url":"https://agentbodega.store/api/inspect/x402?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"fields":[{"name":"url","type":"string","required":true},{"name":"method","type":"string","required":false},{"name":"headers","type":"object","required":false},{"name":"body","type":"object","required":false},{"name":"timeoutMs","type":"integer","required":false}],"required":["url"],"fieldCount":5,"contentType":"application/json","optionalPreview":["method","headers","body","timeoutMs"],"omittedFieldCount":0},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"status":402,"discovery":{"x402":{"status":200},"openapi":{"status":200}},"metadataQuality":{"score":100},"paymentRequired":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NcCBbXVVZF-p3C6DcCcmg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects an x402-payable API endpoint to report its HTTP status, discovery metadata quality, OpenAPI availability, and payment requirements.","exampleAgentPrompt":"Can you inspect the endpoint at https://example.com/api/myservice and tell me whether it supports x402, has a valid OpenAPI spec, and what its metadata quality score is?","exampleUseCases":[{"title":"Pre-integration x402 compliance check","prompt":"Before I wire this API into my agent, can you run an x402 inspection on https://api.myprovider.com/v1/generate and tell me if it has proper discovery metadata and whether payment is required?"},{"title":"Launch readiness audit for a new payable API","prompt":"I just deployed a new x402-payable endpoint at https://agentbodega.store/api/tools/summarize — can you inspect it and give me its metadata quality score and OpenAPI status so I know if it's ready to list?"},{"title":"Debugging a broken x402 discovery response","prompt":"My endpoint at https://tools.example.com/api/translate is showing up oddly in agent directories — can you probe it with the x402 inspector and tell me what status codes and discovery results come back?"}],"resultDescription":"Returns a JSON object containing the HTTP status of the inspected endpoint, the x402 discovery status (HTTP status code), the OpenAPI discovery status (HTTP status code), a metadata quality score (0-100), and a boolean indicating whether payment is required.","failureModes":["Target endpoint is unreachable or times out — inspector may return a non-200 status and partial discovery results","Target URL is malformed or missing — request will fail with a validation error","Target endpoint does not implement x402 — x402 discovery status will be non-200","OpenAPI spec is absent or malformed — openapi status field will reflect non-200","Inspector itself requires $0.005 USDC payment via x402 — unpaid calls return HTTP 402"],"whenToPreferThis":"Use this endpoint when you need to programmatically audit whether a specific API endpoint correctly implements the x402 payment protocol, exposes an OpenAPI spec, and has sufficient metadata quality for agent discovery. Prefer this over manual inspection when building pipelines that vet new x402 APIs before integrating them, or when checking launch readiness of endpoints you have built.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:47:53.164Z","isFirstParty":false,"canonicalSlug":"x402-endpoint-inspector-812ba9b1"}