Build with Exa
Get started with Exa’s web search and contents APIs
Make your first API call in minutes
curl -X POST "https://api.exa.ai/search" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"query": "blog post about artificial intelligence",
"type": "auto",
"contents": {
"text": true
}
}'
from exa_py import Exa
exa = Exa(api_key="your-api-key")
result = exa.search(
"blog post about artificial intelligence",
type="auto",
contents={
"text": True
}
)
import Exa from 'exa-js';
const exa = new Exa("your-api-key");
const result = await exa.search(
"blog post about artificial intelligence",
{
type: "auto",
contents: {
text: true
}
}
);