{"uid":"cap_DmIgYJ911bvcABxebO9K_","slug":"10x402-lint-single-check-954d751c","name":"10x402 Lint Single Check","description":"Run ONE named check against a live endpoint","url":"https://10x402.com/lint/one","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"string","maxLength":262144,"description":"a JSON object: { \"url\": \"https://…\", \"check\": \"V2_B64_URLSAFE\" } — exactly one check id from GET /check, plus optionally { \"method\": \"POST\" | \"GET\" }, up to 256 KB"},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"bodyType":{"type":"string","const":"text"}},"additionalProperties":false},"output":{"type":"object","required":["type","format"],"properties":{"type":{"type":"string","const":"text"},"format":{"type":"string","const":"application/json","description":"a JSON single-check report: check, applied, passed, the finding with its fix (or null), regime, sources and the envelope summary"},"example":{"type":"string","description":"the sample request body above, actually run through this endpoint — or, when that run is larger than a response header should carry, an object naming its size and the free URL it is published at in full"}},"additionalProperties":false}}},"responseSchema":{"type":"text","format":"application/json","example":"{\"check\":\"V2_B64_URLSAFE\",\"applied\":true,\"passed\":true,\"finding\":null,\"regime\":\"payment\",\"severity\":\"error\",\"core\":true,\"sources\":[{\"kind\":\"client-code\",\"ref\":\"@x402/core@2.23.0 dist/cjs/utils/index.js:133 — Base64EncodedRegex = /^[A-Za-z0-9+/]*={0,2}$/\"},{\"kind\":\"client-code\",\"ref\":\"@x402/core@2.23.0 dist/cjs/http/index.js:1778-1781 — the regex is tested on the RAW header, then it throws, before any decode\"},{\"kind\":\"spec\",\"ref\":\"specs/transports-v2/http.md:7-25 § Payment Required Signaling\"}],\"summary\":{\"versions_detected\":[1,2],\"payTo\":\"0x0adc7adac7bbaffffbd73505711e42378c4f9f9e\",\"network\":\"eip155:8453\",\"price\":\"$0.001 (1000 atomic)\"},\"checks_run\":1}"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HZP5b3jmqICRdTu5vKA2y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs one named x402 compliance check against a live URL and returns the finding plus an actionable fix if the check fails.","exampleAgentPrompt":"Run the V2_B64_URLSAFE lint check on https://myapi.example.com/data and tell me if it passes, what the finding is, and how to fix it if it doesn't.","exampleUseCases":[{"title":"Debug missing Bazaar listing","prompt":"My API passes x402 validate but still isn't showing up in Bazaar — run the V2_B64_URLSAFE check on https://myservice.dev/api/premium and tell me exactly what's wrong and how to fix it."},{"title":"Pre-launch compliance verification","prompt":"Before I launch, run the x402 V2_B64_URLSAFE lint check on https://api.myproduct.com/generate to confirm the 402 response won't block indexing, and give me the full finding with sources."},{"title":"Automated CI check for x402 correctness","prompt":"Check https://staging.myapp.io/premium-endpoint with check ID V2_B64_URLSAFE and tell me the severity and whether it passed so I can decide if the build is safe to promote."}],"resultDescription":"A JSON report for the single check run: the check ID, whether it was applied, whether it passed, the finding with a specific fix (or null if passing), the compliance regime (e.g. 'payment'), severity level, whether it is a core check, annotated source references (spec or client-code), and an envelope summary including detected versions, payTo address, network, and price.","failureModes":["Invalid or unreachable target URL returns an error or unapplied check result","Unknown check ID causes the check not to be applied (applied: false)","Target server does not return a 402 response, making the check inapplicable","Malformed request body (missing url or check fields) returns a validation error","Network timeout to target URL prevents check execution"],"whenToPreferThis":"Use this endpoint when you need to diagnose exactly which x402 compliance rule is causing a service to fail indexing or not appear in Bazaar, and you already know (or have retrieved from GET /check) the specific check ID you want to investigate. It gives a precise finding and actionable fix for one check at a time, making it ideal for targeted debugging or CI pipelines that assert individual rules.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:55.910Z","isFirstParty":false}