{"uid":"cap_2Sz2BuIRJDcoCDxDqwXTW","slug":"pennyrail-url-resolve-join-83ded167","name":"PennyRail URL Resolve & Join","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.resolve--join-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_bHD0u4NIOEXQziJq0IPv7","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 and joins URL segments into a canonical, fully-formed URL string","exampleAgentPrompt":"Can you resolve this relative path '/docs/getting-started' against the base URL 'https://example.com/api/' to give me the full canonical URL?","exampleUseCases":[{"title":"Resolve relative links from scraped pages","prompt":"I scraped a page and found the relative link '/products/shoes/detail?id=42' — can you resolve it against the base URL 'https://shop.example.com' to get the full absolute URL?"},{"title":"Join API base URL with endpoint path","prompt":"I have a base URL 'https://api.myservice.io/v2' and an endpoint path 'users/profile/settings' — join them together into one clean URL for me."},{"title":"Normalize a URL with trailing slashes","prompt":"Can you combine 'https://docs.example.com/guide/' and '../reference/index.html' into a proper resolved URL?"}],"resultDescription":"Returns a fully resolved, canonical URL string produced by resolving and joining the provided URL segments or base+relative URL pair. Response is a JSON object containing the resulting URL.","failureModes":["Invalid or malformed base URL returns an error response","Missing required 'input' field causes a 400-level error","Relative path that cannot be resolved against the given base may return an error or unexpected result","Network/service downtime on the Vercel deployment returns a 5xx error","Payment not settled via x402 protocol results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call URL resolution and joining utility without setting up your own URL parsing logic. Particularly useful in agent pipelines that encounter relative links from scraped or crawled content and need to normalize them to absolute URLs on the fly. Prefer over general-purpose HTTP libraries when you want a serverless, metered microservice approach costing $0.001 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:56.569Z","isFirstParty":false}