Product capabilities
Product Features
Eight things the APIShore YouTube Research API does with one keyword, each tied to the endpoint behind it.
Every demonstration below shows the API's real field names with invented sample values.
YouTube keyword discovery
POST /v1/discover takes one keyword of 2–120 characters, searches YouTube videos for it and folds the hits onto the channels that published them: one row per unique channel, in search order.
Parameters and limits
pages(1–3) walks pages of 50 results: 1 on Monthly, 2 on Quarterly, 3 on Half-yearly and Annual.min_matches(1–20) keeps channels matched by at least that many results.limit_channels(0–500) caps the list: 0 asks for no cap, any other value is reduced to your plan ceiling of 100, 200, 300 or 500 channels per call.order,published_days,region,min_subs,max_subsandwith_fitshape the sweep.- Response arithmetic:
channels_matched,channels_returned,dropped,dedupe_ratio.
| Channel | Subs | Views | Match |
|---|---|---|---|
| Crumb & Culture | 61,200 | 1.8M | |
| Ferment Diary | 23,400 | 402K |
{
"channels_matched": 31,
"channels_returned": 19,
"dedupe_ratio": 3.0,
"dropped": [
{ "channel_id": "UC6qPz…3nR8", "reason": "subs_out_of_range", "subs": 8400 }
],
"channels": [
{ "title": "Crumb & Culture", "handle": "crumbandculture", "subs": 61200,
"matched_videos": 6, "relevance": 0.94 }
]
}
dedupe_ratio is results ÷ unique channels: 93 ÷ 31 = 3.0. Of those 31, 20 passed min_matches and 1 fell below min_subs.
Channel intelligence
The same fields come back from POST /v1/discover, GET /v1/channels/{channel_id} and POST /v1/channels:batch.
What each row carries
- Identity and counts:
channel_id,title,handle,url,subs,total_views,video_count. - Origin and structure:
country,created_at(ISO 8601),uploads_playlist(theUU…ID the video step reads),linksas{url, label},description. - A hidden subscriber count arrives as
subs_hiddentrue withsubsnull, not as zero. with_contacts(true by default) addscontact— address, role, confidence, the evidence sentence, its source URL, alternates — andcontact_route:email,website_contact_form,youtube_comment_ask,unreachable. Addresses indescriptionare blanked and reported once, incontact.- Discovery adds
matched_videosandrelevance(0–1).
{
"channel_id": "UC2wYh…7pLd",
"title": "Wild Yeast Weekly",
"handle": "wildyeastweekly",
"url": "https://www.youtube.com/channel/UC2wYh…7pLd",
"subs": null,
"subs_hidden": true,
"total_views": 904120,
"video_count": 64,
"country": "GB",
"created_at": "2019-04-11T09:32:44Z",
"uploads_playlist": "UU2wYh…7pLd",
"links": [ { "url": "https://wildyeastweekly.co.uk/contact", "label": "Contact" } ],
"description": "Weekly bakes, 100% sourdough. Business enquiries:",
"contact": {
"email": "hello@wildyeastweekly.co.uk",
"role": "business",
"confidence": 0.92,
"evidence": "Business enquiries: hello@wildyeastweekly.co.uk",
"source_kind": "channel",
"published_by_owner": true
},
"contact_route": "email"
}
Trimmed record: this owner hides the subscriber count, so subs is null and subs_hidden says why.
Video research
GET /v1/channels/{channel_id}/videos reads the uploads playlist: 25 uploads per request by default, up to 50, newest first — the playlist's own order, not a ranking.
Parameters and limits
- Each row:
video_id,title,url,published_at,views,likes,comments,duration_seconds,definition,caption,description. - Without
uploads_playlistthe ID comes from the channel record, so a stale playlist cannot misattribute another channel's uploads. - Passing the
UU…ID from an earlier response skips that lookup: 2 units instead of 3. with_contacts=falsereturns the series with emptycontacts_in_descriptionlists for chart-only work.- Response states
returned,uploads_playlist_used,channel_verified.
{
"channel_id": "UC7kQ1…9ka1",
"returned": 50,
"uploads_playlist_used": "UU7kQ1…9ka1",
"channel_verified": false,
"uploads": [
{ "video_id": "k3fTq9xW2mQ", "title": "Sourdough in a home oven",
"url": "https://youtu.be/k3fTq9xW2mQ",
"published_at": "2026-10-19T17:04:11Z",
"views": 7104, "likes": 168, "comments": 21,
"duration_seconds": 742, "definition": "hd", "caption": "true" },
{ "video_id": "p9WsL2vB7tR", "title": "Shaping sticky dough",
"url": "https://youtu.be/p9WsL2vB7tR",
"published_at": "2026-10-05T15:20:03Z",
"views": 6412, "likes": 131, "comments": 14,
"duration_seconds": 596, "definition": "hd", "caption": "false" }
]
}
Two rows of a 50-upload response. channel_verified is false because no channel lookup ran.
Engagement analytics
Views, likes and comments arrive as YouTube published them; anything computed from those public fields is labelled derived_by_vendor.
Derived metrics
POST /v1/report-payloadadds aderivedblock:median_views,like_rate_pct,views_per_sub,cadence_days(median interval between recent uploads),recent_vs_lifetime.- Also returns the channel row, the upload series,
keyword_positions(up to 12 keywords) and ahook_line. - On
POST /v1/discover,with_fitattaches afitobject (score0–100,reasons,hook_line,views_per_sub,cadence_days,recent_vs_lifetime) to channels that publish an email address, at 2 units per scored channel. - Impressions, click-through rate, average view duration and watch time are YouTube Studio metrics: not returned, never estimated.
{
"derived": {
"source": "derived_by_vendor",
"median_views": 6412,
"like_rate_pct": 2.2,
"views_per_sub": 0.112,
"cadence_days": 14.0,
"recent_vs_lifetime": 0.45,
"fit_score": 61,
"hook_line": "Your last 10 uploads average 6,840 views against 61,200 subscribers — most of your own audience is not seeing them."
},
"keyword_positions": {
"sourdough baking at home": { "rank": 14, "results_checked": 50 }
},
"comment_text": null
}
Ratios computed here, not Studio metrics. 6,840 ÷ 61,200 subscribers = views_per_sub 0.112.
Channel comparison
There is no compare endpoint: comparison runs on POST /v1/channels:batch, which takes 1 to 200 channel IDs in one call.
Coverage
- The same normalised row as everywhere else, so a side-by-side needs no field mapping.
requested,returnedandnot_foundreport coverage: an ID with no public record is listed, not dropped.
{
"requested": 3,
"returned": 2,
"not_found": ["UC9zz0…c20e"],
"channels": [
{ "title": "Crumb & Culture", "handle": "crumbandculture", "subs": 61200,
"video_count": 118, "uploads_playlist": "UU7kQ1…9ka1" },
{ "title": "Ferment Diary", "handle": "fermentdiary", "subs": 23400,
"video_count": 87, "uploads_playlist": "UU4tr6…b41z" }
]
}
One call, the same field names in every row, the missing ID named.
Historical metrics
POST /v1/metrics/snapshot stores a live read; GET /v1/metrics/history reads it back.
Snapshots and history
- A snapshot holds
captured_at,subs,total_views,video_countand an optionalsnapshot_label: up to 200 channels per call, one row per channel per day. - History returns one channel's points oldest first as
{date, subs, total_views, video_count}, withpoints,history_startsand agrowthblock:subs_per_day,views_per_day,window_days. - Built from the snapshots you take — no backfill, so
history_startsis your first stored snapshot. - The readable window is plan-limited: 30 days on Monthly, 90 on Quarterly, Half-yearly and Annual. Beyond it a request returns
PLAN_LIMIT_HISTORYinstead of a truncated chart.
{
"channel_id": "UC7kQ1…9ka1",
"points": 3,
"history_starts": "2026-09-02",
"series": [
{ "date": "2026-09-02", "subs": 58100, "total_views": 1743200, "video_count": 112 },
{ "date": "2026-09-16", "subs": 59400, "total_views": 1771400, "video_count": 115 },
{ "date": "2026-09-30", "subs": 61200, "total_views": 1802050, "video_count": 118 }
],
"growth": {
"subs_per_day": 110.71,
"views_per_day": 2101.79,
"window_days": 28,
"source": "derived_by_vendor"
}
}
Growth spans two snapshots: 3,100 subscribers over 28 days. A missing capture is unknown, not flat.
Structured JSON responses
Every success is one object: { "data": …, "meta": … }. data is the payload.
metacarriesrequest_id, the plan limits in force on that call, the upstream counters, the retention bounds, the declared gaps, and a map from dotted field paths to one of four provenance labels.
Provenance labels
| Label | Meaning |
|---|---|
| youtube_api | Unmodified value returned by YouTube for that field. |
| derived_by_vendor | A calculation made here from public fields: match counts, cadence, ratios. |
| caller_supplied | Your request parameter, echoed so a stored response is self-describing. |
| platform_operational | Counters about this call: cache state, request ledger, quota bookkeeping. |
meta.upstreamsplits search pages from other work assearch_units_spentandother_units_spent, since the two are metered separately;cache_hits_this_requestcounts the reads that spent nothing.meta.data_gapsnames the values the public source never exposes and states the rule for the rest: a null is absent, not zero.
Responses include any email address or link that the channel itself publishes in its public channel or video description; nothing behind a login is read.
An owner can have an address removed through POST /v1/personal-data/delete: it is removed from every stored response and suppressed. POST /v1/personal-data/preview counts the stored responses holding an address.
Automated research workflows
Nothing is pushed: no webhook, no scheduled call. Your scheduler owns the timing; the only state kept is the snapshots you stored. A standing loop is four calls.
A standing loop
POST /v1/discoverfor the channel list.POST /v1/metrics/snapshotfor the counts on each run.GET /v1/metrics/historyfor the series and growth.POST /v1/report-payloadfor one shaped record per channel.
comment_text is populated on Half-yearly and Annual; on Monthly and Quarterly the field is present and null, and with_comments: true returns PLAN_LIMIT_COMMENTS.
GET /v1/quota reports what is left of today's budget and when it resets; GET /v1/usage reports calls, cached calls and spend per endpoint over a window you choose.
{
"day": "2026-11-13",
"search_used": 42.0,
"search_cap": 100.0,
"search_remaining": 58.0,
"units_used": 1830.0,
"units_cap": 10000.0,
"units_remaining": 8170.0,
"exhausted": false,
"next_reset_at": "2026-11-14T00:00:00-08:00",
"seconds_until_reset": 41400
}
The quota day rolls over at midnight Pacific, not UTC. A 429 carries Retry-After.
Parameters and error codes: endpoint reference. Retention and cache rules: integration reference. Plan ceilings: pricing.