Firmographics avatar

Firmographics

Under maintenance

Pricing

from $7.00 / 1,000 results

Go to Apify Store
Firmographics

Firmographics

Under maintenance

Enrich company data from a website URL using SerpApi and Groq. Extract structured firmographics like employee size, revenue, funding, industry, and HQ. Outputs clean JSON/CSV with confidence scoring for each compan

Pricing

from $7.00 / 1,000 results

Rating

0.0

(0)

Developer

Komala Maran

Komala Maran

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

24 days ago

Last modified

Share

๐Ÿข Firmographic Enrichment Actor

Automatically enrich company data from website URLs using Google SERP AI Mode + Groq LLM.

Input a single URL โ†’ Get structured firmographic data:

FieldExample
employee_min / employee_max500 / 1000
revenue_min_usd / revenue_max_usd10000000 / 50000000
funding_stage_include"series-b"
founded_year_min / founded_year_max2010 / 2010
company_status"active"
total_funding_usd150000000
industry"Fintech"
headquarters"San Francisco, CA"
notable_investors"Sequoia, Andreessen Horowitz"
data_confidence"high" / "medium" / "low"

๐Ÿš€ Quick Start

1. Get Free API Keys

SerpApi (Google SERP):

  • Sign up at https://serpapi.com
  • Free tier: 100 searches/month
  • Used for AI Overview + organic results

Groq (LLM):

2. Configure Input

Set these environment variables in your Actor settings:

  • SERP_API_KEY
  • GROQ_API_KEY

Then provide the input:

{
"websiteUrl": "https://stripe.com"
}

๐Ÿ“ File Structure

firmographic-actor/
โ”œโ”€โ”€ .actor/
โ”‚ โ”œโ”€โ”€ actor.json # Actor metadata
โ”‚ โ””โ”€โ”€ input_schema.json # Input field definitions + UI
โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ main.js # Actor entrypoint, orchestration
โ”‚ โ”œโ”€โ”€ serpService.js # Google SERP API queries
โ”‚ โ”œโ”€โ”€ groqService.js # Groq LLM extraction
โ”‚ โ””โ”€โ”€ csvUtils.js # CSV output helpers
โ”œโ”€โ”€ storage/
โ”‚ โ””โ”€โ”€ key_value_stores/
โ”‚ โ””โ”€โ”€ default/
โ”‚ โ””โ”€โ”€ INPUT.json # Local dev input
โ”œโ”€โ”€ test_local.js # Local test runner
โ”œโ”€โ”€ Dockerfile # Apify deployment container
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿ”„ How It Works

URL Input
โ”‚
โ–ผ
SerpApi (3 queries per company)
โ”œโ”€โ”€ "company.com employees revenue funding"
โ”œโ”€โ”€ "company.com founded year funding stage raised"
โ””โ”€โ”€ "company.com headquarters industry sector"
โ”‚
โ–ผ
Text aggregation
โ”œโ”€โ”€ AI Overview blocks
โ”œโ”€โ”€ Knowledge Graph attributes
โ””โ”€โ”€ Organic result snippets
โ”‚
โ–ผ
Groq LLM (llama-3.1-8b-instant)
โ””โ”€โ”€ Structured JSON extraction
โ”‚
โ–ผ
Output
โ”œโ”€โ”€ Apify Dataset (streaming, per record)
โ””โ”€โ”€ CSV file (Key-Value Store)

๐Ÿ’ป Local Development

# Install dependencies
npm install
# Set env vars
export SERP_API_KEY=your_serpapi_key
export GROQ_API_KEY=your_groq_key
# Run local test (3 example companies)
node test_local.js
# Or run as full Apify actor locally
npx apify-cli run

๐Ÿ“ค Output

Apify Dataset

Every record is pushed to the dataset in real-time. Download as JSON, CSV, or XLSX from the Apify console.

Key-Value Store CSV

A firmographic_results.csv file is saved to the actor's Key-Value Store. Download URL format:

https://api.apify.com/v2/key-value-stores/{STORE_ID}/records/firmographic_results.csv

โšก Performance Tips

  • Rate limits: SerpApi free = 100 searches/month (3 per company = ~33 companies free)
  • Groq: Very generous free tier, effectively unlimited for this use case
  • Concurrency: Keep at 2-3 to avoid hitting SerpApi rate limits
  • Delay: 1000ms between requests is safe for free tiers

๐Ÿ†“ Free Alternative APIs

PurposeServiceFree Tier
Web searchSerpApi100/month
Web search (alt)ValueSERP100/month
LLM extractionGroqVery generous
LLM extraction (alt)Together AI$25 free credits
Company dataClearbit (now HubSpot)Limited free

๐Ÿ›  Deploying to Apify

# Install Apify CLI
npm install -g apify-cli
# Login
apify login
# Push to Apify
apify push
# Run on Apify cloud
apify call YOUR_USERNAME/firmographic-enrichment