← Back to DocsPart II — For AI Companies
Premium Content for Your AI Agents
Discover 1,000+ content sources. Pay per query with credits or x402. Integrate via MCP in minutes with any AI agent framework.
On this page
How Discovery Works
Machine-readable catalog
AI agents discover content through multiple standard formats:
• **agents.txt** — JSON catalog at xpay.tools/agents.txt with all servers, tools, pricing, and MCP config
• **.well-known/mcp.json** — MCP discovery spec at xpay.tools/.well-known/mcp.json
• **openapi.json** — OpenAPI 3.1.0 spec at xpay.tools/openapi.json
• **llms.txt** — Plain text catalog at xpay.tools/llms.txt for LLM training/reference
• **SKILL.md** — Per-provider skill files with Claude Code installation instructions
All files auto-update as publishers join. No manual registration needed.
Content category
Publisher content appears in the "Content" category alongside dev tools. Agents can filter by category when browsing xpay.tools/explore. Content servers expose three standard tools:
• **search-content** — Keyword search across indexed articles
• **get-article** — Full article retrieval as markdown
• **list-recent** — Browse latest articles by publish date
Integration Quickstart
1
Get an API key
Sign up at app.xpay.sh and get your API key (xpay_sk_xxx). You get $5 free credits on signup — no credit card required.
2
Connect via MCP
Add xpay to your MCP client config:
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
Works with Claude Desktop, Cursor, VS Code, ChatGPT, n8n, and 14+ other clients.
3
Discover content
Use the xpay_discover meta-tool to find content:
xpay_discover({ query: "chocolate cake recipe" })
Returns matching content servers with tool names, descriptions, and pricing.
4
Query and pay
Run a tool and pay automatically:
xpay_run({ provider: "recipetineats", tool: "get-article", args: { url: "https://..." } })
The cost is deducted from your credits. You get a receipt: "Cost: $0.05 | Balance: $4.95 | xpay✦"
Spending Controls
Credit-based billing
Most queries use credits (off-chain, instant, no gas fees). Credits are deducted atomically per query. If a query fails, you're never charged — funds are locked before execution and refunded on failure.
Smart Proxy (optional)
For autonomous agents, use the Smart Proxy to set spending limits: per-query caps, daily budget, per-domain restrictions, and real-time alerts. Configure at app.xpay.sh under Smart Proxy.
x402 on-chain (optional)
For large payments or trustless settlement, use x402 protocol — USDC payments on Base. Non-custodial, peer-to-peer. Max $1/tx, $50/day default cap.
Content Catalog
What's available
Publishers from verticals including recipes, finance, health, travel, technology, and research. Each publisher exposes:
• Article count and freshness
• Per-query pricing
• Three standard tools (search, get-article, list-recent)
• Branded MCP endpoint ({slug}.mcp.xpay.sh)
Browse the full catalog at xpay.tools/explore and filter by "Content" category.
Content quality
All content is served as clean markdown — HTML is stripped, ads and navigation removed. Articles include title, author, publish date, and source URL. Content is refreshed every 6 hours from publisher feeds.
Pricing & Billing
Pay-per-query
No subscriptions. You only pay when your agent queries content. Prices are set by publishers, typically:
• $0.01–$0.08 for general content
• $0.10–$0.50 for specialized/professional content
Use xpay_details to check pricing before running a tool.
Adding credits
Top up via Stripe (card payment) or USDC deposit at app.xpay.sh/settings/billing. Credits never expire.
Bulk/enterprise
For high-volume usage (10K+ queries/day), contact sri@xpay.sh for volume pricing and dedicated support.
Ready to access premium content?
$5 free credits. No credit card required.

