{"uid":"cap_C4mtjFZ3qEQcyr0gcPSTL","slug":"pennyrail-url-parse-2fa0c255","name":"PennyRail URL Parse","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/url.parse","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"string URL"}}},"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_sZdk-QssP_MZHERFZdivV","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 structured components via a paid micropayment API endpoint","exampleAgentPrompt":"Can you parse this URL for me and break it down into its parts — protocol, hostname, path, and query string: https://example.com:8080/search?q=hello&lang=en#results","exampleUseCases":[{"title":"Extract hostname from redirect URL","prompt":"I have this redirect URL and I need to know the hostname it's pointing to — can you parse https://redirect.myapp.com/go?dest=https://partner.site.com/landing?ref=abc and pull out the host and path?"},{"title":"Validate query parameters in URL","prompt":"Can you parse this URL and tell me all the query parameters it contains? The URL is https://shop.example.com/products?category=shoes&size=10&color=blue&sort=price_asc"},{"title":"Extract port and protocol from API endpoint","prompt":"I need to know the protocol and port number from this API endpoint URL — can you break it down for me? The URL is https://api.internal.company.com:3443/v2/data/stream"}],"resultDescription":"Returns a structured object containing the parsed components of the input URL, such as protocol, hostname, port, pathname, search/query string, and hash fragment, alongside an operation identifier string confirming what was performed.","failureModes":["Malformed or non-URL string input may return an error or empty result fields","Missing 'input' field in request body returns validation error","Payment failure or insufficient USDC balance blocks the request via x402 payment required response","Very long or unusual URL strings may produce partial parse results","Non-HTTP URLs (e.g. mailto:, ftp:) may not be fully decomposed"],"whenToPreferThis":"Choose this endpoint when your agent needs a quick, reliable, machine-readable URL decomposition via a micropayment-gated API — especially in x402-compatible payment workflows where you want to pay per call in USDC rather than manage API keys or subscriptions. It is well-suited for agents that process URLs at low frequency and want cost-proportional billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:55:38.046Z","isFirstParty":false}