{"slug":"api-edifiedlab-com-v1-tools-openapi-compare-4bae5a","title":"Diff two OpenAPI specs","host":"api.edifiedlab.com","method":"POST","resource":"https://api.edifiedlab.com/v1/tools/openapi/compare","category":"other","description":"Diff two OpenAPI specs: breaking changes, added paths, and contract drift.","price_listed":0.011,"price_asked":0.011,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":735,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"base_spec":"{\"openapi\":\"3.0.0\",\"info\":{\"title\":\"Widget\",\"version\":\"1.0\"},\"paths\":{}}","revised_spec":"{\"openapi\":\"3.0.0\",\"info\":{\"title\":\"Widget\",\"version\":\"1.1\"},\"paths\":{}}"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"allOf":[{"anyOf":[{"required":["base_spec"]},{"required":["base_openapi"]}]},{"anyOf":[{"required":["revised_spec"]},{"required":["revised_openapi"]}]}],"properties":{"base_openapi":{"oneOf":[{"maxLength":262144,"type":"string"},{"type":"object"},{"type":"array"}]},"base_spec":{"oneOf":[{"maxLength":262144,"type":"string"},{"type":"object"},{"type":"array"}]},"path_count":{"maximum":5000,"type":"integer"},"revised_openapi":{"oneOf":[{"maxLength":262144,"type":"string"},{"type":"object"},{"type":"array"}]},"revised_spec":{"oneOf":[{"maxLength":262144,"type":"string"},{"type":"object"},{"type":"array"}]}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"action":{"const":"compare","type":"string"},"base_bytes":{"type":"integer"},"breaking":{"type":"boolean"},"breaking_changes":{"type":"array"},"json":{"oneOf":[{"type":"array"},{"type":"object"}]},"payload":{"description":"Opaque internal registry id on the paid response. Discovery capability label is 'openapi_diff' (serviceName/tags); do not treat that label as this field.","type":"string"},"revised_bytes":{"type":"integer"},"text":{"type":"string"}},"required":["payload","action","text","json","breaking"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.011,"price_match":true,"latency_ms":735,"error":null}],"description_full":"Diff two OpenAPI specs: breaking changes, added paths, and contract drift.","last_updated":"2026-09-19T15:32:37.596Z","schemes":["exact"]}