{"uid":"cap_4SCmb7VDpSLPxbD75L4Ua","slug":"delx-commerce-content-type-header-parser-110eba54","name":"Delx Commerce — Content-Type Header Parser","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-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Content Type Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"value":"application/json","parameters":{"charset":"utf-8"}},"schema":"delx/util-content-type-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"5c24e73c9e741320e06a1ff85b66a54a947393edcd7062ac04e5723f7e04fe2d","external_calls":0},"operation":"web_reliability:content_type_parse"}},"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_MsdCoISx30XDTReNXYT6D","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":"Parses an HTTP Content-Type header string into its MIME type value and parameters (e.g. charset) with verifiable, in-memory processing and no data retention.","exampleAgentPrompt":"Parse this Content-Type header for me and tell me the MIME type and any parameters like charset: 'application/json; charset=utf-8'.","exampleUseCases":[{"title":"Detecting charset before decoding response body","prompt":"I've got this Content-Type header from a server response — 'text/html; charset=iso-8859-1' — can you parse it and tell me the exact charset so I know how to decode the body?"},{"title":"Validating API response content type","prompt":"Can you parse this Content-Type header value 'application/vnd.api+json; charset=utf-8' and confirm the MIME type so I can verify the server is returning what I expect?"},{"title":"Routing requests by media type in an agent pipeline","prompt":"I need to know the base MIME type from this header — 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxk' — so I can decide how to handle the request body downstream."}],"resultDescription":"Returns a JSON object with the parsed MIME type value (e.g. 'application/json'), an object containing extracted parameters (e.g. charset), operation status ('pass'), schema identifier, and a verifiable evidence block including whether input was retained (always false), a SHA-256 hash of the input, and the number of external calls made (always 0).","failureModes":["Malformed or empty header string may result in a parse error or null fields","Header exceeding 8192 characters will be rejected","Payment failure via x402 will prevent the call from completing","Invalid USDC payment on Base or Solana will result in a 402 response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use, no-signup Content-Type header parser with cryptographic evidence of processing (input hash, no-retention guarantee). Prefer it over rolling your own parser when auditability and verifiable delivery matter, or when operating in an agent pipeline that already uses x402 micropayment infrastructure 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:49.521Z","isFirstParty":false,"canonicalSlug":"delx-commerce-content-type-header-parser-110eba54"}