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

Get Page Section

get_page_section

Extract a specific section from an article by header name.

$0.01/call
Flat rate
Wikipedia
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to extract a specific section from an article by header name.. This is part of the Wikipedia provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 6+ 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("wikipedia/get_page_section")
  2. xpay_run — Execute: xpay_run("wikipedia/get_page_section", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
slugstringYesUnique slug identifier of page to extract section from
section_headerstringYesExact header text of the section to extract (case-insensitive)
max_lengthintegerNoMaximum length of section content to return (default: 5000)

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

  • Wikipedia (all tools) — 7 tools
  • Search — $0.01/call
  • Get Page — $0.01/call
  • Get Page Content — $0.01/call
  • Get Page Citations — $0.01/call
  • Get Related Pages — $0.01/call

Links

  • Tool page: https://xpay.tools/wikipedia/get-page-section/
  • Provider: https://xpay.tools/wikipedia/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("wikipedia/get_page_section")
// 2. Execute
xpay_run("wikipedia/get_page_section", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

slug

string
Yes

Unique slug identifier of page to extract section from

section_header

string
Yes

Exact header text of the section to extract (case-insensitive)

max_length

integerNo

Maximum length of section content to return (default: 5000)

Related Tools from Wikipedia
Search — $0.01Get Page — $0.01Get Page Content — $0.01Get Page Citations — $0.01Get Related Pages — $0.01Get Page Sections — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/wikipedia/get-page-section/SKILL.md
CLI
npx @xpaysh/cli install wikipedia/get-page-section
Manual
curl -o SKILL.md https://xpay.tools/skills/wikipedia/get-page-section/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

Wikipedia

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