finding-restaurant-brands-on-instagram について
Instagramのプロフィール、ハッシュタグ、位置情報、音声ページ、Reelsから投稿を集め、飲食店ブランドの見込み客を探すスキルです。Apify Actorの実行に対応し、エンゲージメント、フォロワー数、プロフィールの事業情報を基にアカウントを評価します。
主な機能
- 01InstagramのURLから投稿を取得
- 02日付や件数による結果制限
- 03カスタムJavaScript関数で出力を変換
- 04アカウントを評価し見込み客を分類
- 05結果をCSVまたはJSONで保存
活用シーン
- 01ニッチなハッシュタグから飲食店ブランドを探す
- 02エンゲージメントと事業情報で候補アカウントを評価
- 03見込み客調査を保存してフォローアップ
MCP 対応
Apify MCPが利用可能な場合、call_actorツールでapidojo~instagram-scraper Actorを実行します。
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ apidojo-io/ apidojo-skills --skill finding-restaurant-brands-on-instagramインストール後、Claude Code で/finding-restaurant-brands-on-instagramを入力して読み込まれたか確認します。
詳細
Instagramでレストランブランドを見つける
入力
| パラメーター | 型 | 必須 | デフォルト | 備考 |
|---|---|---|---|---|
startUrls | array | ✅ | [] | InstagramのURL — プロフィール、ハッシュタグ、位置情報、音声ページ、リール |
until | string | 任意 | — | この日付まで投稿をスクレイピングします(YYYY-MM-DD) |
maxItems | number | 任意 | 無制限 | 返す投稿の最大数 |
customMapFunction | string | 任意 | — | 各出力オブジェクトを変換するJavaScript関数 |
実行方法
run_actor.jsを使用する場合(推奨)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}' --output results.csv --format csv
# Save as JSON
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}' --output results.json --format json
REST APIの代替手段
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'
Apify MCPが利用可能な場合:
Apify MCPのcall_actorツールを使用し、actorにapidojo~instagram-scraperを指定して、上記の入力を渡します。
スコアリングとランキング
各アカウントを次の基準でスコアリングします。
engagement_rate = (likeCount + commentCount) / followerCount→ 重み0.4followerCount→ 0~1に正規化、重み0.3has_business_bio(自己紹介に電話番号/ウェブサイト/住所に関するキーワードが含まれているか)→ 重み0.3
score = 0.4 * min(engagement_rate / 0.05, 1.0) + 0.3 * min(followerCount / 50000, 1.0) + 0.3 * int(has_business_bio)
分類
| スコア | ティア | ラベル |
|---|---|---|
| ≥ 0.70 | A | PRIME_PROSPECT |
| 0.40–0.69 | B | WARM_LEAD |
| < 0.40 | C | LOW_PRIORITY |
エッジケース
- ハッシュタグの範囲が広すぎる:
#foodでは、ビジネスではなく消費者による投稿が数百万件返されます。#restaurantownerや#foodbizのようなニッチなタグを使用してください。 - 自己紹介にビジネス情報がない:自己紹介にウェブサイトのリンクまたは電話番号があるアカウントで絞り込みます。
- 消費者アカウントが混在する:
followerCount > 500かつpostCount > 20で絞り込みます。 - 非公開アカウント:投稿データがないため、スキップします。
- アカウントの重複:同じブランドが複数のハッシュタグで投稿することがあります。ユーザー名で重複を除外します。
コメント
Markdown 対応