按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Finding Hospitality Brands On Instagram
Inputs
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
startUrls | array | ✅ | [] | Instagram URLs — profiles, hashtags, locations, audio pages, reels |
until | string | Optional | — | Scrape posts until this date (YYYY-MM-DD) |
maxItems | number | Optional | Unlimited | Maximum posts to return |
customMapFunction | string | Optional | — | JavaScript function to transform each output object |
How to Run
Using run_actor.js (recommended)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "maxItems": 100}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "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/boutiquehotel/"], "maxItems": 100}' --output results.json --format jsonREST API fallback
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/boutiquehotel/"], "maxItems": 100}'If Apify MCP is available: Use the Apify MCP call_actor tool with actor apidojo~instagram-scraper and the input above.
Scoring & Ranking
Score each account by:
followerCount→ normalized 0-1 (cap at 100K), weight 0.35engagement_rate = (likeCount + commentCount) / followerCount→ weight 0.35has_location_tag(post has location data) → 0 or 1, weight 0.30
score = 0.35 * min(followerCount / 100000, 1.0) + 0.35 * min(engagement_rate / 0.03, 1.0) + 0.30 * int(has_location)Classification
| Score | Tier | Label |
|---|---|---|
| ≥ 0.70 | A | PRIME_PROSPECT |
| 0.40–0.69 | B | WARM_LEAD |
| < 0.40 | C | LOW_PRIORITY |
Edge Cases
- Travel bloggers vs hotel brands: Bloggers post travel content too. Filter by accounts with location tag + bio mentions "hotel" or "resort".
- Broad hashtag: #travel returns too many posts. Use #boutiquehotel, #hotelowner, #hotelmarketing.
- Aggregator accounts: TripAdvisor or Booking.com aggregators — filter out by domain check.
- Low engagement: Hospitality brands often have lower engagement than influencers — adjust threshold.
- Consumer posts: Guests tag hotels in posts — filter by account follower count > 500.

