{"uid":"cap_W8MIpGZTzKIcUycVJCwHg","slug":"openapi-diff-65a6264a","name":"OpenAPI Diff","description":"Diff two OpenAPI specs: breaking changes, added paths, and contract drift.","url":"https://api.edifiedlab.com/v1/tools/openapi/compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base_spec":{"oneOf":[{"type":"string","maxLength":262144},{"type":"object"},{"type":"array"}]},"path_count":{"type":"integer","maximum":5000},"base_openapi":{"oneOf":[{"type":"string","maxLength":262144},{"type":"object"},{"type":"array"}]},"revised_spec":{"oneOf":[{"type":"string","maxLength":262144},{"type":"object"},{"type":"array"}]},"revised_openapi":{"oneOf":[{"type":"string","maxLength":262144},{"type":"object"},{"type":"array"}]}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.011","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.011/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pj-B16fdBcekEhl0zreQ3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.011","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two OpenAPI specifications to detect breaking changes, added paths, and contract drift between versions.","exampleAgentPrompt":"Compare these two OpenAPI specs and tell me what breaking changes were introduced — here's the base spec and the revised spec I'm about to ship.","exampleUseCases":[{"title":"Pre-release breaking change audit","prompt":"Before I deploy this new API version, compare the base spec and the updated revised spec to find any breaking changes I might be introducing for existing clients."},{"title":"CI pipeline contract drift check","prompt":"I have our old OpenAPI spec and the latest generated one from our codebase — can you diff them and flag any paths that were removed or had their request/response schemas changed?"},{"title":"Third-party API upgrade review","prompt":"A vendor just gave me their new OpenAPI spec. Compare it against the version we integrated six months ago and tell me what changed — especially anything that would break our integration."}],"resultDescription":"A structured report detailing breaking changes (removed paths, changed parameters, modified response schemas), newly added paths, and overall contract drift between the base and revised OpenAPI specifications.","failureModes":["Invalid or malformed OpenAPI spec in either base or revised field — returns parsing error","Spec exceeds 262,144 character limit — returns size error","path_count exceeds maximum of 5000 — returns validation error","Missing both base_spec/base_openapi or revised_spec/revised_openapi fields — returns missing input error","Non-OpenAPI JSON/YAML structure submitted — returns schema mismatch error"],"whenToPreferThis":"Use this endpoint when you need a dedicated, structured diff of two OpenAPI specifications focused on breaking changes and contract drift. Prefer this over a generic JSON diff tool when you need API-semantic awareness (e.g. distinguishing breaking vs non-breaking changes). Use the sibling 'Structured Data Tools' endpoint for general-purpose JSON diff without OpenAPI semantics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:39:28.309Z","isFirstParty":false,"canonicalSlug":"openapi-diff-65a6264a"}