Youtube channel scraper avatar

Youtube channel scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Youtube channel scraper

Youtube channel scraper

This tool allows you to automatically gather information about YouTube bloggers, including their nickname, avatar, country, introduction, joining date, video count, view count, and subscriber count. Simply provide the URLs, IDs, or channel IDs to get started.

Pricing

from $2.00 / 1,000 results

Rating

4.9

(5)

Developer

codemaster devops

codemaster devops

Maintained by Community

Actor stats

19

Bookmarked

290

Total users

2

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

YouTube Channel Scraper — Public Stats & About Metadata

Extract public YouTube channel profiles for competitor research, editorial planning and channel directories. Provide channel URLs, channel IDs or @handles. No YouTube API key or login is required.

This Actor extracts channel metadata, not videos, Shorts, live streams, comments, transcripts or private analytics. It does not reveal business email addresses behind sign-in/CAPTCHA.

Quick start

{
"start_urls": [{"url": "https://www.youtube.com/@YouTube"}],
"maxChannels": 1,
"maxRequests": 3,
"maxRuntimeSecs": 45
}

Alternatively use {"ids":"@YouTube,UCBR8-60-B28hp2BmDPdntcQ"}. The two inputs are combined. Equivalent URLs and returned channel IDs are deduplicated within the run. Export the dataset as JSON, CSV, Excel or other formats supported by Apify.

Input

ParameterDefaultMeaning
start_urlsemptyDirect channel URL strings or objects with url and optional method: "GET". Supports /@handle, /channel/ID, /c/name, /user/name; channel tab suffixes are normalized.
idsemptyComma-separated channel IDs or @handles. At least one input channel is required.
maxChannels100Maximum successfully saved unique channels, 1–1000.
maxRequests200Maximum HTTP attempts, including retries and redirects, 1–3000. Separate from results.
requestTimeoutSecs20Request inactivity timeout, 1–60 seconds.
maxRetries1Transient retries per request, 0–2.
maxRuntimeSecs300Network work runtime cap, 1–3600 seconds. Set the Apify run timeout higher to allow startup and summary writes.
proxyConfiguration{"useApifyProxy":false}Optional Apify/custom proxy. Residential proxies can improve access but incur additional costs; no automatic paid proxy fallback.

At most 1000 combined input entries are accepted. Remote URL lists, video URLs, credentials in URLs and external redirects are rejected. Inputs are validated before network requests. The Actor processes channels sequentially and fetches each channel's public About page; there is no feed pagination or video/date filtering. Transient retries and redirects consume the request budget. Each decoded response is limited to 8 MiB.

Output

One dataset row represents one successfully extracted unique channel. Existing field names are preserved, including hasbusinessEmail.

FieldMeaning
channelId, channelUrlStable public channel ID and HTTPS canonical channel URL. Use channelId as the consumer deduplication key.
indexUrl, title, descriptionPublic profile URL, full channel name and About description.
avatar, bannerPublic image URLs; missing banners stay null. Avatar is not substituted as a banner.
subscriberCount, viewCount, videoCountParsed public counts; abbreviated counts are rounded estimates, not exact analytics. Unavailable values stay null.
verifiedInteger 0/1 from recognized channel-header verification indicators; absence is not independent identity verification.
hasbusinessEmailInteger 0/1 indicating YouTube's sign-in-for-email prompt; no email address is extracted.
country, joinDatePublic About values when available. joinDate is source text, not normalized ISO.
linksArray of public {title, link} labels/URLs as displayed by YouTube; links are not followed or verified.

Illustrative partial row (not a live snapshot):

{
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"channelUrl": "https://www.youtube.com/channel/UCBR8-60-B28hp2BmDPdntcQ",
"indexUrl": "https://www.youtube.com/@YouTube",
"title": "YouTube",
"links": [],
"banner": null
}

The key-value store record SUMMARY reports status, requested/processed/saved channels, duplicates, HTTP requests, retries, errors, stopReason and elapsedSecs. Check SUMMARY even when the platform run succeeds: mixed failures or budget stops produce partial; zero successful channels with extraction errors fail the run. Errors are never emitted as channel dataset rows. Invalid input and storage-write failures fail the run.

API and automation

The published Actor will use this behavior only after the owner deploys this revision. Existing production behavior may differ until then.

curl -X POST 'https://api.apify.com/v2/acts/dainty_screw~youtube-channel-scraper/runs?timeout=120&memory=256&maxTotalChargeUsd=0.10' \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"start_urls":[{"url":"https://www.youtube.com/@YouTube"}],"maxChannels":1,"maxRequests":3,"maxRuntimeSecs":45}'

This returns run metadata asynchronously. Poll /v2/actor-runs/RUN_ID; after completion download /v2/datasets/DATASET_ID/items and /v2/key-value-stores/STORE_ID/records/SUMMARY. Take the IDs from the run response. Keep tokens in secret storage, not URLs or committed files.

Reliability, limitations and cost

YouTube can return consent, rate-limit, unavailable or changed pages. These are reported as failures rather than empty success. Public fields may vary by channel, location and YouTube layout. This is HTTP extraction, not a browser or authenticated-data service. Proxies do not guarantee access.

Cancellation interrupts active async network work and writes SUMMARY. Version-1 STATE checkpoints record completed inputs; resumed runs reconcile channel IDs from the existing dataset before writing. Use fresh storage when changing the input channel list or upgrading from the legacy SDK/storage format. Migration/resurrection is best-effort: dataset and key-value writes are not a transaction. If a remote write succeeds but its acknowledgement is lost, the run can fail even though a row exists; consumers should deduplicate by channelId. SUMMARY counters describe the current process attempt, except saved includes reconciled durable rows.

The billing unit is a successful channel dataset row. The production pricing configuration also includes a startup event; see the current Pricing tab for applicable tier prices. Proxy and platform usage may add costs. No pricing settings are changed by this repository revision. Error diagnostics are kept out of the billable dataset. The SDK's push_data writes the row without a custom second charge.

Development

Python 3.11 (Docker) or 3.12:

python -m venv .venv
# Activate the environment for your shell.
python -m pip install -r requirements.lock
python -m pip check
python -m unittest discover -s tests -v
apify validate-schema
apify run --entrypoint src --input '{"ids":"@YouTube","maxChannels":1,"maxRequests":3,"maxRuntimeSecs":45}'

Use isolated APIFY_LOCAL_STORAGE_DIR for verification. CI verifies clean installation, regression tests, lint, dependency advisories and schemas on Python 3.11/3.12. The SDK 2.7.3 compatibility line avoids a native extension blocked by the audit machine; Browserforge/Pydantic pins resolve observed import incompatibilities. Refresh the full lock deliberately and rerun local/cloud checks when upgrading.

Support

Open an Actor issue with a sanitized input, run ID and SUMMARY error. Never include tokens, proxy passwords or private data. Maintainer: Quick Life Solutions.