YouTube Videos
Each record is one YouTube video: its title, views, likes, upload date, length, description, hashtags and the channel behind it.
$2 per 1,000 records
You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
YouTube videos from a search, a channel, a playlist, a hashtag or direct links. Each record carries the title, views, likes, upload date, duration, description, hashtags and the channel behind it.
Data from youtube.com
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/youtube-videos/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"search_terms":["lofi hip hop"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
38 fields: 32 here, 6 technical ones under Technical details.
Basics
- Title
The name of the video as shown on YouTube.
Example Rick Astley - Never Gonna Give You Up (Official Video)
- Views
How many times the video was viewed; watchers for live videos.
Example 1,792,628,321
- Likes
Exact number of likes; empty when the channel hides them.
Example 19,243,762
- Length
How long the video runs, in minutes and seconds.
Example 3:33
- Channel
The name of the channel that posted the video.
Example Rick Astley
- Subscribers
How many people subscribe to the channel, as a full number.
Example 4,520,000
- Verified channel
Whether the channel has YouTube's verified badge.
- Collaborators
Other creators credited on a joint video; empty otherwise.
- Description
The full text written under the video.
Example The official video for “Never Gonna Give You Up”...
- Hashtags
Hashtags found in the video's description.
Example RickAstley, NeverGonnaGiveYouUp
- Chapters
Named sections of the video with their start times in seconds.
- Automatic chapters
Whether YouTube created the chapters itself rather than the creator.
- Comments
Total number of comments YouTube reports for the video.
- Has transcript
Whether YouTube offers a written transcript of the video.
- Engagement rate
Likes plus comments divided by views, as a decimal.
- Likes per view
Likes divided by views, as a decimal.
- Views per day
Average number of views for each day since upload.
- Is a Short
Whether the video is a YouTube Short.
- Live now
Whether the video is streaming live right now.
- Past live stream
Whether the video is a live stream that has ended.
- Outlier score
Views compared with the channel's typical video; 2.5 means 2.5 times.
- Channel typical views
Middle view count across the channel's recent videos.
- Hashtag video count
Total number of videos using the hashtag.
Dates
- Upload date shown
Upload date as YouTube shows it, such as "2 weeks ago".
Example Oct 24, 2009
- Uploaded on
Upload date as year-month-day, when the exact date is known.
Example Oct 24, 2009
- Days since upload
How many whole days ago the video was uploaded.
Links
- Video page
Web address where the video can be watched.
Example youtube.com/watch?v=dQw4w9WgXcQ
- Channel page
Web address of the channel that posted the video.
Example youtube.com/@RickAstleyYT
- Links in description
Web links listed in the description, with their text.
Example 1 item: Link: https://RickAstley.lnk.to/_listenYD · Text: Listen
- Shorts page
Web address of the video in the Shorts player.
Pictures and media
- Thumbnail
The largest preview picture for the video.
Example Open the image
- Channel picture
The channel's profile picture.
Technical detailsField names and types for developers, and the 6 fields hidden above
Hidden by default
These 6 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- Video ID
idThe short code YouTube uses for this video. - Channel ID
channelIdThe code YouTube uses for the channel. - Source link
fromYTUrlThe search, channel, playlist or hashtag that returned this video. - Collected at
scrapedAtDate and time this record was gathered. - Shortened record
truncatedWhether some parts were left out to keep the record small. - Parts left out
truncatedFieldsWhich parts were dropped, such as comments or subtitles.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 1 sample record carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | Video ID (hidden) | 1 of 1 |
title | text | Title | 1 of 1 |
url | link | Video page | 1 of 1 |
thumbnailUrl | image link | Thumbnail | 1 of 1 |
viewCount | number | Views | 1 of 1 |
likes | number | Likes | 1 of 1 |
date | text | Upload date shown | 1 of 1 |
publishedAt | date | Uploaded on | 1 of 1 |
duration | text | Length | 1 of 1 |
channelName | text | Channel | 1 of 1 |
channelUrl | link | Channel page | 1 of 1 |
channelId | text | Channel ID (hidden) | 0 of 1 |
numberOfSubscribers | number | Subscribers | 1 of 1 |
isChannelVerified | yes or no | Verified channel | 0 of 1 |
channelAvatarUrl | image link | Channel picture | 0 of 1 |
collaborators | list | Collaborators | 0 of 1 |
text | text | Description | 1 of 1 |
hashtags | list | Hashtags | 1 of 1 |
descriptionLinks | list | Links in description | 1 of 1 |
chapters | list | Chapters | 0 of 1 |
chaptersAutoGenerated | yes or no | Automatic chapters | 0 of 1 |
totalCommentsCount | number | Comments | 0 of 1 |
hasTranscript | yes or no | Has transcript | 0 of 1 |
engagementRate | number | Engagement rate | 0 of 1 |
likeToViewRatio | number | Likes per view | 0 of 1 |
daysSincePublished | number | Days since upload | 0 of 1 |
viewsPerDay | number | Views per day | 0 of 1 |
fromYTUrl | link | Source link (hidden) | 1 of 1 |
scrapedAt | date and time | Collected at (hidden) | 1 of 1 |
isShort | yes or no | Is a Short | 0 of 1 |
shortsUrl | link | Shorts page | 0 of 1 |
isLive | yes or no | Live now | 0 of 1 |
wasLive | yes or no | Past live stream | 0 of 1 |
outlierScore | number | Outlier score | 0 of 1 |
channelMedianViews | number | Channel typical views | 0 of 1 |
hashtagVideoCount | number | Hashtag video count | 0 of 1 |
truncated | yes or no | Shortened record (hidden) | 0 of 1 |
truncatedFields | list | Parts left out (hidden) | 0 of 1 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Description | Views | Likes | Length | Channel | Subscribers | Verified channel | Collaborators | Hashtags | Chapters | Automatic chapters | Comments | Has transcript | Engagement rate | Likes per view | Views per day | Is a Short | Live now | Past live stream | Outlier score | Channel typical views | Hashtag video count | Upload date shown | Uploaded on | Days since upload | Video page | Channel page | Links in description | Shorts page | Thumbnail | Channel picture |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Rick Astley - Never Gonna Give You Up (Official Video) | The official video for “Never Gonna Give You Up”... | 1,792,628,321 | 19,243,762 | 3:33 | Rick Astley | 4,520,000 | — | — | RickAstley, NeverGonnaGiveYouUp | — | — | — | — | — | — | — | — | — | — | — | — | — | Oct 24, 2009 | Oct 24, 2009 | — | youtube.com/watch?v=dQw4w9WgXcQ | youtube.com/@RickAstleyYT | 1 item: Link: https://RickAstley.lnk.to/_listenYD · Text: Listen | — | i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg | — |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- The record limit applies to each search term, channel, playlist or hashtag; the run still stops at your max_items in total.
- Search results vary from run to run: YouTube reorders even identical searches.
- Transcripts and comments are not part of this API. Comments have their own API.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.