First, create an account and grab a free API key.

Get your Exa API key

Next, you can use our Python or TypeScript SDK, or call the API directly with cURL.

Quickstart

1

Install the python SDK

Shell
pip install exa_py
2

Set up the environment variable

Create an .env file in the root of your project and set the EXA_API_KEY environment variable to your API key.

Shell
EXA_API_KEY=insert your Exa API key here, without quotes
3

Instantiate the client

Python
from exa_py import Exa
import os
exa = Exa(os.getenv('EXA_API_KEY'))
4

Make a search using the search_and_contents method

The search_and_contents method returns a list of search results with the contents and/or highlights of the webpages. You can find a more detailed explanation of the methods here.

Python
result = exa.search_and_contents(
  "hottest AI startups",
  type="neural",
  use_autoprompt=True,
  num_results=5,
  text=True,
)

print(result)
5

Example output

Shell
Autoprompt String: Here is a hot AI startup:

Title: Paradox | Conversational hiring software that gets work done for you
URL: https://www.paradox.ai/
ID: https://www.paradox.ai/
Score: 0.17912396788597107
Published Date: January 1, 2024
Author: Seema Shah, Global Talent Acquisition Operations Manager
Text: Every great hire starts with      Meet the conversational recruiting software that automates the work your teams don’t have time for — taking candidates from hello to hired faster than ever.          See our product, clients, and business outcomes firsthand.      Recruiters and managers spend 80% of their time on repetitive admin tasks. With Paradox, it can be 0%.   CONVERSATIONAL ATS An ATS frontline teams actually love.   Meet the frictionless Conversational ATS that makes things easier and faster than ever for high-volume hiring managers and candidates.    CONVERSATIONAL CAREER SITES  A career site that adapts to every conversation.  Embrace a future where realistic job previews, employer brand content, job recommendations, and more are at a candidate's fingertips — no searching required.    HOW ELSE CAN WE HELP? Automation that saves everyone time (and money).  With our conversational recruiting platform, you can get more done with less — and create better experiences for everyone.    We measure success in client hugs (and results).     Adoption with Paradox has been absolutely amazing. Our recruiters are feeling that impact right away and it’s freeing them up to do more empowering work.            With Paradox, there are frictionless conversations going on while our recruiters are doing all that valuable stuff.             We’re reducing friction and radically simplifying hiring, not just for drivers but for our own team, too.             The most important thing is that you need to be where candidates interact. And then to speed-to-hire them very quickly. Paradox has helped us achieve that.             Our journey with Paradox has worked in stages. Now that we can get a high volume of candidates, we can research the profile of the most successful behavior technician.             The biggest impact that Paradox has had on our candidate experience has actually been decreasing the time to apply.               decrease in time to hire     decrease in job advertising     increase in hard to fill roles     candidate satisfaction rating      We work with the biggest HCM systems in the world. And we make them better.       If you do it, we can make it conversational.

