local-leads-scraper
Scrape a CSV of local business leads from Google Maps via SearchApi's `google_maps` engine. Use when the user says "scrape local businesses", "get me a list of [businesses] in [place]", "local leads", "lead list", "lead scraper", "business list from Google Maps", "find all the plumbers/dentists/r...
Install this skill
or
90/100
Security score
The local-leads-scraper skill was audited on Aug 6, 2026 and we found 6 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
low line 133
Command substitution pattern
SourceSKILL.md
| 131 | ```bash |
| 132 | SLUG="plumbers-norwich-england" |
| 133 | TS=$(date +%Y-%m-%d-%H%M%S) |
| 134 | mkdir -p ".searchapi/local-leads-scraper/$SLUG" |
| 135 | ``` |
low line 155
Command substitution pattern
SourceSKILL.md
| 153 | |
| 154 | ```bash |
| 155 | RESPONSE=$(cat ".searchapi/local-leads-scraper/$SLUG/$TS-page-1.json") |
| 156 | |
| 157 | STATUS=$(printf '%s' "$RESPONSE" | jq -r '.search_metadata.status // "unknown"') |
low line 157
Command substitution pattern
SourceSKILL.md
| 155 | RESPONSE=$(cat ".searchapi/local-leads-scraper/$SLUG/$TS-page-1.json") |
| 156 | |
| 157 | STATUS=$(printf '%s' "$RESPONSE" | jq -r '.search_metadata.status // "unknown"') |
| 158 | if [ "$STATUS" != "Success" ]; then |
| 159 | echo "SearchApi error: $(printf '%s' "$RESPONSE" | jq -r '.error // .search_metadata.status')"; exit 1 |
low line 159
Command substitution pattern
SourceSKILL.md
| 157 | STATUS=$(printf '%s' "$RESPONSE" | jq -r '.search_metadata.status // "unknown"') |
| 158 | if [ "$STATUS" != "Success" ]; then |
| 159 | echo "SearchApi error: $(printf '%s' "$RESPONSE" | jq -r '.error // .search_metadata.status')"; exit 1 |
| 160 | fi |
| 161 |
low line 164
Command substitution pattern
SourceSKILL.md
| 162 | # local_results can be ABSENT (not [] ) past the last page; // [] makes the empty |
| 163 | # case and the missing-key case behave the same instead of erroring on null. |
| 164 | COUNT=$(printf '%s' "$RESPONSE" | jq '(.local_results // []) | length') |
| 165 | if [ "$COUNT" -eq 0 ]; then |
| 166 | echo "No businesses matched. Try a broader keyword or location."; exit 1 |
medium line 112
Curl to non-GitHub URL
SourceSKILL.md
| 110 | |
| 111 | ```bash |
| 112 | curl -sG "https://www.searchapi.io/api/v1/search" \ |
| 113 | --data-urlencode "engine=google_maps" \ |
| 114 | --data-urlencode "q=plumbers in Norwich, England" \ |
Scanned on Aug 6, 2026
View Security DashboardGitHub Stars 1
Rate this skill
Categoryproductivity
UpdatedAugust 9, 2026
SamJale/SearchApi-Claude-Plugin