# httpay.xyz API Gateway: Perplexity AI

> httpay.xyz API Gateway: Perplexity AI is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-08).

Proxies requests to the Perplexity AI API through a pay-per-call x402 micropayment gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/perplexity/%7B*path%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-api-gateway-perplexity-ai-822c7731
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__3EBXNl0H8YRIfe0enjfx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability httpay-xyz-api-gateway-perplexity-ai-822c7731 -d '<json body>'
```

Example prompt: Use Perplexity AI to search for the latest developments in nuclear fusion energy and give me a summary with sources — pay per call so I don't need to set up an API key.

## When to prefer this

Choose this endpoint when you need on-demand access to Perplexity AI's search and language models without managing API keys or subscriptions, paying only $0.005 USDC per call via x402 micropayments. Ideal for agents that need real-time web search with AI synthesis and citations, or for low-volume use cases where a full API subscription is not warranted.

## Known failure modes

- Payment not included or insufficient USDC — 402 Payment Required
- Invalid Perplexity API path — 404 Not Found
- Malformed request body — 400 Bad Request
- Perplexity API rate limit or quota exceeded — 429 Too Many Requests
- Perplexity API outage or upstream error — 502 Bad Gateway
- Invalid model name specified — 400 Bad Request

## How this service works

API Gateway: Perplexity AI API

## Output

The agent receives the full Perplexity AI API response for the requested path, including the AI-generated answer, cited web sources, and any model metadata, exactly as Perplexity would return it directly.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-api-gateway-perplexity-ai-822c7731/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
