
exa
Search the web and extract content using Exa AI. Use this skill when searching for current information, researching topics, fetching content from URLs, finding code examples, or when the user needs real-time web data. Also use for competitive research, finding similar pages, or extracting structured content from websites.
Search the web and extract content using Exa AI. Use this skill when searching for current information, researching topics, fetching content from URLs, finding code examples, or when the user needs real-time web data. Also use for competitive research, finding similar pages, or extracting structured content from websites.
Exa Web Search & Content Extraction
Real-time web search and content extraction powered by Exa AI.
Prerequisite: Set EXA_API_KEY environment variable.
API Quick Reference
| Endpoint | Purpose |
|---|---|
POST /search |
Web search with optional content retrieval |
POST /contents |
Extract content from specific URLs |
POST /context |
Find code examples and programming context |
Usage
Web Search
# Basic search
curl -X POST 'https://api.exa.ai/search' \
-H "x-api-key: $EXA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"query": "latest AI research", "text": true}'
# Deep search with more results
curl -X POST 'https://api.exa.ai/search' \
-H "x-api-key: $EXA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"query": "React server components", "type": "deep", "numResults": 10, "text": true}'
# Fast search
curl -X POST 'https://api.exa.ai/search' \
-H "x-api-key: $EXA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"query": "node.js version", "type": "fast"}'
Extract URL Content
curl -X POST 'https://api.exa.ai/contents' \
-H "x-api-key: $EXA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"urls": ["https://docs.example.com/api"], "text": true}'
Code Context
curl -X POST 'https://api.exa.ai/context' \
-H "x-api-key: $EXA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"query": "React useState hook examples", "tokensNum": 5000}'
Workflow
Think step-by-step when using Exa:
-
Choose the right endpoint based on the task:
- Web research, searching topics →
/search - Extracting content from specific URLs →
/contents - Programming examples, code context →
/context
- Web research, searching topics →
-
Select search type for
/search:fast- Quick results, lower latencyauto- Balanced (default)deep- Comprehensive, higher quality
-
Request content when needed using
"text": trueor"context": true
When to Use Each Endpoint
Use /search |
Use /contents |
Use /context |
|---|---|---|
| Finding relevant pages | You have a specific URL | Programming questions |
| General web research | Extracting known content | API/library usage |
| News and articles | Reading documentation | Code examples |
| Exploring options | Getting full article text | Implementation patterns |
Search Types
| Type | Use Case | Speed |
|---|---|---|
fast |
Quick lookups, simple queries | Fastest |
auto |
General purpose, balanced results | Medium |
deep |
Complex research, comprehensive coverage | Slowest |
Rules
- Current year is 2026 - Use this for date-relative queries (e.g., "latest", "recent", "this year")
- Use
"type": "fast"for simple factual queries - Use
"type": "deep"for research requiring comprehensive results - Add
"text": trueto get full page content in search results - Add
"context": truefor LLM-optimized context strings - Use
/contextendpoint for programming questions instead of/search - Prefer
/contentswhen you have a specific URL to extract
References
You Might Also Like
Related Skills

summarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
openclaw
prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
f
skill-lookup
Activates when the user asks about Agent Skills, wants to find reusable AI capabilities, needs to install skills, or mentions skills for Claude. Use for discovering, retrieving, and installing skills.
f
seo-review
Perform a focused SEO audit on JavaScript concept pages to maximize search visibility, featured snippet optimization, and ranking potential
leonardomso
