finding-digital-agencies-via-google-search — Claude Code skill
Finds digital agencies and web studios in Google Search using Apify. Extracts company domains and snippets while scoring leads for B2B prospecting.
npx skills add apidojo-io/apidojo-skills --skill finding-digital-agencies-via-google-search -a claude-codeWhat finding-digital-agencies-via-google-search does
The skill runs the apidojo/google-search-scraper actor on Apify through scripts/run_actor.js or the Apify MCP call_actor tool. It takes search parameters such as searchTerms, countryCode, and maxPagesPerQuery. Data exports as JSON or CSV.
The scoring algorithm assigns a 0.50 weight for agency keywords in the snippet and 0.30 for valid domains. Another 0.20 depends on the search position. A total score of 0.70 or higher marks the lead as PRIME_PROSPECT, while scores between 0.40 and 0.69 receive the WARM_LEAD tier. Directory sites like Clutch are excluded.
Search results return page titles and domain snippets without direct phone numbers or email addresses, requiring manual contact discovery. Operating the scraper also requires an active $APIFY_TOKEN.
What it helps with
- locate digital marketing firms and design studios by city
- exclude directory sites like Yelp and Clutch from SERP results
- rank prospect agencies with a weighted formula
- export agency lists into JSON or CSV files via Apify
Example prompts for the agent
- Search Google for digital marketing agencies in Chicago and save them to CSV
- Find web design studios in Berlin and score each prospect
- Extract top SEO agencies in London and filter out directory listings
How to install finding-digital-agencies-via-google-search
1Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill finding-digital-agencies-via-google-search -a claude-code2Manually: put the files in place
~/.claude/skills/finding-digital-agencies-via-google-search/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/finding-digital-agencies-via-google-search/
1Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill finding-digital-agencies-via-google-search -a codex2Manually: put the files in place
.agents/skills/finding-digital-agencies-via-google-search/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill finding-digital-agencies-via-google-search -a cursor2Manually: put the files in place
.cursor/skills/finding-digital-agencies-via-google-search/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install apidojo-io/apidojo-skills finding-digital-agencies-via-google-search2Manually: put the files in place
.github/skills/finding-digital-agencies-via-google-search/SKILL.md1Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill finding-digital-agencies-via-google-search -a gemini-cli2Platform CLI
gemini skills install https://github.com/apidojo-io/apidojo-skills --path skills/intent/finding-digital-agencies-via-google-searchManually: put the files in place
.devin/skills/finding-digital-agencies-via-google-search/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill finding-digital-agencies-via-google-search -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about finding-digital-agencies-via-google-search
How to install finding-digital-agencies-via-google-search in Claude Code?
Run npx skills add apidojo-io/apidojo-skills --skill finding-digital-agencies-via-google-search -a claude-code. The skill file will be stored at ~/.claude/skills/finding-digital-agencies-via-google-search/SKILL.md.
What does finding-digital-agencies-via-google-search do?
It queries Google Search via Apify's apidojo/google-search-scraper actor, extracts marketing agencies, filters aggregator websites, and scores prospects.
Does the skill extract phone numbers and email addresses?
No. The scraper collects only agency titles, domain URLs, and snippets from search results.
Source text
SKILL.md · Apache-2.0
---
name: finding-digital-agencies-via-google-search
description: >
Finds digital marketing agencies, creative studios, and web design firms via Google Search
using apidojo's Google Search Scraper on Apify. Triggers when the user asks to: find digital
agencies for outreach or partnership, discover marketing agencies in a specific city, build a
list of SEO agencies or web design studios via Google, find creative agencies that might need
your software, prospect marketing firms by searching Google, identify agencies by specialty
and location, or compile an agency contact list from Google search results. Returns agency name,
website URL, and Google snippet per result. Ideal for SaaS vendors, white-label providers, and
B2B service companies targeting marketing agencies.
license: Apache-2.0
metadata:
author: apidojo
version: "1.0"
apify-actor: apidojo/google-search-scraper
---
# Finding Digital Agencies Via Google Search
---
## Inputs
| Parameter | Type | Required | Default | Notes |
|-----------|------|----------|---------|-------|
| `startUrls` | array | Optional | `[]` | Google search URLs |
| `searchTerms` | array | Optional | `[]` | Keywords to search on Google |
| `countryCode` | string | Optional | `US` | Country for Google search (e.g. `US`, `GB`, `TR`) |
| `languageCode` | string | Optional | — | Language for results (e.g. `en`) |
| `maxItems` | number | Optional | Unlimited | Maximum results to return across all queries |
| `maxPagesPerQuery` | integer | Optional | `1` | Maximum result pages per query |
| `mobileResults` | boolean | Optional | `false` | Fetch mobile SERP layout |
| `customMapFunction` | string | Optional | — | JavaScript function to transform each output object |
## How to Run
### Using run_actor.js (recommended)
```bash
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["digital marketing agency NYC"], "countryCode": "US", "maxPagesPerQuery": 3}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["digital marketing agency NYC"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.csv --format csv
# Save as JSON
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["digital marketing agency NYC"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.json --format json
```
### REST API fallback
```bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~google-search-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searchTerms": ["digital marketing agency NYC"], "countryCode": "US", "maxPagesPerQuery": 3}'
```
If Apify MCP is available:
Use the Apify MCP `call_actor` tool with actor `apidojo~google-search-scraper` and the input above.
---
## Scoring & Ranking
Score each result by:
- `snippet_has_agency_signals` (contains: agency, studio, services, clients, marketing, SEO) → weight 0.50
- `is_agency_domain` (not .gov, .edu, .wikipedia, .youtube) → weight 0.30
- `position` → score = 1 - (position / total_results), weight 0.20
```python
score = 0.50 * int(agency_signals) + 0.30 * int(valid_domain) + 0.20 * (1 - position/total)
```
---
## Classification
| Score | Tier | Label |
|-------|------|-------|
| ≥ 0.70 | A | PRIME_PROSPECT |
| 0.40–0.69 | B | WARM_LEAD |
| < 0.40 | C | LOW_PRIORITY |
---
## Edge Cases
- **Directory sites in results**: Clutch, Yelp, Upwork listings are not agencies. Filter by checking if domain matches snippet.
- **Wikipedia/news results**: Skip results with domains like wikipedia.org, bbc.com.
- **Limited contact data**: SERP only returns title, URL, snippet — no phone/email. Use results as a starting list for manual outreach.
- **Duplicate agencies**: Same agency may appear for multiple search terms — deduplicate by domain.
- **Local vs global**: Use city-specific search terms for local results.
© apidojo · Apache-2.0 · apidojo-io/apidojo-skills