Skip to main content
POST
https://searchcompany-main.up.railway.app
/
api
/
competitor-research
curl -X POST "https://searchcompany-main.up.railway.app/api/competitor-research?url=https://stripe.com"
{
  "success": true,
  "data": {
    "competitors": [
      {
        "name": "PayPal",
        "website": "https://paypal.com",
        "strengths": [
          "Global payments leader",
          "Extensive merchant services",
          "Strong consumer brand"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=paypal.com&sz=64"
      },
      {
        "name": "Square",
        "website": "https://squareup.com",
        "strengths": [
          "SMB-focused payment processing",
          "Integrated POS systems",
          "Financial services ecosystem"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=squareup.com&sz=64"
      },
      {
        "name": "Adyen",
        "website": "https://adyen.com",
        "strengths": [
          "Enterprise payment platform",
          "Unified commerce solutions",
          "Global merchant coverage"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=adyen.com&sz=64"
      },
      {
        "name": "Braintree",
        "website": "https://braintreepayments.com",
        "strengths": [
          "PayPal-owned gateway",
          "Mobile payment focus",
          "Developer-friendly APIs"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=braintreepayments.com&sz=64"
      },
      {
        "name": "Checkout.com",
        "website": "https://checkout.com",
        "strengths": [
          "Cloud-based platform",
          "Enterprise focus",
          "Global payment coverage"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=checkout.com&sz=64"
      }
    ]
  }
}
Uses Exa’s AI-powered search to find the top 5 competitors for a business. The service performs a two-step analysis:
  1. Content Extraction - Fetches and analyzes the business website using Exa’s /contents endpoint
  2. Competitor Discovery - Uses Exa’s /answer endpoint to identify direct competitors based on the business context
This is a public endpoint - no authentication required. Fast response (~2-5 seconds).

Query Parameters

url
string
required
The business website URL to research competitors for (e.g., https://stripe.com)

Response

success
boolean
Whether the research completed successfully
data
object
Research results
error
string
Error message if research failed
curl -X POST "https://searchcompany-main.up.railway.app/api/competitor-research?url=https://stripe.com"
{
  "success": true,
  "data": {
    "competitors": [
      {
        "name": "PayPal",
        "website": "https://paypal.com",
        "strengths": [
          "Global payments leader",
          "Extensive merchant services",
          "Strong consumer brand"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=paypal.com&sz=64"
      },
      {
        "name": "Square",
        "website": "https://squareup.com",
        "strengths": [
          "SMB-focused payment processing",
          "Integrated POS systems",
          "Financial services ecosystem"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=squareup.com&sz=64"
      },
      {
        "name": "Adyen",
        "website": "https://adyen.com",
        "strengths": [
          "Enterprise payment platform",
          "Unified commerce solutions",
          "Global merchant coverage"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=adyen.com&sz=64"
      },
      {
        "name": "Braintree",
        "website": "https://braintreepayments.com",
        "strengths": [
          "PayPal-owned gateway",
          "Mobile payment focus",
          "Developer-friendly APIs"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=braintreepayments.com&sz=64"
      },
      {
        "name": "Checkout.com",
        "website": "https://checkout.com",
        "strengths": [
          "Cloud-based platform",
          "Enterprise focus",
          "Global payment coverage"
        ],
        "favicon_url": "https://www.google.com/s2/favicons?domain=checkout.com&sz=64"
      }
    ]
  }
}

How It Works

  1. Exa /contents - Extracts text content from the target business website to understand what they do
  2. Exa /answer - Queries Exa’s AI to identify direct competitors based on the business context, returning structured JSON with competitor names, websites, and competitive strengths

Rate Limits

  • 10 requests per minute per IP address

Timing

The request typically completes in 2-5 seconds using Exa’s search and answer APIs.