exa.ai-websearch-api

Performs real-time web search and full-text content retrieval using the Exa API.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/deepparser/skills --skill exa-ai-websearch-api-deepparser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: exa.ai-websearch-api
Source: https://github.com/deepparser/skills/tree/main/exa.ai-websearch-api
Command: npx skills add https://github.com/deepparser/skills --skill exa-ai-websearch-api-deepparser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, anthropic, exa_py.

What problem does it solve? AI agents and applications often lack access to current, source-grounded web information, leading to hallucinated or outdated answers. This Skill provides real-time web search and full-text content retrieval through the Exa API so responses can be grounded in live sources. ## Core Features & Use Cases - Real-Time Web Search: Query the Exa search endpoint with balanced relevance and speed using type="auto", with options for fast mode, domain filtering, and freshness control via maxAgeHours. - Full-Text Content Extraction: Retrieve up to 20,000 characters of page text per result for RAG pipelines, code assistance, and downstream reasoning, or use highlights for lower-cost snippets. - Category-Specific Search: Search dedicated indexes for people, companies, news, research papers, and tweets, plus MCP server integration for tools like Cursor, Claude Code, and Codex. - Use Case: An AI coding assistant needs the latest React hooks documentation. It calls the Exa search endpoint with type="auto" and full-text contents, then grounds its answer in the retrieved pages. ## Quick Start Set your EXA_API_KEY environment variable and ask the agent to search the web for the latest documentation on a topic using the Exa API with full-text results.

Frequently Asked Questions about exa.ai-websearch-api

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

FAQPage Schema
How do I use the Exa API for web search?

Send a POST request to https://api.exa.ai/search with your x-api-key header, a query string, type set to auto, and num_results. Add a contents object with text and max_characters to retrieve full page text alongside results.

What is the difference between Exa search type fast and auto?

The fast type is optimized for real-time apps, autocomplete, and quick lookups with the lowest latency. The auto type balances relevance and speed at roughly one second and works well for most queries, making it the recommended default.

Can I use Exa search with OpenAI or Anthropic function calling?

Yes, Exa works as a tool in OpenAI function calling and Anthropic tool use flows. Define an exa_search tool with a query parameter, execute the search when the model requests it, and return results so the LLM can ground its response in current sources.

Does Exa support searching specific content types like news or research papers?

Yes, the category parameter filters results to dedicated indexes including people, company, news, research paper, and tweet. Categories can be restrictive, so try searching without one first if you get too few results.

Why is my Exa search returning irrelevant or no results?

Irrelevant results usually come from overly broad queries or restrictive filters. Use type auto, refine the query with singular specific terms, remove date or domain restrictions, and only add a category after confirming baseline results.

How do I control content freshness with Exa livecrawl?

Use the maxAgeHours parameter to set the maximum acceptable cache age in hours. Set 0 to always livecrawl, -1 for cache only, or omit it for the default behavior that livecrawls only when no cache exists.