xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
DuckDuckGo Search logo

Fetch Url

fetch-url

Fetch and extract the main content from any URL, with customizable extraction options for text, links, and images

$0.01/call
Flat rate
DuckDuckGo Search
Raw SKILL.mdTool Page

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:

  1. xpay_details — Get full input schema: xpay_details("ddg-search/fetch-url")
  2. xpay_run — Execute: xpay_run("ddg-search/fetch-url", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
includeLinksbooleanNoWhether to include link text in the extracted content (default: true)
includeImagesbooleanNoWhether to include image alt text in the extracted content (default: true)
excludeTagsarrayNoHTML tags to exclude from extraction (default: script, style, etc.)
urlstringYesThe URL to fetch content from (must be a valid HTTP/HTTPS URL)
maxLengthintegerNoMaximum length of content to return in characters (default: 10000)
extractMainContentbooleanNoWhether to attempt to extract main content only, filtering out navigation and ads (default: true)

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to 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
// 1. Get full schema
xpay_details("ddg-search/fetch-url")
// 2. Execute
xpay_run("ddg-search/fetch-url", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

includeLinks

booleanNo

Whether to include link text in the extracted content (default: true)

includeImages

booleanNo

Whether to include image alt text in the extracted content (default: true)

excludeTags

arrayNo

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

integerNo

Maximum length of content to return in characters (default: 10000)

extractMainContent

booleanNo

Whether to attempt to extract main content only, filtering out navigation and ads (default: true)

Related Tools from DuckDuckGo Search
Web Search — $0.01Url Metadata — $0.01Felo Search — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/ddg-search/fetch-url/SKILL.md
CLI
npx @xpaysh/cli install ddg-search/fetch-url
Manual
curl -o SKILL.md https://xpay.tools/skills/ddg-search/fetch-url/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

DuckDuckGo Search

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service