{"uid":"cap_AsSi1ipSQ1fN1LpI_gtuo","slug":"httpay-xyz-82c89ae7","name":"httpay.xyz Perplexity AI Chat Completions Gateway","description":"API Gateway: Perplexity AI API","url":"https://httpay.xyz/api/gateway/perplexity/chat/completions","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zq6NX_NKqUq46DqFp7lXF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies chat completion requests to Perplexity AI's API via a pay-per-call x402 payment gateway","exampleAgentPrompt":"Ask Perplexity AI: 'What are the latest developments in fusion energy research as of 2025?' using the sonar model and give me a thorough, cited answer.","exampleUseCases":null,"resultDescription":"Returns a Perplexity AI chat completion object containing the assistant's generated response message, finish reason, and token usage statistics — following the standard OpenAI-compatible chat completions response format.","failureModes":["Payment not provided or insufficient USDC — 402 Payment Required","Invalid or malformed messages array — 400 Bad Request","Unsupported model name specified — 400 or 422 error","Perplexity AI upstream outage — 502 or 503 error","Rate limit exceeded on the gateway — 429 Too Many Requests","Missing required fields in request body — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call access to Perplexity AI's chat completions (including its web-grounded sonar models) without managing a Perplexity API subscription, paying $0.005 USDC per call via the x402 protocol. Ideal for AI agents that need occasional or unpredictable Perplexity AI access with automatic micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:06.984Z","isFirstParty":false}