Title: Dreamwave | Professional headshots in minutes, made with AI
URL: https://www.dreamwave.ai/
ID: https://www.dreamwave.ai/
Score: 0.17910835146903992
Published Date: January 1, 2024
Author: None
Text: Accurate AI headshots in minutes you can actually use professionally  16 million headshots made for over 50,000 Fortune 500 executives & professionals     Get started in 30 seconds! Upload your selfies andget accurate AI headshots without the AI look  Drop to upload your photo(s)   100% privacy-first & made in the USA. Delete your photos after use  Get headshots for your team instead            Kathryn  My professional headshots turned out so beautifully! Really high quality and accuracy. This is way, way better than any other AI headshot generator I've seen.    AI headshot, real customer       Freia  Dreamwave is the best AI professional headshot generator hands down. I showed my dad the photos and he just thought I got a photoshoot done. Some of the photos even have me doubting myself...    AI headshot, real customer        Daniel     Genuinely — wow!! Just tried Dreamwave's AI headshot generator and I am blown away. So many of my AI headshots looked like they were actually real. Definitely using a lot of these for sure.    AI headshot, real customer            Had a bit of fun with AI headshots with Dreamwave AI. If you are someone who perhaps does not like taking pictures or is too busy to schedule a photoshoot or does not want to spend the money on a photo (or all three like me) I would give this option a go.    AI headshot, real customer           Andrea Foglesong @radgirland      The other AI headshot apps I tried look like a Snapchat filter, but these just look human! Looks like a real person, very professional, love it. I would recommend these, I'm going to be using them for Linkedin!    AI headshot, real customer         Jefferson Pang @jeffersonpang      God I was impressed. It was quick, convenient, and the results were just as good as if I had gone to a professional photographer.    AI headshot, real customer       Suzie Smibert  Love love LOVE my new AI generated headshots. I cannot say thank you enough. I don't have the time to go and get a professional headshot and I HATE posing. The pictures are so realistic that it made me doubt myself!    AI headshot, real customer        Dominique     I am STUNNED! Dreamwave AI is the best AI headshot generator out there! I thought I was looking at photos from a real photoshoot! I sent the results to my family and friends, and no one could tell they were AI. Also, it was the most surprising and fun way to test out new outfits and hairstyles and see what I liked!    AI headshot, real customer           Erin Shaw Street @erinshawstreet      I am so pleased with the professional headshots Dreamwave AI generated for me! I was excited to add my new AI headshots to my socials and to have updated headshots without the hassle and expense of an entire photo shoot. I recommend the experience!    AI headshot, real customer        Siqi     Dreamwave is the best AI headshot generator by far! I can't believe how natural my new professional headshots look.    AI headshot, real customer         Karthik Suresh @karthiksuresh      New AI headshots from @DreamwaveAI. I love them! Tried two other AI headshot generators but none of them came close — Dreamwave is the legit one.    AI headshot, real customer            Some pics for the job boards! @DreamwaveAI #aiheadshots #jobsinstem    AI headshot, real customer         Jen Tedesko  I absolutely cringe at the thought of a photo shoot, so I was giddy when I found Dreamwave's AI headshot generator. I am blown away with what landed in my inbox - almost all 40 AI headshots were better than ANY actual professional headshots I had ever had. Plus, all the AI outfits and earrings and different poses are making me laugh with delight. This is so much fun.    AI headshot, real customer         Annie Margarita Yang @annieyangfinancial       Out of all the ones I've seen so far, Dreamwave has to be number one! Get the premium package — there are so many options to choose from that you could use for your LinkedIn. Dreamwave AI is definitely the  best AI headshot generator  I've seen. I'm overall very very impressed with my AI headshots, to the point where I'm scrolling back up being like is that me? I honestly think if I put these pictures in a media kit that I send to public relations or to potential magazines and pocasts to be featured in, they might not realize that these are AI generated. The best thing is that these facial expressions look quite real, the other apps all had a blank stare.     AI headshot, real customer        Jesse Rosen     Lo and behold the first AI generated professional headshots of me! Which photo should I use as a headshot on my LinkedIn profile?    AI headshot, real customer        Dreamwave is an AI research lab developing new ways to augment human creativity with artificial intelligence.    Products   Headshot photography Get natural, accurate, and beautiful photos of yourself in 1 hour — no camera required.   AI photos, real customers    Team headshots Generate consistent AI headshots that scale with your growing company. Perfect for remote teams.   AI photos, real customers    Create custom photos Generate new photos of yourself with any scene, outfit, or hair. The only limit is your imagination.   AI photos, real customers      Team   We’re a small team of AI researchers and engineers based in California. Previously, our team members worked on machine learning research at MIT, Google Brain, and Meta AI.     Values     Empower human creativity We believe AI should augment human creativity, not replace it. We're here to make new creative workflows possible, and to make tedious and time-consuming work easy.   Safe & unbiased representation We're dedicated to building controllable AI models that work for all ethnicities, genders, and body types.   Secure & private data You always remain in control of how you want to share your photos and data. You can delete your data and AI models at any time. We will never sell your data.       Careers    We’re always looking for ambitious, thoughtful, and kind people to join our team. If you’re excited about Dreamwave but don’t see the exact open position you’re looking for, email [email protected].

Title: Harvey | Generative AI for Professional Services
URL: https://www.harvey.ai/
ID: https://www.harvey.ai/
Score: 0.17904220521450043
Published Date: January 1, 2024
Author: None
Text: The TrustedLegal AI Platform Augment your workflows using domain specific models trained by and for professional service providers.   Harvey works with the world’s best legal teams     Product The Harvey Platform provides a suite of products tailored to lawyers and law firms across all practice areas and workflows.    Augment your legal workflows with domain specific models   Answer complex research questions based on trusted laws, regulations, filings, and more   Draft, analyze, compare, and query over any type of legal document using natural language      Legal Domain \nSpecific Models Harvey leverages  large language models  trained on complex legal tasks and fine-tuned by domain experts.               Usage Matters Identity & Provisioning   Governance Harvey provides unprecedented visibility into your firm's productivity. Track work product produced on the Harvey platform by attorney, client matter, practice area and more. Access fine-grained control over usage and data provenance.    Security Deployed on Microsoft Azure, Harvey is built to the highest security standards, so your firm's data is always safe.   \nComprehensive security accreditations.\nAdvised by  top security experts.  \nFully deployed on Azure and complete data segregation.

Title: DirectAI | Vision models without training data
URL: https://directai.io/
ID: https://directai.io/
Score: 0.17877060174942017
Published Date: January 1, 2024
Author: None
Text: Vision models without training data.  Build and deploy powerful computer vision models with plain language.No code or training required.    Fundamentally different. We use large language models and zero-shot learning to instantly build models that fit your description.       We're removing the last major barrier to creating custom models -  training data.           Deploy and iterate in seconds with DirectAI        • Don't spend time assembling training data.     • Don't pay a third party to label your data.     • Don't pay to train your model.     • Don't spend months finetuning your model's behavior.        Venture-backed.Based in NYC. We're changing how people use AI in the real world. Come talk to us on .

Title: Gab AI | An Uncensored and Unfiltered AI Platform
URL: https://gab.ai/
ID: https://gab.ai/
Score: 0.17850659787654877
Published Date: January 1, 2024
Author: None
Text: An Uncensored and Unfiltered AI Platform      Image Generators →     Explore our Characters