{"uid":"cap_j0NXdX_3YxCYQ8PSAnR6S","slug":"delx-commerce-x-forwarded-for-chain-parser-a062e05e","name":"Delx Commerce — X-Forwarded-For Chain 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/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_TNvEEJtsEtgmJtBl1bWyX","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 an X-Forwarded-For header string into an ordered list of IP addresses with hop count and trust metadata","exampleAgentPrompt":"Can you parse this X-Forwarded-For header and tell me the list of IP addresses and how many hops it contains: '203.0.113.1, 198.51.100.7, 10.0.0.1'?","exampleUseCases":[{"title":"Identify originating client IP","prompt":"I have this X-Forwarded-For header from an incoming request — '203.0.113.1, 198.51.100.7' — can you break it down into the individual IPs and tell me the hop count?"},{"title":"Audit proxy chain for web reliability","prompt":"We're seeing suspicious traffic and I want to inspect the proxy chain. Can you parse this X-Forwarded-For header string '10.0.0.1, 192.168.1.5, 203.0.113.44' and tell me how many hops are involved?"},{"title":"Validate forwarded header format","prompt":"Before trusting this X-Forwarded-For header in our API gateway, can you extract all the IP addresses from '198.51.100.7, 203.0.113.1' and confirm the hop count?"}],"resultDescription":"Returns a JSON object containing an ordered array of IP addresses extracted from the header, the total hop count, a trust_decision field (currently 'not_evaluated'), evidence metadata (including whether data was retained, a SHA-256 hash of the input, and external call count), and a status field indicating success.","failureModes":["Malformed or empty header string may yield an empty address array or parsing error","Header exceeding 8192 characters will be rejected","Network or payment failure may prevent the call from completing","Invalid JSON input returns a 4xx error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call, no-signup utility to parse X-Forwarded-For headers into structured IP lists with hop counts — especially in agent workflows that require verifiable, in-memory-only processing with cryptographic input hashing for auditability. Prefer it over writing custom parsing logic when you need a reliable, standardized result with evidence metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:47.535Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x-forwarded-for-chain-parser-a062e05e"}