{"uid":"cap_ZxEYTj7bPxiI99X3u6z55","slug":"pennyrail-url-resolver-71ed7e6f","name":"PennyRail URL Resolver","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/url.resolve","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","description":"{base,relative}"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"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_UL4PjZDeazk5gnU_M6UJ8","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 path against a base URL, returning the fully resolved absolute URL","exampleAgentPrompt":"Resolve the relative path '/api/v2/users/profile' against the base URL 'https://example.com/app/' and give me the full absolute URL.","exampleUseCases":[{"title":"Resolve scraped href into absolute link","prompt":"I scraped a page at 'https://docs.mysite.com/guide/' and found a relative link '../reference/api'. Can you resolve that relative href into the full absolute URL?"},{"title":"Build canonical URL from API base","prompt":"My API base is 'https://api.service.io/v3/' and I need to call endpoint '../auth/token' — resolve that relative path to the full URL I should actually request."},{"title":"Normalize redirect path from config","prompt":"I have a redirect config with base 'https://shop.example.com/checkout/' and a relative target of '../../account/orders'. What does that resolve to as a full URL?"}],"resultDescription":"An object containing the resolved absolute URL (in the 'result' field) and the name of the operation performed (in the 'operation' field). The resolved URL combines the base and relative inputs according to standard URL resolution rules.","failureModes":["Missing or malformed 'base' field returns an error","Missing or malformed 'relative' field returns an error","Invalid URL syntax in either input may cause resolution failure","Relative path traversal beyond root (too many '../' segments) may return unexpected results"],"whenToPreferThis":"Use this endpoint when you need a reliable, machine-readable micro-service to resolve relative URLs against a base without setting up local URL parsing logic. It is particularly useful in agentic pipelines that scrape web pages and need to normalize href values, or when constructing API call URLs from configurable base and relative path components. At $0.001 USDC per call via x402, it is suited for occasional resolution tasks rather than high-volume batch processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:52:43.835Z","isFirstParty":false}