Skip to main content
Internal Service β€” This is not an HTTP endpoint. It’s called by the competitor research service.

Purpose

Step 1 of competitor research: Fetches the business website content using Exa’s /contents endpoint.

Function Signature

Parameters

Returns

str - First 2000 characters of website text content

Exa API Call

Why 2000 Characters?

The content is truncated to 2000 characters because:
  1. Enough context to understand the business
  2. Keeps Exa Answer API costs low
  3. Faster response times

Code Location