F
finding-healthcare-practices-via-google-search
finding-healthcare-practices-via-google-search について
Google検索結果から医療機関を探すスキルです。医療関連の手掛かり、ドメインの妥当性、検索順位で結果を評価・分類します。結果にはURLとスニペットが含まれますが、連絡先情報は含まれません。
主な機能
- 01キーワードと地域でGoogle検索
- 02結果の言語とページ数の指定
- 03医療関連の手掛かりによる順位付け
- 04見込み先を3段階に分類
- 05CSVまたはJSONでの出力
活用シーン
- 01指定都市の歯科診療所の検索
- 02診療科別の医療機関候補リスト作成
- 03独立系医療機関の検索結果の優先付け
MCP 対応
Apify MCP が利用可能な場合、call_actorツールを通じてgoogle-search-scraper Actorを実行できます。
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ apidojo-io/ apidojo-skills --skill finding-healthcare-practices-via-google-searchインストール後、Claude Code で/finding-healthcare-practices-via-google-searchを入力して読み込まれたか確認します。
詳細
Google 検索で医療機関を見つける
入力
| パラメーター | 型 | 必須 | デフォルト | 備考 |
|---|---|---|---|---|
startUrls | 配列 | 任意 | [] | Google 検索 URL |
searchTerms | 配列 | 任意 | [] | Google で検索するキーワード |
countryCode | 文字列 | 任意 | US | Google 検索の対象国(例:US、GB、TR) |
languageCode | 文字列 | 任意 | — | 検索結果の言語(例:en) |
maxItems | 数値 | 任意 | 無制限 | すべてのクエリで返す検索結果の最大数 |
maxPagesPerQuery | 整数 | 任意 | 1 | クエリごとの検索結果ページの最大数 |
mobileResults | 真偽値 | 任意 | false | モバイル版の SERP レイアウトを取得する |
customMapFunction | 文字列 | 任意 | — | 各出力オブジェクトを変換する JavaScript 関数 |
実行方法
run_actor.js を使用(推奨)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}'
# Save as 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
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.json --format json
REST API を使用する場合
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 ツールで、アクター apidojo~google-search-scraper と上記の入力を指定します。
スコアリングとランキング
各検索結果を次の基準で採点します:
snippet_has_health_signals(次の語句を含む:clinic、practice、dental、medical、healthcare、patients、MD、DDS)→ 重み 0.50valid_domain(.gov、.edu、.wikipedia、.yelp 以外)→ 重み 0.30position_score→ 1 - (順位 / 合計数)、重み 0.20
score = 0.50 * int(health_signals) + 0.30 * int(valid_domain) + 0.20 * position_score
分類
| スコア | ランク | ラベル |
|---|---|---|
| ≥ 0.70 | A | PRIME_PROSPECT |
| 0.40–0.69 | B | WARM_LEAD |
| < 0.40 | C | LOW_PRIORITY |
エッジケース
- ディレクトリサイト:Healthgrades、Zocdoc、WebMD の掲載情報は医療機関ではありません。ドメインを確認して除外してください。
- 病院グループ:大規模な病院ネットワークには連絡を取りにくいため、独立した医療機関に注目してください。
- 連絡先情報がない:SERP から返されるのは URL とスニペットのみで、電話番号やメールアドレスはありません。候補リストの作成に利用してください。
- 医療機関の重複:同じクリニックが複数の検索語で表示される場合があります。ドメインを基準に重複を除外してください。
- 専門分野による絞り込み:検索語に専門分野を追加します:「orthopedic clinic Denver」、「dermatology practice Miami」。
コメント
Markdown 対応