{"uid":"cap_NmEb1QLNN7h3AVY-LJW0X","slug":"pennyrail-url-resolve-relative-url-resolution-4129b71a","name":"PennyRail URL Resolve – Relative URL Resolution","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.resolve--resolve-relative-url","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_iYlDeiPpfMMNHl7MAPI9-","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 URL against a base URL to produce an absolute URL","exampleAgentPrompt":"Can you resolve the relative URL '../images/logo.png' against the base 'https://example.com/docs/guide/' to get the full absolute URL?","exampleUseCases":[{"title":"Normalize scraped anchor hrefs","prompt":"I scraped a page and found a relative href like '/about/team' — can you resolve it against the base URL 'https://mysite.com' to get the full absolute link?"},{"title":"Resolve relative asset paths","prompt":"I have a relative asset path '../../assets/style.css' and the current page is at 'https://app.example.com/v2/docs/intro/'. What's the absolute URL for that stylesheet?"},{"title":"Build canonical URL for sitemap","prompt":"I need to turn the relative URL 'posts/2024/my-article' into an absolute URL using base 'https://blog.example.com/' — can you resolve that for me?"}],"resultDescription":"Returns an absolute URL string computed by resolving the provided relative URL against the given base URL, following standard URL resolution rules (RFC 3986).","failureModes":["Invalid or malformed base URL returns an error","Relative URL that cannot be resolved against the base (e.g. protocol-relative conflicts)","Missing required input fields returns validation error","Payment not processed results in 402 response before computation"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call URL resolution service without standing up your own URL parsing infrastructure, particularly in agent workflows where relative hrefs need to be absolutized on the fly after scraping or parsing HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:51.972Z","isFirstParty":false}