perplexity-search

Search the web via Perplexity API with recency filters and ranked results.

1|1|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/penghang1223/niannian-workspace --skill perplexity-search-penghang1223
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perplexity-search
Source: https://github.com/penghang1223/niannian-workspace/tree/main/skills/perplexity-search-skill
Command: npx skills add https://github.com/penghang1223/niannian-workspace --skill perplexity-search-penghang1223

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Quickly locate current, trustworthy web information by querying Perplexity's Search API and returning ranked results with titles, URLs, and snippets.

Core Features & Use Cases

  • Real-time web search via Perplexity API
  • Recency filtering (day, week, month, year)
  • Structured results with titles, URLs, and snippets
  • Use cases include market research, trend monitoring, and competitive intelligence

Quick Start

Run a Perplexity search for a query with default settings.

Frequently Asked Questions about perplexity-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a real-time web search and get ranked results with snippets?

Real-time web search via the Perplexity API retrieves ranked results containing titles, URLs, and snippets. It targets timely information for market research, trend analysis, or competitive intelligence by querying current web data.

How do I filter web search results by recency for trend monitoring?

Recency filtering for trend monitoring applies day, week, month, or year parameters to web search queries. This targets timely information by constraining results to specific timeframes, ensuring retrieved data reflects current market conditions.

Do I need an API key to use Perplexity for competitive intelligence searches?

An API key is required in the environment to perform competitive intelligence searches using Perplexity. Input validation for count and recency parameters is also applied to ensure secure output with optional JSON mode.

Can I get structured JSON output from web search results for market research?

Structured JSON output from web search results is available for market research using optional JSON mode. Results include titles, URLs, and snippets formatted as structured data, enabling direct integration into analytics pipelines.

What is the best way to validate search parameters when querying the Perplexity API?

Validating search parameters when querying the Perplexity API involves input validation for count and recency filters. This ensures secure output and prevents errors by checking constraints before submitting web search requests.