API
Get started
Create your first Webset
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.
Install the python SDK with pip. If you want to store your API key in a .env
file, make sure to install the dotenv library.
Create a file called webset.py
and add the code below:
python
What’s next?
- Learn how Websets work and understand the event-driven process
- 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