{"uid":"cap_NQYAAt8RlJyc4aGpcVvc2","slug":"bot-bazaar-openapi-tool-lint-for-x402-readiness-799e0b75","name":"Bot Bazaar OpenAPI Tool-Lint for x402 Readiness","description":"Lint an OpenAPI operation (operation_id, HTTP method, path, HTTP 402 response definition) for AI agent tool-calling and x402 readiness.","url":"https://bot-bazaar.fly.dev/v1/x402/openapi-tool-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":{"operation_id":{"type":"string","description":"OpenAPI operationId"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_Cy8URhGpJ3VHzg6Xm8qJ8","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":"Lints an OpenAPI operation (by operationId, HTTP method, and path) for AI agent tool-calling correctness and x402 payment-readiness, checking the HTTP 402 response definition.","exampleAgentPrompt":"Can you lint my OpenAPI operation 'createListing' (a GET method) on Bot Bazaar to check if it's set up correctly for AI agent tool-calling and x402 payment readiness, including its HTTP 402 response definition?","exampleUseCases":[{"title":"Pre-publish API x402 compliance check","prompt":"Before I publish my API, can you lint the 'getMarketPrice' GET operation to make sure it has a proper HTTP 402 response and is ready for AI agents to call it with x402 payments?"},{"title":"Debugging broken agent tool-call","prompt":"My AI agent keeps failing when calling the 'searchListings' GET operation — can you lint it on Bot Bazaar to see if there's something wrong with the operationId or 402 response definition?"},{"title":"Validating new endpoint for agent marketplace","prompt":"I just added a new DELETE endpoint with operationId 'cancelOrder' to my API — can you run it through the Bot Bazaar OpenAPI linter to check if it's x402-ready and properly structured for agent tool-calling?"}],"resultDescription":"Returns structured lint results identifying issues with the OpenAPI operation's operationId, HTTP method, path, and HTTP 402 response definition — flagging anything that makes it non-compliant with AI agent tool-calling conventions or x402 payment readiness requirements.","failureModes":["Missing or invalid operationId returns a lint error indicating the field is absent or malformed","HTTP method not in allowed enum (GET, HEAD, DELETE) returns a validation error","Malformed or missing HTTP 402 response definition triggers a specific x402 readiness failure","Payment failure ($0.01 USDC) causes the request to be rejected before linting occurs","Empty or null input object returns a schema validation error"],"whenToPreferThis":"Use this endpoint when you need to verify that a specific OpenAPI operation is correctly structured for AI agent tool-calling and x402 micropayment integration, especially before publishing to an agent marketplace. Prefer this over generic OpenAPI validators when x402 compliance and agent-facing API design are the primary concerns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:13.839Z","isFirstParty":false,"canonicalSlug":"bot-bazaar-openapi-tool-lint-for-x402-readiness-799e0b75"}