Exa
Semantic search API for developers
What it is
Web search API designed to be used by AI agents, not humans. Unlike Google, Exa understands semantic queries ("find articles similar to this") and returns results with full page content, not just links. Ideal for building agents that need to gather web information in a structured way.
How to use it, step by step
- 1
Create an account at exa.ai and generate an API key from the dashboard.
- 2
Install the SDK: pip install exa-py (or use the REST endpoint).
- 3
Call exa.search('your query') for semantic search, or search_and_contents() to also get page text.
- 4
Use 'find similar' by passing a URL to find analogous pages.
- 5
Wire the results into your agent (LangChain, CrewAI) as a web knowledge source.
💡Practical tips
- →It's not for humans: it's a building block for agents that read the web.
- →search_and_contents saves you from scraping pages by hand.
- →Similarity search is great for finding 'more articles like this one'.
💰Pricing
Free tier with starter credits, then pay-as-you-go by number of searches and extracted contents.
The official site opens in a new tab.