Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.85 KB

File metadata and controls

49 lines (42 loc) · 1.85 KB

YouTube Influencer Discovery Scraper — API / curl examples

Call the hosted Actor over the Apify REST API. Replace YOUR_TOKEN with your Apify API token.

Run synchronously and get dataset items back

curl -X POST \
  "https://api.apify.com/v2/acts/logiover~youtube-influencer-discovery-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "searchQueries": ["home workout", "healthy recipes"],
    "minSubscribers": 5000,
    "maxSubscribers": 100000,
    "requireEmail": true
  }'

Contactable shortlist as CSV

curl -X POST \
  "https://api.apify.com/v2/acts/logiover~youtube-influencer-discovery-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN&format=csv" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries":["personal finance"],"maxSubscribers":100000,"requireEmail":true}' \
  -o influencers.csv

Broad discovery ranked by engagement (async)

curl -X POST \
  "https://api.apify.com/v2/acts/logiover~youtube-influencer-discovery-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries":["tech reviews","home barista"],"sortBy":"engagement_desc","maxChannelsPerQuery":40,"maxResults":200}'

Enrich a list of channels you already have

curl -X POST \
  "https://api.apify.com/v2/acts/logiover~youtube-influencer-discovery-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channels":["@nischa","https://www.youtube.com/@mkbhd","UCBJycsmduvYEL83R_U4JriQ"],"recentVideosForStats":12}'

Poll a run, then fetch its dataset

curl "https://api.apify.com/v2/actor-runs/RUN_ID?token=YOUR_TOKEN"
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?token=YOUR_TOKEN&format=json"

▶️ Actor page: https://apify.com/logiover/youtube-influencer-discovery-scraper