Create and setup your API key
- Go to the Exa Dashboard
- Click on “API Keys” in the left sidebar
- Click “Create API Key”
- Give your key a name and click “Create”
- Copy your API key and store it securely - you won’t be able to see it again!
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.- Python
- JavaScript
- cURL
Install the latest version of the python SDK with pip. If you want to store your API key in a Create a file called
.env
file, make sure to install the dotenv library.webset.py
and add the code below:python
What’s next?
- Learn how Websets work and understand the event-driven process
- Configure Monitors to automatically receive continuous updates for your Websets
- Configure webhooks to receive real-time updates as items are added into your Websets
- Learn about Enrichments to extract specific data points
- See how to Manage Items in your Webset