Getting Started
Quickstart
Make your first request to one of Exa’s API endpoints
Create and setup your API key
Get your Exa API key
Create a .env file
Create a file called .env
in the root of your project and add the following line.
Make an API request
Use our python or javascript SDKs, or call the API directly with cURL.
Install the python SDKs with pip. If you want to store your API key in a .env
file, make sure to install the dotenv library.
Once you’ve installed the SDKs, create a file called exa.py
and add the code below.
Get a list of results and their full text content.
python