{"uid":"cap_UaVfg_UFpsRGomqgB9u9v","slug":"delx-commerce-x402-delivery-content-type-check-10004e08","name":"Delx Commerce — X402 Delivery Content-Type Check","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/x402-delivery-content-type-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"accepted":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Accepted supplied to X402 Delivery Content Type Check; used only for this bounded calculation and processed in memory without retention."},"content_type":{"type":"string","maxLength":8192,"description":"Content Type supplied to X402 Delivery Content Type Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"accepted":true,"content_type":"application/json"},"schema":"delx/util-x402-delivery-content-type-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"17d22f796e7932f46bbb49530f843fcbb42e7bea6267a2306a495865b24fc926","external_calls":0},"operation":"delivery_contract:x402_delivery_content_type_check"}},"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_M57vResdBk1o2qPRlsQTD","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":"Validates whether a given HTTP Content-Type header value matches a list of accepted content types, returning a verifiable pass/fail result with cryptographic evidence.","exampleAgentPrompt":"Check whether 'application/json' is in my list of accepted content types ['application/json', 'text/plain'] — I need a verifiable pass/fail result with no data retained.","exampleUseCases":[{"title":"Validate API response content type","prompt":"Before I process this API response, check if its Content-Type 'application/json' is in my accepted list ['application/json', 'application/ld+json'] and give me a verifiable result."},{"title":"x402 delivery compliance audit","prompt":"I'm building an x402 payment flow and need to verify that the delivered content type 'text/html' matches my accepted types ['application/pdf', 'application/json'] — run the check and return evidence I can audit."},{"title":"Content negotiation gate for agent pipeline","prompt":"My agent is about to consume a resource with content type 'image/png' — quickly validate whether that's in my allowed list ['application/json', 'text/csv'] before I proceed."}],"resultDescription":"Returns a JSON object with: a boolean 'accepted' field indicating whether the content type matched, the matched 'content_type' string, an overall 'status' (pass/fail), an 'operation' identifier, and an 'evidence' block containing a SHA-256 hash of the input, a 'retained: false' flag confirming no data is stored, and a count of external calls made (always 0).","failureModes":["Invalid or missing 'content_type' field returns a validation error","'accepted' array exceeding 256 items is rejected","Content-type strings exceeding 8192 characters are rejected","Malformed JSON body returns a 400-level error","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Use this endpoint when you need a cryptographically verifiable, auditable content-type validation with provable non-retention of input data — especially in x402 payment-gated agent pipelines where you need tamper-evident evidence of the check. Prefer this over a simple local string comparison when auditability, evidence hashes, or pay-per-use billing transparency matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:36.948Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x402-delivery-content-type-check-10004e08"}