Unofficial API wrapper for Perplexity.ai, with account generation
Top 45.1% on sourcepulse
This repository provides an unofficial Python API wrapper for Perplexity.ai, enabling programmatic access to its search and AI capabilities. It also includes a web interface that automates the generation of new Perplexity accounts using temporary email services, effectively granting unlimited access to Pro queries. This is beneficial for users seeking to leverage Perplexity's advanced features without subscription costs.
How It Works
The core of the API leverages HTTP requests to interact with Perplexity's backend. For account generation, it integrates with Emailnator to create temporary email addresses, which are then used to register new Perplexity accounts, each providing a limited number of free Pro queries. The web interface automates this process, managing account creation and session handling.
Quick Start & Requirements
pip install perplexity-api perplexity-api-async patchright
pip install patchright playwright && patchright install chromium
Highlighted Details
LabsClient
for accessing experimental features.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The account generation feature relies on third-party services (Emailnator) and Perplexity's free tier limitations, which are subject to change and may be unstable. Using existing Chrome instances with the web interface might lead to detection or dead loops on Cloudflare verification pages. Obtaining cookies requires manual steps and may need frequent renewal for Emailnator.
2 months ago
Inactive