{"uid":"cap_9sOdlkFAFN1-pc4p6YTRr","slug":"lookproof-cookie-header-parser-ca194266","name":"Lookproof Cookie Header Parser","description":"Check SPF, DMARC, DKIM, MTA-STS, DNSSEC and more, with results that explain what was found and why. Free browser checks and a pay-per-request API with x402.","url":"https://api.lookproof.dev/v1/http/cookie-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","title":"Header","maxLength":8192,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CMHuLF5xMBztfW9ykr4A0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a raw Set-Cookie header string according to RFC 6265bis, validating Secure, HttpOnly, SameSite, Partitioned, __Host- and __Secure- prefixes, Domain, Path, Expires, and Max-Age (with the 400-day cap), returning attribute analysis but never the cookie value itself.","exampleAgentPrompt":"Can you parse this Set-Cookie header and tell me if it's correctly configured according to RFC 6265bis? The header is: __Host-sid=abc123; Path=/; Secure; HttpOnly; SameSite=Lax","exampleUseCases":[{"title":"Auditing session cookie security settings","prompt":"I need to check whether our session cookie is set up securely — here's the header straight from our server response: __Secure-session=xyz; Domain=example.com; Path=/; Secure; HttpOnly; SameSite=Strict; Max-Age=86400. Does it pass RFC 6265bis rules?"},{"title":"Debugging a rejected __Host- prefix cookie","prompt":"Our browser keeps rejecting this cookie and I can't figure out why. Can you parse this header and tell me what's wrong with it: __Host-token=abc; Domain=example.com; Path=/; Secure; HttpOnly; SameSite=Lax?"},{"title":"Checking the 400-day Max-Age cap compliance","prompt":"Does this cookie header violate the 400-day Max-Age limit? Here it is: auth=token; Path=/; Secure; HttpOnly; SameSite=None; Partitioned; Max-Age=99999999"}],"resultDescription":"A structured breakdown of every attribute found in the Set-Cookie header — including Secure, HttpOnly, SameSite value, Partitioned, Domain, Path, Expires datetime, and Max-Age (flagged if it exceeds the 400-day RFC cap). __Host- and __Secure- prefix rule compliance is reported. The cookie value itself is never returned, only its character length. Any RFC 6265bis violations or warnings are listed.","failureModes":["Empty or missing header field returns a validation error","Header string exceeding 8192 characters is rejected","Malformed or entirely unparseable header may return a parse error with no attribute breakdown","Network or service availability issues return HTTP 5xx errors","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Use this endpoint when an AI agent needs to audit, debug, or validate a Set-Cookie header for RFC 6265bis compliance — especially when security attributes like __Host-/__Secure- prefixes, SameSite, Partitioned (CHIPS), or Max-Age cap adherence are in question. It is privacy-safe because the cookie value is never echoed back. Prefer it over generic HTTP parsers when you need authoritative prefix-rule validation or the 400-day cap check in an offline, single-call operation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:01.411Z","isFirstParty":false,"canonicalSlug":"lookproof-cookie-header-parser-ca194266"}