{"uid":"cap_ZWgCqcJNxJVGDV1gfgIcy","slug":"delx-commerce-forwarded-header-parse-6730956b","name":"Delx Commerce — Forwarded Header Parse","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/forwarded-header-parse?utm_source=zero.xyz","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_JIDgqHKTlF5ofQ6UcX89g","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 the HTTP Forwarded header string (RFC 7239) into structured entries with client IPs, host, and protocol fields.","exampleAgentPrompt":"Parse this Forwarded header string for me and tell me the client IP, host, and protocol from each entry: 'for=192.0.2.43;host=example.com;proto=https, for=10.0.0.1'","exampleUseCases":[{"title":"Extract real client IP behind proxy","prompt":"I have this Forwarded header from an incoming request: 'for=203.0.113.5;host=api.myapp.com;proto=https' — can you parse it and tell me the originating client IP and whether it came in over HTTPS?"},{"title":"Debug multi-hop proxy chain","prompt":"Can you parse this multi-entry Forwarded header and show me each hop's details? The header is: 'for=192.0.2.1;host=gateway.example.com;proto=https, for=10.1.2.3;host=internal-lb.example.com;proto=http'"},{"title":"Validate forwarded header format","prompt":"Check if this Forwarded header is well-formed and extract any structured fields from it: 'for=\"[2001:db8::1]\";proto=https;host=mysite.io'"}],"resultDescription":"Returns a JSON object with a result containing count (number of parsed entries) and an entries array, each entry holding the raw value and a parameters object with fields like host and proto. Also includes evidence metadata: whether the input was retained (always false), a SHA-256 hash of the input, the number of external calls made (always 0), operation label, schema version, and a pass/fail status.","failureModes":["Malformed or empty header string may return zero entries or a parsing error","Header string exceeding 8192 characters will be rejected","Missing or null header field will cause a validation error","Invalid RFC 7239 syntax may result in partial parsing or a fail status"],"whenToPreferThis":"Use this endpoint when you need a cheap, verifiable, privacy-preserving parse of an HTTP Forwarded header without standing up your own parser. It is ideal for agents processing web request metadata, detecting client IPs behind reverse proxies, or validating header correctness in a pay-per-call model with no signup and cryptographic delivery proof via x402 on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:06.181Z","isFirstParty":false,"canonicalSlug":"delx-commerce-forwarded-header-parse-6730956b"}