{"uid":"cap_gVNrS_VVHjw4UCI4m200e","slug":"delx-commerce-http-header-diff-50e0ed65","name":"Delx Commerce HTTP Header 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/http-header-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","maxProperties":200},"before":{"type":"object","maxProperties":200}}},"responseSchema":{"type":"json","example":{"added":[],"schema":"delx/util-http-header-diff/v1","changed":[{"name":"strict-transport-security","after":"max-age=31536000","before":"max-age=60"}],"removed":[],"unchanged_count":1,"credential_values_redacted":true,"security_sensitive_changes":["strict-transport-security"]}},"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_FAZ5nHOHq2kOMjch0RgNr","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":"Compares two sets of HTTP response headers and returns a structured diff showing added, removed, changed, and unchanged headers with security-sensitive changes highlighted.","exampleAgentPrompt":"Compare these two sets of HTTP headers for me — the 'before' set has strict-transport-security set to max-age=60 and content-type set to text/html, and the 'after' set has strict-transport-security set to max-age=31536000 — tell me what changed, what was added or removed, and flag any security-sensitive differences.","exampleUseCases":[{"title":"Post-deployment security header audit","prompt":"After we pushed the new config, the server headers changed. Can you diff the old headers (content-type: text/html, strict-transport-security: max-age=60, x-frame-options: DENY) against the new ones (content-type: text/html, strict-transport-security: max-age=31536000) and tell me what security-relevant things changed?"},{"title":"CI pipeline header regression check","prompt":"In our CI pipeline we captured headers before the release and after — the before set is content-type: application/json, cache-control: no-store, and the after set is content-type: application/json, cache-control: public, max-age=3600. Show me what changed and flag anything security-sensitive."},{"title":"Monitor HSTS policy changes over time","prompt":"I want to track whether our HSTS header settings changed between yesterday's snapshot and today's — before was strict-transport-security: max-age=86400 and after is strict-transport-security: max-age=31536000; includeSubDomains. What's different and is it a security-sensitive change?"}],"resultDescription":"Returns a JSON object with schema 'delx/util-http-header-diff/v1' containing: 'added' (list of newly added headers), 'removed' (list of deleted headers), 'changed' (list of headers with name, before value, and after value), 'unchanged_count' (integer count of unchanged headers), 'security_sensitive_changes' (list of header names considered security-sensitive that changed), and 'credential_values_redacted' (boolean indicating if credential-like values were masked).","failureModes":["Invalid or non-object input for 'before' or 'after' fields returns an error","Exceeding 200 properties in either object may be rejected","Payment not processed — USDC payment via x402 required before result is returned","Malformed header values may cause unexpected diff results"],"whenToPreferThis":"Choose this endpoint when you need a structured, security-aware diff of two HTTP header snapshots with automatic redaction of credential-like values and explicit flagging of security-sensitive header changes. Ideal for deployment pipelines, monitoring agents, and security audits where a simple text diff would miss security context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:01.004Z","isFirstParty":false,"canonicalSlug":"delx-commerce-http-header-diff-50e0ed65"}