
Perplexity 2.0
Pricing
from $1.00 / 1,000 results

Perplexity 2.0
Under maintenanceOur advanced API, powered by AI, enables seamless Google、Bing、Wiki... data search and analysis, transforming raw data into actionable insights. It streamlines data retrieval for market research and trend tracking, enhancing decision-making accuracy across diverse industries.
0.0 (0)
Pricing
from $1.00 / 1,000 results
0
1
1
Last modified
7 hours ago
Perplexity 2.0 on Apify
Project Link: https://apify.com/winbayai/perplexity-2-0
Our advanced API, powered by AI, enables seamless Google data search and analysis, transforming raw data into actionable insights. It streamlines data retrieval for market research and trend tracking, enhancing decision-making accuracy across diverse industries.
Whether for market research, trend analysis, or content optimization, this Actor delivers precise data support, giving you a competitive edge in today's fast-paced digital landscape.
✨ Key Features
- 🧠 AI-Powered Analysis: Leverages a sophisticated AI engine to analyze and organize information, identifying patterns and trends that might otherwise go unnoticed.
- 📈 Market Insights: Gain a deeper understanding of consumer behavior, market dynamics, and emerging opportunities.
- 🔍 Efficient Data Retrieval: Streamlines the process of retrieving information from Google's vast database, saving you time.
- 🌐 Versatile Applications: Ideal for a wide range of industries, including marketing, academic research, content strategy, and more.
- 🤖 Simple to Use: With a user-friendly interface and robust features, you can get complex analysis with just one simple request.
🚀 How to Use on Apify
You can run this Actor in two ways: directly from the Apify Console for ease of use, or programmatically via the API for integration into your own applications.
1. Using Apify Console (The Easy Way)
- Find this Actor in the Apify Store.
- Click Run.
- Go to the Input tab.
- In the JSON editor, enter your query in the
content
field. - Click the Start button.
- When the run finishes, check the Output tab for your results.
2. Using the API
To use the API, you'll need your Apify API token. You can find it in your Apify account settings under the Integrations tab.
API Endpoint
The endpoint for running this Actor is:
https://api.apify.com/v2/acts/winbayai/perplexity-2-0/runs?token=YOUR_APIFY_TOKEN
You need to send a POST
request to this endpoint with your query in the request body.
⚙️ Input and Output
Input
The Actor requires a JSON object with a single content
field for your query.
Example Input:
{"content": "What is today's news in America?"}
Output
The Actor returns a JSON object containing the original query, the AI-generated response, and the list of source search results.
Example Output Structure:
{"query": "What is today's news in America?","choices": "A summary of today's top news stories in America, covering politics, technology, and sports...","results": [{"title": "Major Tech Bill Passes in Senate","link": "https://example.com/news/tech-bill","snippet": "The Senate passed a landmark bill aimed at regulating artificial intelligence...","position": 1},{"title": "New York Giants Win Thriller Game","link": "https://example.com/news/sports-giants-win","snippet": "In a last-minute victory, the New York Giants defeated their rivals...","position": 2}]}
💻 Code Examples
Here are some request examples in common languages. Remember to replace YOUR_APIFY_TOKEN
with your actual Apify API token.
cURL
curl -X POST \"https://api.apify.com/v2/acts/winbayai/perplexity-2-0/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"content": "What is today'\''s news in America?"}'
Python (using requests
)
import requestsimport json# The Actor's run URLactor_run_url = "https://api.apify.com/v2/acts/winbayai/perplexity-2-0/runs?token=YOUR_APIFY_TOKEN"payload = {"content": "What is today's news in America?"}headers = {"Content-Type": "application/json"}response = requests.post(actor_run_url, json=payload, headers=headers)if response.status_code == 200:# The actual Actor output is nested in the 'data' fielddata = response.json().get('data', {})print(json.dumps(data, indent=4))else:print(f"Error: {response.status_code}")print(response.text)
JavaScript (using fetch
)
const actorRunUrl = 'https://api.apify.com/v2/acts/winbayai/perplexity-2-0/runs?token=YOUR_APIFY_TOKEN';const payload = {content: "What is today's news in America?"};const options = {method: 'POST',headers: {'Content-Type': 'application/json'},body: JSON.stringify(payload)};async function runActor() {try {const response = await fetch(actorRunUrl, options);if (!response.ok) {throw new Error(`HTTP error! status: ${response.status}`);}// The actual Actor output is nested in the 'data' fieldconst result = await response.json();console.log(JSON.stringify(result.data, null, 4));} catch (error) {console.error('Error:', error);}}runActor();
🌐 Links
- Official Website: Winbay
- GitHub: Perplexity-API