Fetch Url
fetch-urlFetch and extract the main content from any URL, with customizable extraction options for text, links, and images
When to Use
Use this tool when you need to fetch and extract the main content from any url, with customizable extraction options for text, links, and images. This is part of the DuckDuckGo Search provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 3+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("ddg-search/fetch-url")xpay_run— Execute:xpay_run("ddg-search/fetch-url", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
includeLinks | boolean | No | Whether to include link text in the extracted content (default: true) |
includeImages | boolean | No | Whether to include image alt text in the extracted content (default: true) |
excludeTags | array | No | HTML tags to exclude from extraction (default: script, style, etc.) |
url | string | Yes | The URL to fetch content from (must be a valid HTTP/HTTPS URL) |
maxLength | integer | No | Maximum length of content to return in characters (default: 10000) |
extractMainContent | boolean | No | Whether to attempt to extract main content only, filtering out navigation and ads (default: true) |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- DuckDuckGo Search (all tools) — 4 tools
- Web Search — $0.01/call
- Url Metadata — $0.01/call
- Felo Search — $0.01/call
Links
- Tool page: https://xpay.tools/ddg-search/fetch-url/
- Provider: https://xpay.tools/ddg-search/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
includeLinks | boolean | No | Whether to include link text in the extracted content (default: true) |
includeImages | boolean | No | Whether to include image alt text in the extracted content (default: true) |
excludeTags | array | No | HTML tags to exclude from extraction (default: script, style, etc.) |
url | string | Yes | The URL to fetch content from (must be a valid HTTP/HTTPS URL) |
maxLength | integer | No | Maximum length of content to return in characters (default: 10000) |
extractMainContent | boolean | No | Whether to attempt to extract main content only, filtering out navigation and ads (default: true) |
Related Tools from DuckDuckGo Search
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
DuckDuckGo Search

