{"uid":"cap_3gvhS5C8OdKeSAmjAfY-t","slug":"delx-commerce-response-contract-diff-cd34e51f","name":"Delx Commerce — Response Contract 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/response-contract-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"actual":{"type":"object","description":"Input field: actual."},"expected":{"type":"object","description":"Input field: expected."}}},"responseSchema":{"type":"json","example":{"scope":"top-level structural comparison","schema":"delx/util-response-contract-diff/v1","compatible":false,"missing_fields":["ready"],"type_mismatches":["id"],"unexpected_fields":[]}},"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_R-G2A80rkQ23KSwmPUnEV","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":"Compares an actual API response object against an expected response schema to identify missing fields, type mismatches, and unexpected fields.","exampleAgentPrompt":"Compare this actual response I got from an API against the expected schema and tell me which fields are missing, which have the wrong type, and whether they're compatible overall.","exampleUseCases":[{"title":"Debug broken agent tool response","prompt":"My agent's tool call returned a response but something's off — can you diff the actual response against the expected contract and tell me which fields are missing or have the wrong type?"},{"title":"Validate API integration before deployment","prompt":"Before I ship this integration, can you check whether the actual API response matches the expected schema and flag any type mismatches or missing required fields?"},{"title":"Catch schema drift after upstream update","prompt":"The upstream API just released a new version and I want to know if the response format changed — compare the old expected schema against a live response sample and tell me what's different."}],"resultDescription":"Returns a JSON object with a compatibility boolean, list of missing fields, list of type mismatches, list of unexpected fields, the comparison scope (top-level structural comparison), and the schema identifier used (delx/util-response-contract-diff/v1).","failureModes":["Missing or malformed 'actual' or 'expected' fields returns a validation error","Non-object inputs for actual/expected may cause parsing failure","Payment not fulfilled via x402 returns a 402 Payment Required response","Deeply nested schemas may only be compared at top-level scope, missing nested mismatches"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call schema diff with no signup overhead — ideal for AI agents that need to verify API contract compliance on the fly, detect schema drift, or debug response mismatches in real time without setting up a full testing framework.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:53.950Z","isFirstParty":false,"canonicalSlug":"delx-commerce-response-contract-diff-cd34e51f"}