Skip to main content

Purpose

Finds 5 competitors for a business URL using Exa’s AI-powered search. Used on the marketing website to show visitors their competitive landscape.

Architecture

Two-Step Approach

  1. Fetch Content - Get the business website content via Exa /contents
  2. Find Competitors - Ask Exa /answer to identify competitors based on the content
This ensures accurate competitor identification by understanding what the business does first.

Internal Services

Code Location

Rate Limiting

  • 10 requests per minute per IP address

Automatic Retry

The service automatically retries once on failure (timeout, API error, or insufficient results).