{"uid":"cap_ZmisCSJBk3SMfDqCLNSK3","slug":"pennyrail-domain-extractor-c85180d6","name":"PennyRail Domain Extractor","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.domain--extract-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_maJXH08QnVsUha9sR4KEW","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 root domain from a given URL string","exampleAgentPrompt":"Can you extract just the root domain from this URL: https://blog.example.com/posts/2024/my-article?utm_source=twitter","exampleUseCases":[{"title":"Normalize URLs in a data pipeline","prompt":"I have this URL — https://shop.acme.co.uk/products/widget-blue?ref=homepage — can you pull out just the root domain from it?"},{"title":"Deduplicate links by domain","prompt":"Strip down this URL to its base domain so I can group it with others from the same site: https://docs.openai.com/api/reference/completions"},{"title":"Identify source domain from scraped link","prompt":"I scraped this link from a webpage — https://cdn.nytimes.com/images/2024/hero.jpg — what's the actual domain name?"}],"resultDescription":"Returns a JSON object containing the extracted root domain from the provided URL input string, stripping subdomains, paths, query parameters, and protocol prefixes.","failureModes":["Malformed or non-URL input string may return an error or unexpected result","Empty input string likely returns an error response","Non-HTTP protocols (e.g. ftp://) may not be handled correctly","Payment failure (402) if USDC funds are insufficient","Timeout if Vercel cold-start latency is high"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call domain extraction service without standing up your own URL parsing infrastructure. Useful in automated pipelines where you need to normalize many URLs to their root domains on demand and want a machine-readable settlement model via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:06.984Z","isFirstParty":false}