{"uid":"cap_Wjw3SNG4D0qUSrZtmuqgw","slug":"pennyrail-url-parser-9d7579b5","name":"PennyRail URL Parser","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.parse--url-components","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"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_ddVcd6FTD_7zO53gSVc-n","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 a URL string into its constituent components (protocol, host, pathname, query, etc.)","exampleAgentPrompt":"Can you parse this URL for me — https://example.com:8080/api/v2/users?id=42&active=true#profile — and tell me what the host, path, query params, and hash are?","exampleUseCases":[{"title":"Extract hostname from redirect URL","prompt":"I have this redirect URL — https://auth.myapp.com:443/oauth/callback?code=abc123&state=xyz — can you break it apart and tell me just the hostname and the query parameters?"},{"title":"Validate URL structure before storage","prompt":"Before I save this URL to my database — https://cdn.example.org/assets/images/logo.png?v=3 — can you parse it so I can confirm it has the right protocol and path structure?"},{"title":"Debug malformed API endpoint URL","prompt":"Something is wrong with this API endpoint URL: https://api.service.io:3000/v1/data?filter=active&sort=desc#results — can you decompose it so I can see each piece separately and figure out what's off?"}],"resultDescription":"A JSON object containing the parsed components of the input URL, which may include fields such as protocol, host, hostname, port, pathname, search (raw query string), query (parsed key-value pairs), hash, href, and origin.","failureModes":["Malformed or non-URL input string returns an error or empty/null fields","Missing input field returns a validation error","Relative URLs without a protocol may parse incorrectly or partially","Very long URLs may be truncated or cause unexpected behavior","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a quick, paid, machine-readable decomposition of a URL string into structured components without running your own URL-parsing logic. Useful in agent workflows where URL manipulation is needed server-side and the $0.001 per-call cost is acceptable for the convenience of a hosted API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:54.608Z","isFirstParty":false}