{"uid":"cap_DbuHe6soVTGFCjUdGD0xT","slug":"x-forwarded-for-chain-normalizer-46d56962","name":"X Forwarded For Chain Normalizer","description":"X Forwarded For Chain: X Forwarded For Chain normalizes a proxy chain without deciding whether an address is trusted from bounded caller-supplied values without an external provider. Call X Forwarded For Chain 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 X Forwarded For Chain as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, s…","url":"https://api.delx.ai/api/v1/x402/x-forwarded-for-chain?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to X Forwarded For Chain; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"addresses":["203.0.113.1","198.51.100.7"],"hop_count":2,"trust_decision":"not_evaluated"},"schema":"delx/util-x-forwarded-for-chain/v1","status":"pass","evidence":{"retained":false,"input_sha256":"f8588bb5312c2456e1267b1eeb6b19b2c35299b60cb7bcdc7fa6aef7bc97373d","external_calls":0},"operation":"web_reliability:x_forwarded_for_chain"}},"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_4oMe40FDBSVGAIhwfKmrb","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":"Normalizes and validates an X-Forwarded-For proxy chain header, returning the parsed chain, computed findings, and a pass/advisory status as deterministic JSON.","exampleAgentPrompt":"Can you normalize and validate this X-Forwarded-For header for me before I accept the request: '203.0.113.1, 198.51.100.5, 192.168.1.1'? I want to know if it passes and what the parsed chain looks like.","exampleUseCases":[{"title":"Validate proxy chain before rate limiting","prompt":"Before I apply rate limiting to this request, check the X-Forwarded-For header '203.0.113.195, 10.0.0.1' — normalize it and tell me if it passes or if there's anything advisory I should know."},{"title":"Sanitize header before caching response","prompt":"I'm about to cache a response based on the caller's IP — can you normalize and validate this X-Forwarded-For chain '198.51.100.42, 172.16.0.5' so I know it's clean before I use it as a cache key?"},{"title":"Audit forwarded header in security review","prompt":"During our security audit, I need to check this X-Forwarded-For value from our logs: '10.1.1.1, 203.0.113.99, unknown' — normalize it, parse the chain, and flag anything suspicious or non-passing."}],"resultDescription":"Returns a versioned deterministic JSON object containing the normalized X-Forwarded-For proxy chain, a computed finding describing the chain's structure or issues, and an explicit pass or advisory status indicating whether the header is acceptable.","failureModes":["Header string exceeds 8192 character limit — request rejected","Malformed or unparseable header values — advisory status returned with findings","Missing header field — endpoint may return error or empty chain result","Network timeout or transient API error — retry with same input for deterministic result"],"whenToPreferThis":"Use this endpoint when you need a deterministic, versioned, stateless normalization and validation of X-Forwarded-For headers before security-sensitive operations such as accepting, caching, redirecting, or rate-limiting caller-supplied web requests. Prefer it over ad-hoc regex parsing when you need a consistent, auditable pass/advisory finding with no external dependencies or data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:42:54.440Z","isFirstParty":false,"canonicalSlug":"x-forwarded-for-chain-normalizer-46d56962"}