DEV Community

Siddhant Sharma
Siddhant Sharma

Posted on

How to automatically detect any company's tech stack and logo from just their domain name

The Problem

When you're doing sales prospecting, competitor research, or lead generation, one of the most tedious tasks is manually visiting each company's website to figure out:

  • What tech stack do they use?
  • What's their company logo for your CRM?
  • Where are they on social media?
  • How do I contact them?

The Solution

I built a simple API that takes a domain name and returns all this data automatically. Let me walk you through how it works.

How It Works

  1. Input: A company domain name (e.g., example.com)
  2. Process: The scraper visits the website, analyzes its HTML, headers, and scripts
  3. Output: Tech stack detection, company logo URL, social profiles, contact info, and industry classification

Tech Stack Detection

The API uses pattern matching against 50+ known indicators:

  • Framework-specific meta tags and script patterns
  • CDN and hosting headers
  • Analytics and tracking scripts
  • CMS signatures

Logo Extraction

Multiple fallback strategies:

  1. Open Graph image tags
  2. Apple touch icons
  3. JSON-LD structured data
  4. Clearbit API fallback

API Usage

import requests

response = requests.post(
    "https://api.apify.com/v2/acts/technicaldost~company-intelligence-api/run-sync",
    json={"domains": ["example.com"]}
)
data = response.json()
print(data["techStack"], data["logo"])
Enter fullscreen mode Exit fullscreen mode

Why I Built This

As someone who builds web scrapers and automation tools, I found myself repeatedly writing the same domain-analysis code for different projects. This API consolidates all that into one endpoint.

Check it out on the Apify Store — free tier available with 1000 results/month.

Top comments (0)