Perplexity API Node.js SDK Installation Steps

Perplexity provides a Node.js SDK to integrate its AI search and answer capabilities into your applications. Without a proper SDK setup, you must write raw HTTP requests and handle authentication manually. This article explains how to install the Perplexity Node.js SDK, configure it with your API key, and run a basic query. You will complete … Read more

How to Set Search Recency Filter via Perplexity API

When you query the Perplexity API, the default search behavior returns results from any time period. This can include outdated information that is not useful for tasks requiring the latest news, recent events, or time-sensitive data. The search recency filter lets you restrict results to a specific time range, such as the past day, week, … Read more

Perplexity API Billing: Tokens, Tools and Current Usage Fields

Perplexity API cost is not universally prompt tokens plus answer tokens. The endpoint, model, tool calls and current billing rules determine which charges apply. Do not budget production requests using a token-only estimate from an older Sonar tutorial. Official documentation checked October 14, 2026. This article explains how to inspect an existing integration and its … Read more

Perplexity API Completion Notifications: Background Polling and Webhook Limits

Official documentation checked October 14, 2026. The public Perplexity API documentation does not establish the Webhooks dashboard, event names or signature header described by older tutorials. Do not expose a server endpoint expecting Perplexity to send an undocumented signed callback. The supported route documented for long Agent API jobs is background execution with response-ID retrieval. … Read more

Perplexity API Webhook Not Triggering: Fix Steps

You set up a webhook in the Perplexity API to receive real-time data, but the endpoint never receives a POST request. This usually happens because of a misconfiguration in the webhook URL, an incorrect event selection, or a network-level block. This article explains why the webhook fails to trigger and provides step-by-step fixes to get … Read more

How to Use Perplexity API for Bulk Research Automation

You need to collect large amounts of information from multiple sources without manually typing each query into a browser. The Perplexity API lets you send multiple search requests programmatically and retrieve structured answers. This article explains how to set up the API, write batch scripts, and handle large volumes of research data efficiently. Key Takeaways: … Read more

Perplexity API Concurrency Limit: How Many Parallel Requests

If you are building an application that sends multiple requests to the Perplexity API at the same time, you need to know the concurrency limit. Sending too many parallel requests can return HTTP 429 Too Many Requests errors and interrupt your service. The concurrency limit controls how many API calls your account can make simultaneously. … Read more

How to Handle Perplexity API Timeouts in Code

When your application calls the Perplexity API, a network request may hang or fail to complete within an acceptable time. This leaves your code waiting indefinitely, blocking user interactions or other critical processes. API timeouts happen when the server does not respond before your client gives up waiting. This article explains how to set request … Read more