{"uid":"cap_aq_jY6623_sMK5RSt2wbl","slug":"delx-commerce-cookie-set-header-parser-c01a58c7","name":"Delx Commerce — Cookie Set-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/cookie-set-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Cookie Set Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"name":"sid","attributes":{"path":"/","secure":true,"httponly":true,"samesite":"Lax"},"value_length":3},"schema":"delx/util-cookie-set-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"1ed778ab0ebff9fc2b38df405c07c62862e045ddbbef0672d47df2681fdc6642","external_calls":0},"operation":"web_reliability:cookie_set_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_1eOLF576sjBts4-DHalLc","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 a raw HTTP Set-Cookie header string and returns structured cookie attributes (name, value length, path, flags, SameSite) without retaining input data.","exampleAgentPrompt":"Parse this Set-Cookie header and tell me the cookie name, its security flags, SameSite setting, and path: 'sid=abc123xyz; Path=/; Secure; HttpOnly; SameSite=Lax'","exampleUseCases":[{"title":"Auditing session cookie security flags","prompt":"I have this Set-Cookie header from our login endpoint — can you parse it and tell me whether Secure, HttpOnly, and SameSite are set correctly? Header: 'session=eyJhbGc...; Path=/; Secure; HttpOnly; SameSite=Strict'"},{"title":"Debugging cookie attributes in web scraping","prompt":"My scraper just got this Set-Cookie from the site: 'tracking=a1b2c3; Path=/; SameSite=None' — can you break it down so I can see what attributes it has and whether it's missing any security flags?"},{"title":"Comparing cookie policies across API responses","prompt":"Here's a Set-Cookie header I captured: 'pref=dark_mode; Path=/settings; Max-Age=86400; SameSite=Lax' — parse it out so I can see the name, path, and all the attributes separately."}],"resultDescription":"Returns a JSON object with the parsed cookie name, structured attributes (path, secure, httponly, samesite), value length, operation name, schema version, pass/fail status, and evidence metadata including whether input was retained (always false), the SHA-256 of the input, and the number of external calls made (always zero).","failureModes":["Malformed or empty header string — may return parsing error or incomplete attributes","Header exceeds 8192 character limit — request rejected","Missing required 'header' field — validation error","Non-Set-Cookie header provided — partial or unexpected parse result"],"whenToPreferThis":"Use this endpoint when you need to deterministically parse a raw Set-Cookie HTTP header into structured fields, especially in agent pipelines that inspect cookie security policies, audit web reliability, or process HTTP responses without needing to store or transmit the raw cookie value. Preferred over general-purpose string parsing because it is purpose-built for RFC 6265 cookie syntax, guarantees no data retention, and provides cryptographic evidence of processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:02.002Z","isFirstParty":false,"canonicalSlug":"delx-commerce-cookie-set-header-parser-c01a58c7"}