Skip to main content
New

The YouTube API is live.

Try it

Scrape YouTube
Search Results

Fetch paginated YouTube search results at scale, with video IDs, titles, channels, durations, view counts, and thumbnails in structured JSON.

  • 100 free API credits included
  • No payment card required
  • Failed requests cost 0 credits
GETapi.tapline.sh/v1/youtube/search
1
{
2
  "query": "rick astley never gonna give you up",
3
  "returned_count": 5,
4
  "results": [
5
    {
6
      "result_type": "video",
7
      "id": "dQw4w9WgXcQ",
8
      "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
9
      "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
10
      "duration": 214,
11
      "view_count": 1798668390,
12
      "channel": "Rick Astley",
13
      "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
14
      "channel_url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
15
      "thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgj615rCBhjg6gQg4KgB&rs=AOn4CLD1KaBWocgvj1pp1_UfYy63-FR0Nw&usqp=CBk",
16
      "thumbnails": [
17
        {
18
          "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgj615rCBhjg6gQg4KgB&rs=AOn4CLD1KaBWocgvj1pp1_UfYy63-FR0Nw&usqp=CBk",
19
          "width": 360,
20
          "height": 202
21
        },
22
        {
23
          "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hq720.jpg?sqp=-oaymwEfCNAFEJQDSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgj615rCBhjg6gQg4KgB&rs=AOn4CLCYhMJMsxr_BTJg56qNQcWHHLFQNQ&usqp=CBk",
24
          "width": 720,
25
          "height": 404
26
        }
27
      ],
28
      "description": "The official video for “Never Gonna Give You Up” by Rick Astley. Never: The Autobiography OUT NOW! Follow this link to get ...",
29
      "live_status": null,
30
      "channel_is_verified": true
31
    },
32
    {
33
      "result_type": "video",
34
      "id": "7FwDP17XPlk",
35
      "title": "Rick Astley - Never Gonna Give You Up",
36
      "url": "https://www.youtube.com/watch?v=7FwDP17XPlk",
37
      "duration": 214,
38
      "view_count": 716559,
39
      "channel": "Amazing Lyrics",
40
      "channel_id": "UCZtoHl1p6R6_iLm2yjA9gew",
41
      "channel_url": "https://www.youtube.com/channel/UCZtoHl1p6R6_iLm2yjA9gew",
42
      "thumbnail": "https://i.ytimg.com/vi/7FwDP17XPlk/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjOwNDBBhjg6gQg4KgB&rs=AOn4CLD8rX4ruP05rXvA1fodLtRCt66zsQ&usqp=CBk",
43
      "thumbnails": [
44
        {
45
          "url": "https://i.ytimg.com/vi/7FwDP17XPlk/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjOwNDBBhjg6gQg4KgB&rs=AOn4CLD8rX4ruP05rXvA1fodLtRCt66zsQ&usqp=CBk",
46
          "width": 360,
47
          "height": 202
48
        },
49
        {
50
          "url": "https://i.ytimg.com/vi/7FwDP17XPlk/hq720.jpg?sqp=-oaymwEfCNAFEJQDSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjOwNDBBhjg6gQg4KgB&rs=AOn4CLDWNOFh7gBdo_yt04j0xdiEzFXmeA&usqp=CBk",
51
          "width": 720,
52
          "height": 404
53
        }
54
      ],
55
      "description": "Rick Astley - Never Gonna Give You Up Get: Lyrics: [Intro] Desert you Ooh-ooh-ooh-ooh Hurt you [Verse 1] We're no strangers to ...",
56
      "live_status": null,
57
      "channel_is_verified": true
58
    },
59
    {
60
      "result_type": "video",
61
      "id": "nsCIeklgp1M",
62
      "title": "Rick Astley - Never Gonna Give You Up | Glastonbury 2023",
63
      "url": "https://www.youtube.com/watch?v=nsCIeklgp1M",
64
      "duration": 560,
65
      "view_count": 6133471,
66
      "channel": "BBC Music",
67
      "channel_id": "UCZtDUmC3W7j25XHZWFT_XgQ",
68
      "channel_url": "https://www.youtube.com/channel/UCZtDUmC3W7j25XHZWFT_XgQ",
69
      "thumbnail": "https://i.ytimg.com/vi/nsCIeklgp1M/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjcpNykBhjg6gQg4KgB&rs=AOn4CLBl_-QUe4oe40sbti65LAy1LLsEuQ&usqp=CBk",
70
      "thumbnails": [
71
        {
72
          "url": "https://i.ytimg.com/vi/nsCIeklgp1M/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjcpNykBhjg6gQg4KgB&rs=AOn4CLBl_-QUe4oe40sbti65LAy1LLsEuQ&usqp=CBk",
73
          "width": 360,
74
          "height": 202
75
        },
76
        {
77
          "url": "https://i.ytimg.com/vi/nsCIeklgp1M/hq720.jpg?sqp=-oaymwEfCNAFEJQDSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjcpNykBhjg6gQg4KgB&rs=AOn4CLCJFsXus4dP8eM5py7RZcCU_ah1Xg&usqp=CBk",
78
          "width": 720,
79
          "height": 404
80
        }
81
      ],
82
      "description": "Rick Astley performs Never Gonna Give You Up at Glastonbury 2023. Watch more highlights on BBC iPlayer: ...",
83
      "live_status": null,
84
      "channel_is_verified": true
85
    },
86
    {
87
      "result_type": "video",
88
      "id": "3BFTio5296w",
89
      "title": "Never Gonna Give You Up (2022 Remaster)",
90
      "url": "https://www.youtube.com/watch?v=3BFTio5296w",
91
      "duration": 214,
92
      "view_count": 11521857,
93
      "channel": "Rick Astley",
94
      "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
95
      "channel_url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
96
      "thumbnail": "https://i.ytimg.com/vi/3BFTio5296w/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjzjoORBhjg6gQg4KgB&rs=AOn4CLDKgt9vW3YhxpGdBECxZ5o2uWQPAg&usqp=CBk",
97
      "thumbnails": [
98
        {
99
          "url": "https://i.ytimg.com/vi/3BFTio5296w/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjzjoORBhjg6gQg4KgB&rs=AOn4CLDKgt9vW3YhxpGdBECxZ5o2uWQPAg&usqp=CBk",
100
          "width": 360,
101
          "height": 202
102
        },
103
        {
104
          "url": "https://i.ytimg.com/vi/3BFTio5296w/hq720.jpg?sqp=-oaymwEfCNAFEJQDSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjzjoORBhjg6gQg4KgB&rs=AOn4CLB4-ezlLeE42k1N7cHku4Dck9luEw&usqp=CBk",
105
          "width": 720,
106
          "height": 404
107
        }
108
      ],
109
      "description": "Provided to YouTube by BMG Rights Management (UK) Ltd. Never Gonna Give You Up (2022 Remaster) · Rick Astley Whenever ...",
110
      "live_status": null,
111
      "channel_is_verified": true
112
    },
113
    {
114
      "result_type": "video",
115
      "id": "ds8sVhxdvfA",
116
      "title": "Rick Astley - Never Gonna Give You Up (The Prince's Trust Rock Gala 1988)",
117
      "url": "https://www.youtube.com/watch?v=ds8sVhxdvfA",
118
      "duration": 251,
119
      "view_count": 749614,
120
      "channel": "King's Trust Music",
121
      "channel_id": "UC3bXPMuWq79iiQDl66J5pzg",
122
      "channel_url": "https://www.youtube.com/channel/UC3bXPMuWq79iiQDl66J5pzg",
123
      "thumbnail": "https://i.ytimg.com/vi/ds8sVhxdvfA/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjs7NveBRjg6gQg4KgB&rs=AOn4CLBsjt4erzyYmFkd5-fGZSkgXl1HDA&usqp=CBk",
124
      "thumbnails": [
125
        {
126
          "url": "https://i.ytimg.com/vi/ds8sVhxdvfA/hq720.jpg?sqp=-oaymwEfCOgCEMoBSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjs7NveBRjg6gQg4KgB&rs=AOn4CLBsjt4erzyYmFkd5-fGZSkgXl1HDA&usqp=CBk",
127
          "width": 360,
128
          "height": 202
129
        },
130
        {
131
          "url": "https://i.ytimg.com/vi/ds8sVhxdvfA/hq720.jpg?sqp=-oaymwEfCNAFEJQDSFXyq4qpAxEIARUAAIhCGAFwAcABBrgCGaLzl_8DDgjs7NveBRjg6gQg4KgB&rs=AOn4CLCbg0BpPfox5Yb1mHjxs1YpBjNE5g&usqp=CBk",
132
          "width": 720,
133
          "height": 404
134
        }
135
      ],
136
      "description": "RickAstleyYT & The Midge Ure All Star Band performing Never Gonna Give You Up at the Prince's Trust Rock Gala charity event ...",
137
      "live_status": null,
138
      "channel_is_verified": true
139
    }
140
  ]
141
}

