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 Once you’ve installed the SDKs, create a file called
.env
file, make sure to install the dotenv library.exa.py
and add the code below.Get a list of results and their full text content.
python