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

7 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