You have a list of company domains. Now find out what each company actually does, how big they are, and whether they're worth contacting.
Enrichment means visiting each company's website and pulling out useful information automatically: company description, employee count, what they specialize in, whether they're still active. A raw list of domains tells you almost nothing. Enriched data tells you whether to bother.
pixelcraft.com
PixelCraft Studio
Brand identity & web design
Austin, TX ยท 3 employees
Founded: owner Sarah Chen
With potentially tens of thousands of companies on your list, manually visiting each website would take months. A script can process hundreds per hour overnight, reading each site and asking an AI to extract the key details.
Before you ask Claude Code to build anything, decide on the 5โ8 fields that would help you determine whether a company is worth contacting. For a web agency targeting small businesses: company name, description, employee count, city, state, whether they serve a specific industry, and whether the owner is findable. Write them down first โ Claude Code builds exactly what you describe, so the clearer you are here, the better the result.
The script visits each company's homepage and extracts the text. Most websites block simple scrapers โ use a reader service like Jina Reader, which returns clean text content from any URL. The text is then passed to an AI to extract the information you want.
Send the page text to a cheap AI model (Claude Haiku costs fractions of a cent per call) with a structured prompt: "Given this text, extract: company name, description, employee count, location." The AI returns structured data that gets saved to your database.
About 30% of websites will fail โ the site is down, it blocks scrapers, or it's just a blank page. The script tracks these failures so you can skip them in future runs. Capture why each one failed โ this is how you improve over time.
After enrichment, add a simple quality score to each record. Size match (1โ10 employees = high priority), description match (mentions design/branding = relevant), location match (US only = in scope). Anything below a score threshold gets deprioritized so you work the best prospects first.
| Service | What it does | Cost |
|---|---|---|
| Jina Reader | Converts any URL to clean readable text | Free for basic use / ~$0.02 per 1k calls |
| Anthropic API (Haiku) | AI extraction โ reads page, returns structured data | ~$0.25 per million input tokens |