{"uid":"cap_PNw7UreQyl2mRdRnNMuEr","slug":"moneytools-openapi-linter-8d40c1ef","name":"MoneyTools OpenAPI Linter","description":"OpenAPI linter (agent readiness): Lint an OpenAPI/Swagger JSON or YAML: operationIds, descriptions, responses, undeclared path params, missing security schemes, servers, x402 payment info. Free tier 10/day; then $0.003 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.003 USDC per call via x402 on Base. Run by MoneyTools.","url":"https://tools.moneytools.dev/v1/openapi-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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":[],"properties":{"url":{"type":"string","examples":["https://api.moneytools.dev/openapi.json"],"description":"spec URL"},"spec":{"type":"object","description":"or the spec (JSON object or YAML string)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"payment":{"type":"object","properties":{"charged":{"type":"boolean"},"network":{"type":"string"},"amountUsd":{"type":"string"},"transaction":{"type":["string","null"]}}},"freeTier":{"type":"object"},"_moneytools":{"type":"object","description":"optional plan / partner hints"}},"description":"Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l4z2sS-h6j2ALpUTPGjVT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lints an OpenAPI/Swagger spec (by URL or inline) for agent-readiness issues: operationIds, descriptions, responses, undeclared path params, missing security schemes, servers, and x402 payment info","exampleAgentPrompt":"Can you lint my OpenAPI spec at https://api.myservice.com/openapi.json and tell me what's missing — operationIds, descriptions, security schemes, server definitions, and anything that would block AI agent readiness?","exampleUseCases":[{"title":"Pre-publish API spec audit","prompt":"Before I publish my API, can you lint the OpenAPI spec at https://api.acme.com/openapi.json and flag any missing operationIds, undeclared path params, or absent security schemes?"},{"title":"AI agent readiness check","prompt":"I'm building an agent-callable API — can you check my OpenAPI spec at https://dev.myapp.io/v2/openapi.yaml to see if it's ready for AI agents, including whether x402 payment info is properly declared?"},{"title":"Swagger validation for new microservice","prompt":"We just wrote a Swagger file for our new microservice — can you lint it and tell us what's broken or missing, especially response definitions and server entries?"}],"resultDescription":"A JSON object listing lint findings categorized by rule (missing operationIds, missing/thin descriptions, undeclared path parameters, missing security schemes, absent server definitions, x402 payment info gaps), plus payment metadata indicating whether the call was charged, the network, amount in USD, and transaction hash.","failureModes":["Invalid or unreachable spec URL returns an error without charging","Malformed JSON/YAML spec body results in a parse error","Free tier exhausted (10/day) with no payment method returns HTTP 402 with PAYMENT-REQUIRED","Missing required 'url' or 'spec' query param returns a validation error","Spec too large or timeout causes a failure without charge"],"whenToPreferThis":"Use this endpoint when you need automated, structured linting of an OpenAPI or Swagger spec specifically for agent-readiness gaps (operationIds, descriptions, x402 payment fields) rather than generic schema validation. It is the right choice when you want actionable, categorized findings in JSON rather than a human-readable report, and when the spec is accessible via a public URL or can be passed inline. Prefer this over general-purpose validators when x402 and AI-agent compatibility checks are a priority.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:39:05.956Z","isFirstParty":false,"canonicalSlug":"moneytools-openapi-linter-8d40c1ef"}