Perplexity API
$0.02/call
<100 calls
Build with the best AI answer engine. Power your products with the fastest, cheapest search APIs out there.
Connect Perplexity API tools
Cursor
Claude Code
Claude Desktop
Windsurf
VS Code
Cline
Roo Code
ChatGPT
Gemini CLI
Amazon Q
Goose
Augment
n8n
API / cURL
AI SDK
TypeScript SDK
{
"mcpServers": {
"perplexity": {
"url": "https://perplexity.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Or connect all tools
Access all tools (including Perplexity API) through a single MCP connection.
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Agent Discovery
Machine-readable catalogs for LLM agents and automation.
curl https://xpay.tools/llms.txt
curl https://xpay.tools/agents.txt
curl https://xpay.tools/skill.md
Pricing
Pay per tool call. No subscriptions.
5 Perplexity API tools availableFrequently Asked Questions
Perplexity API is an API provider available on xpay with 5 tools. Build with the best AI answer engine. Power your products with the fastest, cheapest search APIs out there. All tools are pay-per-call with no monthly fees.
Perplexity API tools are priced at $0.02/call. You only pay when you use a tool — there are no subscriptions or monthly fees. New accounts get $5 in free credits to try any tool.
Add xpay's MCP server to your AI client (Claude Code, Cursor, VS Code, Windsurf, or Cline) with the endpoint: https://mcp.xpay.sh/mcp?key=YOUR_API_KEY. Once connected, use xpay_discover to find Perplexity API tools, then xpay_run to execute them. For Claude Code: claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
Perplexity API provides 5 tools: perplexity chat completions, perplexity search, perplexity sonar chat completions api, perplexity get async chat completion response, perplexity list async chat completions. Each tool can be called independently and has its own pricing.
No. With xpay, one API key gives you access to all 5 Perplexity API tools plus 1000+ tools from 80+ other providers. You don't need to sign up for Perplexity API's API directly — xpay handles authentication, billing, and rate limiting.
Yes. Every new xpay account gets $5 in free credits. You can use these credits to try any Perplexity API tool — no credit card required. Sign up at xpay.tools to get started.

