{"uid":"cap_T3BoqhvK_uweVmG5ceIkl","slug":"delx-commerce-location-header-resolve-8ea4f01a","name":"Delx Commerce — Location Header Resolve","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/location-header-resolve?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base_url":{"type":"string","maxLength":8192,"description":"Base URL supplied to Location Header Resolve; used only for this bounded calculation and processed in memory without retention."},"location":{"type":"string","maxLength":8192,"description":"Location supplied to Location Header Resolve; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"resolved_url":"https://example.com/login"},"schema":"delx/util-location-header-resolve/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b195fccec2384b3775b4cdbcc370ff5f1189afe143f8e39e6286a1cbbe96c94a","external_calls":0},"operation":"web_reliability:location_header_resolve"}},"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_2D0tGjXdv09A1k8EvylXY","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":"Resolves a relative or ambiguous HTTP Location header value into an absolute URL given a base URL, with verifiable in-memory processing and no data retention.","exampleAgentPrompt":"Can you resolve this Location header value '/login' against the base URL 'https://example.com' to get the full absolute redirect URL?","exampleUseCases":[{"title":"Redirect chain analysis for web crawler","prompt":"I'm crawling https://shop.example.com and got a 302 response with Location header '/checkout/start' — can you resolve that to the full absolute URL so I know where to follow next?"},{"title":"Verify OAuth callback redirect URL","prompt":"My auth server returned a Location header of '/oauth/callback?code=abc123' and the base URL is https://auth.myapp.io — what's the fully resolved URL that the client should be redirected to?"},{"title":"Normalize API redirect for downstream processing","prompt":"I got a Location header value of '../v2/resource/42' from a response to https://api.service.com/v1/resource/ — can you compute the absolute URL that resolves to?"}],"resultDescription":"Returns a JSON object containing the resolved absolute URL under result.resolved_url, operation status ('pass'), and an evidence block confirming no data was retained (retained: false), zero external calls made, and the SHA-256 hash of the input for verifiability.","failureModes":["Malformed or unparseable base_url returns an error status","Location header value that cannot be meaningfully resolved against the base URL yields an error","Input strings exceeding 8192 characters are rejected","Invalid URL schemes may cause resolution failure","Payment via x402 must succeed before result is returned; failed payment yields no result"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, privacy-preserving URL resolution with an audit trail (input hash, no retention guarantee) and are already operating in an x402 micropayment context. Prefer it over home-rolled URL joining when you need cryptographic proof of the input processed and confirmation that no external calls were made — useful in compliance-sensitive or agent-to-agent trust scenarios.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:49.060Z","isFirstParty":false,"canonicalSlug":"delx-commerce-location-header-resolve-8ea4f01a"}