A simpler way to collect YouTube search results.

Get video IDs, titles, channels, durations, view counts, and thumbnails in one response.

  • Multiple result types

    Search for videos, channels, playlists, or movies. Leave the type open to search across them.

  • Ranked results

    Keep YouTube's relevance order, or sort by newest, most viewed, or highest rated.

  • Built-in filters

    See results ranked for a specific country. Narrow them by upload date, duration, HD, 4K, subtitles, or live video.

  • No daily search cap

    Keep searching throughout the day without waiting for a quota reset. Failed requests cost 0 credits.

02Try it live

Test it live.
See the result.

Choose a sample video, set the format, and run the endpoint without an account.

Search

Current public data

Search

Use Run to fetch a live, normalized response from the Tapline API.

Run a request to fetch a live response.
03Pricing

Simple, Transparent Pricing

Start free. No card required. No charge for failed requests.

 

Free

$0
No card required
100 API credits
All endpointsNo charge for failed requests1 req/s
 

Pay As You Go

$9
one-time payment
From 5,000 credits
All endpointsCredits never expire5 req/s
 

Starter

$39
/ month
billed $468/yrSave $120/yr
100,000 credits/mo
All endpointsEmail support5 req/s
 

Enterprise

Custom
Priced to your workload
More than 4,000,000 credits/mo
Higher rate limitsCustom endpointsAnnual contracts
04Questions

