finding-healthcare-practices-via-google-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Finding Healthcare Practices Via Google Search

通过谷歌搜索查找医疗诊所



Inputs

输入参数

ParameterTypeRequiredDefaultNotes
startUrls
arrayOptional
[]
Google search URLs
searchTerms
arrayOptional
[]
Keywords to search on Google
countryCode
stringOptional
US
Country for Google search (e.g.
US
,
GB
,
TR
)
languageCode
stringOptionalLanguage for results (e.g.
en
)
maxItems
numberOptionalUnlimitedMaximum results to return across all queries
maxPagesPerQuery
integerOptional
1
Maximum result pages per query
mobileResults
booleanOptional
false
Fetch mobile SERP layout
customMapFunction
stringOptionalJavaScript function to transform each output object
参数类型是否必填默认值说明
startUrls
array可选
[]
谷歌搜索URL
searchTerms
array可选
[]
谷歌搜索关键词
countryCode
string可选
US
谷歌搜索的国家(例如
US
,
GB
,
TR
languageCode
string可选结果语言(例如
en
maxItems
number可选无限制所有查询返回的最大结果数
maxPagesPerQuery
integer可选
1
每个查询的最大结果页数
mobileResults
boolean可选
false
获取移动端SERP布局
customMapFunction
string可选用于转换每个输出对象的JavaScript函数

How to Run

运行方式

Using run_actor.js (recommended)

使用run_actor.js(推荐方式)

bash
undefined
bash
undefined

Quick answer (table)

快速输出(表格形式)

node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}'
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}'

Save as CSV

保存为CSV格式

node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.csv --format csv
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.csv --format csv

Save as JSON

保存为JSON格式

node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.json --format json
undefined
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.json --format json
undefined

REST API fallback

备用REST API方式

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": ["dental practice Chicago"], "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.

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": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}'
如果Apify MCP可用: 使用Apify MCP的
call_actor
工具,指定actor为
apidojo~google-search-scraper
并传入上述输入参数。

Scoring & Ranking

评分与排名

Score each result by:
  • snippet_has_health_signals
    (contains: clinic, practice, dental, medical, healthcare, patients, MD, DDS) → weight 0.50
  • valid_domain
    (not .gov, .edu, .wikipedia, .yelp) → weight 0.30
  • position_score
    → 1 - (position / total), weight 0.20
python
score = 0.50 * int(health_signals) + 0.30 * int(valid_domain) + 0.20 * position_score

每条结果的评分依据:
  • snippet_has_health_signals
    (包含以下关键词:clinic、practice、dental、medical、healthcare、patients、MD、DDS)→ 权重0.50
  • valid_domain
    (非.gov、.edu、.wikipedia、.yelp域名)→ 权重0.30
  • position_score
    → 1 - (position / total),权重0.20
python
score = 0.50 * int(health_signals) + 0.30 * int(valid_domain) + 0.20 * position_score

Classification

分类

ScoreTierLabel
≥ 0.70APRIME_PROSPECT
0.40–0.69BWARM_LEAD
< 0.40CLOW_PRIORITY

分数等级标签
≥ 0.70APRIME_PROSPECT
0.40–0.69BWARM_LEAD
< 0.40CLOW_PRIORITY

Edge Cases

边缘情况处理

  • Directory sites: Healthgrades, Zocdoc, WebMD listings — not practices. Filter by checking domain.
  • Hospital systems: Large hospital networks are hard to reach. Focus on independent practices.
  • No contact data: SERP returns URL and snippet only — no phone/email. Use as a starting list.
  • Duplicate practices: Same clinic may appear for multiple search terms — deduplicate by domain.
  • Specialty filter: Add specialty to search term: "orthopedic clinic Denver", "dermatology practice Miami".
  • 目录类网站:Healthgrades、Zocdoc、WebMD上的列表——这些并非诊所。可通过检查域名进行过滤。
  • 医院系统:大型医院网络难以触达,重点关注独立诊所。
  • 无联系信息:搜索结果仅返回URL和摘要——无电话/邮箱。可将其作为初始列表使用。
  • 重复诊所:同一诊所可能在多个搜索关键词下出现——通过域名去重。
  • 专科筛选:在搜索关键词中添加专科名称:"orthopedic clinic Denver"(丹佛骨科诊所)、"dermatology practice Miami"(迈阿密皮肤科诊所)。