{"uid":"cap_t7zbkxNZ9Mx1qhLv9XuXG","slug":"pennyrail-url-domain-extractor-2f1160f1","name":"PennyRail URL Domain Extractor","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.domain--extract-url-domain","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_Um5urfgIVfa9hH-9pLHcW","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":"Extracts the domain portion from a given URL string","exampleAgentPrompt":"Can you extract just the domain name from this URL: 'https://www.example.com/some/path?query=1'?","exampleUseCases":[{"title":"Normalize link sources in analytics","prompt":"I have a bunch of raw URLs from our referral logs — can you pull out just the domain from each one, starting with 'https://blog.techcrunch.com/2024/01/article-name'?"},{"title":"Deduplicate domains from a URL list","prompt":"I need to find the domain for 'https://shop.nike.com/us/en/c/shoes?anchor=25&facetPath=gender-mens' so I can group it with other Nike URLs."},{"title":"Validate allowed domains from user input","prompt":"A user just submitted the link 'https://malicious-subdomain.trusted-site.com/landing' — can you extract the domain from it so I can check it against our allowlist?"}],"resultDescription":"Returns a JSON object containing the extracted domain (hostname) parsed from the provided URL string input.","failureModes":["Invalid or malformed URL input returns an error or empty domain","Missing required 'input' field returns a validation error","Non-URL string input may produce unexpected or empty results","Network timeout or service unavailability returns a 5xx error","Payment failure (x402) prevents request from being processed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call microservice to extract the domain from a URL without running your own parsing infrastructure. Ideal for agent workflows that occasionally need URL decomposition without bundling a full URL-parsing library. At $0.001 USDC per call it is cost-effective for low-to-moderate volume spot extractions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:43:13.124Z","isFirstParty":false}