DEV Community

George Kioko
George Kioko

Posted on

One API Call to Know Everything About a Company (Domain to Intel)

Your sales team sends you a list of 200 company domains. They want: tech stack, employee count estimate, social profiles, contact emails, and "anything else useful." By tomorrow.

You could open each website manually, run BuiltWith, check LinkedIn, look up WHOIS, verify emails. That is about 10 minutes per company. 200 companies = 33 hours.

Or you could make one API call per domain and get everything back as JSON.

What the API returns

Pass in a domain like stripe.com and get:

Tech stack: React, Next.js, Google Analytics, Vercel. Detected from HTML patterns, meta tags, and response headers. 60+ technologies across CMS, frameworks, analytics, infrastructure, ecommerce, and security.

Social profiles: Twitter, LinkedIn, Facebook, Instagram, GitHub. Extracted from page HTML, not from a database that is 6 months stale.

Contact info: Email addresses found on the site plus phone numbers. Not scraped from a third party. Found on the actual company website.

DNS intelligence: MX records (tells you their email provider: Google Workspace, Microsoft 365, Zoho), SPF/DMARC records (tells you email security posture), A records (tells you hosting).

SEO signals: Title, meta description, H1 tags, canonical URL, OG image. Useful for competitive analysis.

SSL status: Certificate valid, issuer, expiry date.

Real output

{
  "domain": "stripe.com",
  "title": "Stripe | Financial Infrastructure to Grow Your Revenue",
  "technologies": [
    {"name": "react", "category": "framework"},
    {"name": "nextjs", "category": "framework"},
    {"name": "google-analytics", "category": "analytics"},
    {"name": "vercel", "category": "infra"}
  ],
  "socialProfiles": {
    "twitter": "twitter.com/stripe",
    "linkedin": "linkedin.com/company/stripe",
    "facebook": "facebook.com/StripeHQ",
    "instagram": "instagram.com/stripehq",
    "github": "github.com/stripe"
  },
  "emails": ["contact@stripe.com"],
  "mxRecords": [{"exchange": "aspmx.l.google.com", "priority": 10}],
  "ssl": true
}
Enter fullscreen mode Exit fullscreen mode

Cost

$0.01 per domain. Enrich 1,000 companies for $10.

Compare: BuiltWith API starts at $295/month. Clearbit enrichment is $99/month minimum. Hunter.io is $49/month for 500 lookups.

Quick start

from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("george.the.developer/company-enrichment-api").call(
    run_input={"domain": "stripe.com"}
)

result = client.dataset(run["defaultDatasetId"]).list_items().items[0]
print(f"Tech: {[t['name'] for t in result['technologies']]}")
print(f"Social: {list(result['socialProfiles'].keys())}")
print(f"Emails: {result['emails']}")
Enter fullscreen mode Exit fullscreen mode

Also available on RapidAPI with a free tier: https://rapidapi.com/georgethedeveloper3046

I build data tools. 57 actors on Apify Store, 869 users. @ai_in_it on X.

Top comments (0)