PulseEmetrics

YouTube

17 endpoints. All requests need an x-api-key header.

GET/v1/youtube/channel

Channel Details

Retrieves comprehensive YouTube channel profile data including name, avatar images, subscriber count (subscribers), total video and view counts, join date, tags, and linked social accounts like Twitter and Instagram. Accepts a channelId, handle, or full channel URL as input. Returns channel metadata such as country, email, and external store links when available. Contact fields come from the submitted public profile. To request removal of your own information from PulseEmetrics results, email su

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
channelIdstringYouTube channel ID. Can pass a channelId, handle or url Example: UC-9-kyTW8ZkZNDHQJ6FgpwQ
handlestringYouTube channel handle. Can pass a channelId, handle or url Example: ThePatMcAfeeShow
urlstringYouTube channel URL. Can pass a channelId, handle or url Example: https://www.youtube.com/@ThePatMcAfeeShow
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/channel" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/channel", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/channel",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/channel-videos

Channel Videos

Fetches a paginated list of videos uploaded by a YouTube channel, including each video's title, URL, thumbnail, view count (views), publish date, duration, and description. Supports sorting by latest or popular, and use the continuationToken to page through all results. Optionally include extras like like count, comment count, and descriptions for each video.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
channelIdstringYouTube channel ID Example: UC-9-kyTW8ZkZNDHQJ6FgpwQ
handlestringYouTube channel handle Example: ThePatMcAfeeShow
sortstringSort by latest or popular One of: latestpopular Example: latest
continuationTokenstringContinuation token to get more videos. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
is_paid_promotionsstringSet to 'true' to search YouTube's public paid product placement / sponsorship / endorsement search surface. This returns normal YouTube videos where the creator declared paid promotion. Cannot be combined with filter, uploadDate, sortBy, type, duration, or includeExtras. Example: false
includeExtrasstringThis will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. Honestly, if you use this param, the error rate is higher. We might deprecate this param in the future. Example: false
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/channel-videos" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/channel-videos", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/channel-videos",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/channel/community-posts

Channel Community Posts

Fetches community posts from a YouTube channel's Posts tab, including post ID, URL, content, images, attached video, like count, publish time, channel info, and a continuationToken when YouTube has more results. Pass a handle or channelId for the first page, then pass continuationToken to page through more posts.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
channelIdstringYouTube channel ID Example: UCX6OQ3DkcsbYNE6H8uQQuVA
handlestringYouTube channel handle Example: MrBeast
continuationTokenstringContinuation token to get more community posts. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/channel/community-posts" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/channel/community-posts", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/channel/community-posts",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/channel/lives

Channel Lives

Fetches live streams and past streams from a YouTube channel's Live tab, including title, URL, thumbnail, view count, publish time, duration, and a continuationToken when YouTube has more results. Pass a handle or channelId for the first page, then pass continuationToken to page through more lives.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
channelIdstringYouTube channel ID Example: UCWsDFcIhY2DBi3GB5uykGXA
handlestringYouTube channel handle Example: IShowSpeed
continuationTokenstringContinuation token to get more lives. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/channel/lives" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/channel/lives", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/channel/lives",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/channel/playlists

Channel Playlists

Fetches playlists from a YouTube channel's Playlists tab, including playlist ID, title, thumbnail, video count, channel info, playlist URL, and a continuationToken when YouTube has more results. Pass a handle or channelId for the first page, then pass continuationToken to page through more playlists.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
channelIdstringYouTube channel ID Example: UCX6OQ3DkcsbYNE6H8uQQuVA
handlestringYouTube channel handle Example: MrBeast
continuationTokenstringContinuation token to get more playlists. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/channel/playlists" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/channel/playlists", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/channel/playlists",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/channel/shorts

Channel Shorts

Retrieves a paginated list of short-form videos (Shorts) from a YouTube channel, including each short's title, URL, view count (views), likes, comments, description, and publish date. publishDate is a full ISO 8601 timestamp with an offset when YouTube exposes the exact publish time; otherwise it is null. It does not return date-only strings. Supports sorting by newest or popular; use the continuationToken to page through all results. Returns data in the shorts array.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
handlestringCan pass channelId or handle Example: starterstory
channelIdstringCan pass channelId or handle Example: UC-9-kyTW8ZkZNDHQJ6FgpwQ
sortstringSort by newest or popular One of: newestpopular Example: newest
continuationTokenstringContinuation token to get more videos. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/channel/shorts" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/channel/shorts", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/channel/shorts",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/community-post

