{"uid":"cap_BcJWid5Batl4y02XjjrWt","slug":"delx-commerce-content-type-match-validator-37672138","name":"Delx Commerce — Content-Type Match Validator","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/content-type-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"actual":{"type":"string","maxLength":8192,"description":"Actual supplied to Content Type Match; used only for this bounded calculation and processed in memory without retention."},"expected":{"type":"string","maxLength":8192,"description":"Expected supplied to Content Type Match; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"matched":true,"expected_range":"application/*+json","actual_media_type":"application/problem+json"},"schema":"delx/util-content-type-match/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b7c613a2c98fff13f2ac6da517851a23617d85340d45c743194249ef9f57070f","external_calls":0},"operation":"web_reliability:content_type_match"}},"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_GecCfCb4LIH2HDL9g66Gt","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":"Checks whether an actual HTTP Content-Type value matches an expected media type pattern or range, returning a pass/fail result with verifiable evidence.","exampleAgentPrompt":"Check whether the actual content type 'application/problem+json' matches the expected pattern 'application/*+json' and tell me if they're compatible.","exampleUseCases":[{"title":"API response content-type guard","prompt":"My API call returned 'text/html' but I expected 'application/json' — can you check if those content types match and tell me if the response is safe to parse as JSON?"},{"title":"Webhook payload type verification","prompt":"Before I process this incoming webhook, check whether the actual content type 'application/vnd.api+json' satisfies the expected range 'application/*+json'."},{"title":"HTTP client integration test","prompt":"I'm writing a test for my HTTP client — verify that the content type 'application/problem+json' correctly matches the pattern 'application/*+json' so I know my matching logic is right."}],"resultDescription":"Returns a JSON object indicating whether the actual media type matched the expected pattern (matched: true/false), the normalized expected range, the parsed actual media type, an overall pass/fail status, and an evidence block containing a SHA-256 hash of the input and confirmation that no data was retained or sent to external services.","failureModes":["Malformed or unparseable content-type strings may return a failed match or validation error","Input strings exceeding 8192 characters will be rejected","Missing 'actual' or 'expected' fields result in a bad request error","Ambiguous wildcard patterns may produce unexpected match semantics"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically verify HTTP content-type compatibility — for example, before parsing a response body, validating webhook payloads, or asserting correct MIME types in integration tests. It is ideal when you want a pay-per-call, no-signup, verifiable validation with a cryptographic evidence trail (SHA-256 of inputs) and no data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:47.534Z","isFirstParty":false,"canonicalSlug":"delx-commerce-content-type-match-validator-37672138"}