Skip to main content
  1. 1
    Install the SDK

    Install the Python SDK with pip.

    pip install exa-py
    
  2. 2
    Create your code

    Get your API key from the Exa Dashboard, create a file called exa.py, and add the code below.

    python
    from exa_py import Exa
    
    exa = Exa(api_key="your-api-key")
    
    result = exa.get_contents(
      ["tesla.com"],
      text=True
    )