Community Post Details

Retrieves the full details of a YouTube community post, including its text content, attached images, like count, publish date, and associated channel info. Also returns a linked video if the post includes one.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringThe URL of the YouTube community post to get Example: https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/community-post?url=https%3A%2F%2Fwww.youtube.com%2Fpost%2FUgkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/community-post?url=https%3A%2F%2Fwww.youtube.com%2Fpost%2FUgkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/community-post",
    params={"url": "https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/playlist

Playlist

Retrieves a page of videos in a YouTube playlist, including each video's title, URL, thumbnail, duration, and channel. Accepts the playlist ID found in the 'list' URL parameter. The first page includes title, owner, and totalVideos. Later pages return videos and continuationToken without playlist metadata. Pass the previous response's continuationToken to get the next page. Stop when continuationToken is null. Each page costs 1 credit.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
playlist_idrequiredstringThe ID of the YouTube playlist. In the YouTube URL it will be the 'list' parameter. Example: PLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS
continuationTokenstringToken from the previous response to get the next page. Omit for the first page. Stop when the returned continuationToken is null.
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/playlist?playlist_id=PLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS&continuationToken=value" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/playlist?playlist_id=PLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS&continuationToken=value", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/playlist",
    params={"playlist_id": "PLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS", "continuationToken": "value"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/search

Search

Searches YouTube by keyword query and returns matching videos, channels, playlists, shorts, shelves, and live streams. Each video result includes title, URL, thumbnail, view count (views), publish date, duration, channel info, and badges. Supports filtering by upload date, sorting by relevance or popularity, and paginating with continuationToken. Set is_paid_promotions=true to search YouTube videos with the paid product placement / sponsorship disclosure.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
queryrequiredstringSearch query. For stricter title matching, use YouTube's intitle: operator, for example intitle:"Foursquare Swarm". Quoted queries by themselves may still be broadened by YouTube when no fresh exact matches are available.
uploadDatestringUpload date One of: todaythis_weekthis_monththis_year
sortBystringSort by One of: relevancepopular Example: relevance
typestringType of content to search for One of: videosshortschannelsplaylists Example: videos
durationstringDuration of the video. Only applies to videos (not shorts). One of: under_3_minbetween_3_and_20_minover_20_min Example: under_3_min
regionstring2 letter country code of the country to put the proxy in. Example: US
continuationTokenstringContinuation token to get more videos. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
includeExtrasstringThis will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.* Example: false
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/search?query=value" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/search?query=value", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/search",
    params={"query": "value"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/search/hashtag

Search by Hashtag

Searches YouTube for content matching a specific hashtag and returns matching videos with title, URL, thumbnail, view count (views), publish date, duration, and channel info. Supports pagination via continuationToken and filtering to return all content types or only shorts.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
hashtagrequiredstringHashtag to search for Example: funny
continuationTokenstringContinuation token to get more videos. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
typestringSearch for all types of content or only shorts One of: allshorts Example: all
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/search/hashtag?hashtag=funny" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/search/hashtag?hashtag=funny", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/search/hashtag",
    params={"hashtag": "funny"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/search/typeahead

Search Typeahead

Returns the live search suggestions YouTube displays while a user types. Each result includes the suggested text and whether it is a normal query or a channel. When YouTube returns a channel suggestion, the response also includes its public channel ID, handle, name, and thumbnail.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
queryrequiredstringPartial or complete YouTube search query Example: mr beast
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/search/typeahead?query=mr%20beast" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/search/typeahead?query=mr%20beast", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/search/typeahead",
    params={"query": "mr beast"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/shorts/trending

Trending Shorts

Fetches approximately 48 currently trending YouTube Shorts (viral/popular short-form videos) per call, returning each short's title, URL, thumbnail, view count (views), like count (likes), comment count, publish date, channel info, keywords, and duration. Each subsequent call returns a fresh batch of different trending shorts.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

None.

Example

curl "https://api.pulseemetrics.com/v1/youtube/shorts/trending" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/shorts/trending", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/shorts/trending",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/video

Video/Short Details

Fetches full details for a YouTube video or short, including title, description, thumbnail, view count (views), like count (likes), comment count, publish date, duration, genre, keywords, chapters, collaborators, and available caption tracks (subtitles/captions). isPaidPromotion is true when YouTube marks the video as including paid promotion and false when it does not. Also returns related recommended videos in watchNextVideos and channel info for the uploader. When YouTube exposes its public M

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringYouTube video or short URL Example: https://youtu.be/gTCi7PaOPLY
languagestringPreferred response language (mapped to Accept-Language header; not guaranteed due to YouTube localization behavior). 2 letter language code, ie 'en', 'es', 'fr' etc. Example: en
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/video?url=https%3A%2F%2Fyoutu.be%2FgTCi7PaOPLY&language=en" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/video?url=https%3A%2F%2Fyoutu.be%2FgTCi7PaOPLY&language=en", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/video",
    params={"url": "https://youtu.be/gTCi7PaOPLY", "language": "en"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/video/comment/replies

Comment Replies

Fetches replies to a specific comment on a YouTube video, including each reply's text content, author details (name, channel ID, avatar, verified/creator status), like count, and publish date. Requires a continuationToken obtained from the 'repliesContinuationToken' field on comments returned by the Comments endpoint. Supports paginating through additional replies with the continuationToken returned in each response.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
continuationTokenrequiredstringContinuation token for the comment replies. Use 'repliesContinuationToken' from the Comments endpoint, or 'continuationToken' from a previous replies response to paginate. Example: Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIa...
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/video/comment/replies?continuationToken=Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIa..." \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/video/comment/replies?continuationToken=Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIa...", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/video/comment/replies",
    params={"continuationToken": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIa..."},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/video/comments

Comments

Fetches comments and replies from a YouTube video, including each comment's text content, author details, like count, reply count, and publish date. Supports ordering by top or newest, and paginating with continuationToken. Limited to approximately 1,000 top comments or 7,000 newest comments.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringYouTube video URL Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ
continuationTokenstringContinuation token to get more comments. Get 'continuationToken' from previous response. Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
orderstringOrder of comments One of: topnewest Example: top
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/video/comments?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/video/comments?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/video/comments",
    params={"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/video/sponsors

Video Sponsors

Experimental endpoint. Checks a YouTube video for the paid-promotion disclosure and infers likely sponsors/promoted brands from the public description, description links, promo-code text, and transcript. YouTube tells us that a video contains paid promotion, but it does not always tell us the sponsor directly, so this endpoint returns suspected sponsors with confidence and evidence. This is inferred, not an official YouTube sponsor field. Feedback welcome: support@PulseEmetrics.com

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringYouTube video or short URL Example: https://www.youtube.com/watch?v=AVO0ifle-OU
languagestring2 letter language code used for transcript lookup, ie 'en', 'es', 'fr' etc. Example: en
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/video/sponsors?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAVO0ifle-OU&language=en" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/video/sponsors?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAVO0ifle-OU&language=en", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/video/sponsors",
    params={"url": "https://www.youtube.com/watch?v=AVO0ifle-OU", "language": "en"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/youtube/video/transcript

Transcript

Retrieves publicly available captions, subtitles, or transcripts from a YouTube video or Short. Returns both a timestamped transcript array with start/end times and a plain-text version in transcript_only_text. Supports specifying a language code. Videos of any length are supported when YouTube exposes public captions. This endpoint does not use AI transcription. A returned transcript costs 1 credit; missing captions cost 0 credits. If no matching caption track is available, the transcript field

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringYouTube video or short URL Example: https://www.youtube.com/watch?v=bjVIDXPP7Uk
languagestringLanguage code, ie 'en', 'es', 'fr' or 'en-US'. Overrides the default track selection unless original_audio=true. If omitted, prefers captions matching the original spoken language when YouTube identifies the original audio. If that metadata is unavailable or ambiguous, prefers an auto-generated capt Example: en
original_audiobooleanSet to true to return captions only in the original spoken language identified by YouTube. Takes precedence over language. If the original audio cannot be reliably identified or has no matching captions, transcript, transcript_only_text, and language are null and no credits are charged. No extra loo Example: true
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/youtube/video/transcript?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbjVIDXPP7Uk" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/youtube/video/transcript?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbjVIDXPP7Uk", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/youtube/video/transcript",
    params={"url": "https://www.youtube.com/watch?v=bjVIDXPP7Uk"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())