Questions before you ship.

Sign up to get 100 free API credits with no card required, then create an API key in the dashboard. Send it in the X-API-Key header and you can make your first request in under a minute.

One HTTP call to one endpoint. Search, comments, video details, and channel requests cost 3 credits and every other request costs 2, regardless of how many rows it returns. A comments page carrying 20 threads is still one request.

Yes. Your plan has one credit pool shared across every live Tapline API.

Search, comments, comment replies, and channel videos return one full page per call plus a pagination.next_cursor; send that back to get the next page. There is no limit parameter, so page size is fixed. A comments page usually carries 20 threads and a channel videos page 30 items. Playlists are the one endpoint that takes a limit, from 1 to 100 entries with a default of 50. Metadata, transcript, subtitle tracks, formats, heatmap, and channel info are single-record endpoints.

Yes. Each comments response carries pagination.next_cursor. Send it back as the cursor parameter to get the next page and repeat until next_cursor is null. Sort by new to walk the whole comment section; sorting by top follows YouTube ranked order and stops short of the full set on heavily commented videos, which the response marks as completion: depth_limit. Replies have their own endpoint: take replies_cursor from a thread and page it the same way until it runs out. Every comments page is one request at 3 credits, and every replies page costs 2.

Credits are charged when Tapline reaches the target and receives a valid response about the requested resource. This includes responses showing that the resource is private, restricted, unavailable, or does not exist. Requests that fail because Tapline is blocked by the target, times out, or encounters an internal error cost 0 credits.

Calls return the current state at request time. Identical requests within a short window may be served from a brief cache.

No. Tapline is independent. Tapline returns publicly available data.

No. Unlike the YouTube Data API, Tapline does not reset a daily quota. Requests draw from your plan's monthly credit pool. Rate limits still apply, and failed requests use no credits.

Get started

Start Building With
YouTube Data