{"uid":"cap_jGhMEk6pL4CjyN2dpsM5x","slug":"forwarded-header-parse-3e73de9e","name":"Forwarded Header Parse","description":"Forwarded Header Parse: Forwarded Header Parse parses bounded standardized Forwarded header elements from bounded caller-supplied values without an external provider. Call Forwarded Header Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Forwarded Header Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memo…","url":"https://api.delx.ai/api/v1/x402/forwarded-header-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Forwarded Header Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"count":1,"entries":[{"value":"for=192.0.2.43","parameters":{"host":"example.com","proto":"https"}}]},"schema":"delx/util-forwarded-header-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b67c372b032dcbad87778aa97564468e1c93a1af08bcce74c0c0f12b8747427f","external_calls":0},"operation":"web_reliability:forwarded_header_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_hHqGp7USGt-jYDu2NXpRM","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 validates RFC 7239 Forwarded HTTP header values, returning normalized evidence and a pass/advisory status as deterministic versioned JSON.","exampleAgentPrompt":"Can you parse this Forwarded header value and tell me if it's well-formed and what client IP it claims: 'for=192.0.2.60;proto=http;by=203.0.113.43;host=example.com'?","exampleUseCases":[{"title":"Validate proxy header before caching","prompt":"Before I cache this response, check whether the Forwarded header 'for=10.0.0.1;proto=https;host=myapp.example.com' is valid and normalized — I need a pass or advisory verdict."},{"title":"Extract originating IP from load balancer","prompt":"Parse this Forwarded header from our load balancer and tell me what client IP and protocol it reports: 'for=\"192.168.1.100:4321\";proto=https;by=203.0.113.1'."},{"title":"Security review of caller-supplied header","prompt":"I'm about to redirect based on a caller-supplied Forwarded header value — can you analyze 'for=_hidden;proto=http;host=internal.corp' and flag anything suspicious or non-standard before I proceed?"}],"resultDescription":"A versioned deterministic JSON object containing: normalized Forwarded header elements (for, by, proto, host fields), the computed finding describing what was parsed, and an explicit pass or advisory status indicating whether the header is well-formed and safe to use.","failureModes":["Header string exceeds 8192-character limit — request rejected","Malformed or unparseable Forwarded header — advisory status returned with finding detail","Empty or missing header field — may return advisory with explanation","Payment failure via x402 — call not processed"],"whenToPreferThis":"Use this endpoint when you need deterministic, stateless, first-party parsing of RFC 7239 Forwarded headers without retaining input data — particularly before accepting, caching, redirecting, or retrying a caller-supplied web response. Prefer it over custom parsing logic when you need a normalized, versioned JSON result with an explicit pass/advisory verdict for auditability or downstream decision-making.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:12:59.883Z","isFirstParty":false}