{"uid":"cap_IpTqYIdX9lMWwHOD4gu68","slug":"pennyrail-url-parse-metadata-extraction-427e2cb3","name":"PennyRail URL Parse & Metadata Extraction","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.parse--url-metadata","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_nN88vUoMt0Zbsh4wMj3fy","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 and extracts structured metadata components such as protocol, host, path, query parameters, and fragment","exampleAgentPrompt":"Parse this URL for me and extract all its components — protocol, host, path, and query parameters: https://example.com/products?category=shoes&size=10#reviews","exampleUseCases":[{"title":"Extract query params from redirect URL","prompt":"I have this redirect URL from our analytics system and I need to pull out all the query parameters: https://track.myapp.com/redirect?utm_source=newsletter&utm_campaign=spring2024&user_id=8821 — can you parse it and list each parameter separately?"},{"title":"Validate and decompose API callback URL","prompt":"Before I store this OAuth callback URL in our config, can you parse it and confirm what the host, path, and any query strings are? The URL is https://auth.myservice.io/callback?code=abc123&state=xyz987"},{"title":"Extract hostname for domain allowlist check","prompt":"I need to check which domain this user-submitted link points to before we allow it — can you parse https://widget.partner-site.net/embed/v2?ref=portal and tell me the hostname and path?"}],"resultDescription":"Returns a structured JSON object containing the parsed components of the input URL, including protocol/scheme, hostname, port, pathname, search/query string, individual query parameters as key-value pairs, and hash fragment. The exact fields mirror standard URL API decomposition.","failureModes":["Malformed or non-URL input string may return an error or empty/null fields","Relative URLs without a scheme may fail to parse correctly","Very long or encoded URLs may produce unexpected results","Network or service downtime returns a 5xx error","Payment failure via x402 protocol blocks the request before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, paid micro-service to programmatically parse and decompose a URL string into structured components without writing your own parsing logic. Particularly useful in agent workflows where URL analysis is a single step in a larger pipeline and you want a consistent, machine-readable JSON output via an x402-compatible payment rail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:03:19.380Z","isFirstParty":false}