{"uid":"cap_T_AAIospnTMr5ui3Q4pZR","slug":"delx-commerce-openapi-path-diff-61d7493c","name":"Delx Commerce — OpenAPI Path Diff","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/openapi-path-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"paths_a":{"type":"object","description":"OpenAPI paths map A"},"paths_b":{"type":"object","description":"OpenAPI paths map B"}}},"responseSchema":{"type":"json","example":{"added":["/c"],"schema":"delx/util-openapi-path-diff/v1","removed":["/a"],"common_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nOAQmK-oHn50ft5Y1DGFT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two OpenAPI paths maps and returns which paths were added, removed, and held in common","exampleAgentPrompt":"Compare these two OpenAPI path maps and tell me which endpoints were added, which were removed, and how many are shared — here's paths_a with '/users', '/orders', '/products' and paths_b with '/orders', '/products', '/invoices'.","exampleUseCases":[{"title":"Detect breaking API changes before release","prompt":"I have two OpenAPI path maps — the old version has '/users', '/orders', '/payments' and the new version has '/orders', '/payments', '/subscriptions'. Can you diff them and tell me which endpoints were removed and which are new?"},{"title":"Track new endpoints added in an API update","prompt":"Our vendor just released a new version of their API. Here's the old paths map and the new one — can you tell me which routes are brand new so I know what features I can start using?"},{"title":"Audit API surface drift between environments","prompt":"I want to check if our staging and production OpenAPI path maps have diverged. Here are the paths objects for each — please show me what's in staging but not production, what's in production but not staging, and how many they share."}],"resultDescription":"Returns a JSON object with three fields: 'added' (array of path strings present in paths_b but not paths_a), 'removed' (array of path strings present in paths_a but not paths_b), and 'common_count' (integer count of paths present in both). Also includes a schema identifier string.","failureModes":["Missing or malformed paths_a or paths_b objects may result in an error or empty diff","Non-object input (e.g. arrays instead of path maps) may cause unexpected behavior","Payment failure via x402 will block the request from being processed","Very large path maps may increase latency or hit size limits"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call computation to diff two OpenAPI paths objects without standing up your own tooling or managing subscriptions. Ideal for agents that periodically compare API versions to detect drift, breaking changes, or new capabilities, especially when operating in automated pipelines that benefit from deterministic, verifiable delivery settled in USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:42.248Z","isFirstParty":false,"canonicalSlug":"delx-commerce-openapi-path-diff-61d7493c"}