{"uid":"cap_SfdbvQ3b5jHHeKcfxexuo","slug":"coding-agent-preflight-check-6f8e5119","name":"Coding Agent Preflight Check","description":"Free need-to-tool routing plus pay-per-call npm docs and TypeScript API signatures, npm breaking-change diffs, JavaScript-rendered browser snapshots and deterministic coding-agent checks via AgentCash/x402.","url":"https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/agent/preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"enum":["url","domain","email"],"type":"string"},"value":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"ok":true},"meta":{"engine":"preflight"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qq5x5QwG7KFNVIGhU18wM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a URL, domain, or email address as a deterministic preflight check for coding agent workflows, returning an ok/fail signal.","exampleAgentPrompt":"Before kicking off the npm docs lookup, run a preflight check on the URL 'https://npmjs.com/package/express' to make sure it passes the deterministic coding-agent validation.","exampleUseCases":[{"title":"Pre-task URL sanity check","prompt":"Before my coding agent fetches the TypeScript API signatures for that package, run a preflight check on 'https://registry.npmjs.org/react' to confirm it passes validation."},{"title":"Domain validation before npm diff fetch","prompt":"Check if the domain 'npmjs.com' passes the preflight validation before I kick off the breaking-change diff job for lodash."},{"title":"Email address preflight in agent pipeline","prompt":"My coding agent needs to send a report — first run a preflight check on the email 'team@mycompany.dev' to make sure it's valid before the workflow proceeds."}],"resultDescription":"Returns a JSON object with a 'data.ok' boolean indicating pass/fail and a 'meta.engine' field set to 'preflight', confirming whether the input URL, domain, or email passed deterministic validation.","failureModes":["Invalid 'kind' enum value returns a validation error","Malformed or unparseable 'value' string may return ok:false","Network errors to the Cloudflare Worker may result in timeout","Payment failure via x402 protocol blocks the call","Missing required fields returns a schema validation error"],"whenToPreferThis":"Choose this endpoint when your coding agent needs a fast, deterministic go/no-go check on a URL, domain, or email before proceeding to more expensive paid calls (such as npm docs, TypeScript signatures, or browser snapshots). It is the logical first step in x402-based coding agent pipelines where you want to avoid wasting pay-per-call credits on invalid targets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:31:33.365Z","isFirstParty":false,"canonicalSlug":"coding-agent-preflight-check-6f8e5119"}