Domain Extractor
Extract domain names from URLs. Supports various extraction options including subdomains and path analysis.
API Documentation
Request Endpoint
POST /en/api/tools/domain-extractor
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| urlInput | textarea | Yes | - |
| extractionMode | select | Yes | Choose what part of the domain to extract |
| includeSubdomains | checkbox | No | Include subdomains in the extraction |
| includeProtocol | checkbox | No | Show HTTP/HTTPS protocol information |
| includePath | checkbox | No | Show URL path information |
| showDetails | checkbox | No | Display detailed domain analysis |
| addLineNumbers | checkbox | No | Number each extraction result |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-domain-extractor": {
"name": "domain-extractor",
"description": "Extract domain names from URLs. Supports various extraction options including subdomains and path analysis.",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=domain-extractor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]