{"uid":"cap_aUarCx6gccHbKHYVzhcHl","slug":"delx-commerce-vary-header-normalize-c204e200","name":"Delx Commerce — Vary Header Normalize","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/vary-header-normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Vary Header Normalize; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"tokens":["accept-encoding","origin"],"normalized":"accept-encoding, origin"},"schema":"delx/util-vary-header-normalize/v1","status":"pass","evidence":{"retained":false,"input_sha256":"939169b314b2600276b55d910c792908209d28331261b7f22bab533cf1e6cd07","external_calls":0},"operation":"web_reliability:vary_header_normalize"}},"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_iwGt9voTIy4IRwEDfDnYU","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 and normalizes an HTTP Vary header string into a canonical, sorted list of header field tokens","exampleAgentPrompt":"Can you normalize this Vary header for me — 'Origin, Accept-Encoding, Accept' — and give me back the canonical sorted token list?","exampleUseCases":[{"title":"CDN cache key normalization","prompt":"I'm configuring a CDN and need to normalize this Vary header before storing it: 'Accept-Encoding, Origin, Accept-Language' — can you parse it into canonical tokens?"},{"title":"HTTP response validation pipeline","prompt":"Before we forward this HTTP response, normalize the Vary header 'origin,accept-encoding' so we have a consistent lowercase token list to compare against our policy rules."},{"title":"Debugging inconsistent cache behavior","prompt":"We're seeing inconsistent cache hits and suspect the Vary header is malformed — can you normalize 'Accept-Encoding , Origin,  Accept' and tell me what tokens it actually contains?"}],"resultDescription":"Returns a JSON object containing: a list of normalized, lowercased header tokens (e.g. ['accept-encoding','origin']), a normalized comma-joined string, a status of 'pass', an operation identifier, and a verifiable evidence block including whether input was retained (always false), the SHA-256 hash of the input, and the count of external calls made (always 0).","failureModes":["Input header string exceeds 8192 character limit — request rejected","Malformed or unparseable header content — may return empty token list or error status","Payment failure or insufficient USDC balance — 402 response before processing","Network timeout — no result returned"],"whenToPreferThis":"Use this endpoint when you need a deterministic, verifiable, privacy-preserving normalization of HTTP Vary headers — especially in automated pipelines where auditability matters (the SHA-256 evidence hash confirms the input processed). Prefer this over ad-hoc string splitting when you need consistent canonical output with no data retention guarantees and a pay-per-call model with no signup friction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:29:47.361Z","isFirstParty":false,"canonicalSlug":"delx-commerce-vary-header-normalize-c204e200"}