Perplexity Search Skill
Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering. Use when you need to search for current information, market research, trending topics, or when B
Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering. Use when you need to search for current information, market research, trending topics, or when B
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Search the web using Perplexity's Search API for ranked, real-time results.
Basic search:
python3 {baseDir}/scripts/search.py "your search query"
With options:
# Get 10 results python3 {baseDir}/scripts/search.py "AI trends 2024" --count 10Filter by recency
python3 {baseDir}/scripts/search.py "recent AI news" --recency week
Get raw JSON output
python3 {baseDir}/scripts/search.py "market research" --json
The script requires a
PERPLEXITY_API_KEY environment variable.
Option 1: Set in OpenClaw config (recommended)
Add to
~/.openclaw/openclaw.json:
{ "skills": { "perplexity-search": { "env": { "PERPLEXITY_API_KEY": "your-api-key-here" } } } }
Option 2: Environment variable
export PERPLEXITY_API_KEY="your-api-key-here"
Get your API key from: https://perplexity.ai/account/api
query - Search query string (required)--count N - Number of results (1-10, default: 5)--recency FILTER - Recency filter: day, week, month, or year--json - Output raw JSON instead of formatted resultsThe API returns:
{ "results": [ { "title": "Article title", "url": "https://example.com/article", "snippet": "Brief excerpt from the page...", "date": "2024-01-15", "last_updated": "2024-02-01" } ], "id": "search-request-id" }
Market Research:
python3 {baseDir}/scripts/search.py "golf coaching Instagram trends" --count 10
Recent News:
python3 {baseDir}/scripts/search.py "AI regulation updates" --recency week
Competitive Analysis:
python3 {baseDir}/scripts/search.py "AI golf training apps" --count 10
Perplexity Search API: $5 per 1,000 requests
Track your usage at: https://perplexity.ai/account/api
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.