LurkAPI
Docs · Channel Shorts

Channel Shorts

A channel's Shorts, newest or most popular first, with titles and view counts.

1 credit per callFresh within 1 hourMCP tool: youtube_channel_shorts
GEThttps://api.lurkapi.com/v1/youtube/channel/shorts

Example responseView as markdown

When to use this

Use it to track a creator's short-form output: about 48 Shorts per page from the channel's Shorts tab, newest first, or most viewed first with sort=popular.

The Shorts tab only shows title, thumbnail and views. For likes, comments, upload date and length, pass a Short's url to the video endpoint; we don't fetch those for every Short, so a page stays one fast request.

Pagination. Pass the response's continuationToken back as continuationToken for the next page; it's null on the last page.

Unknown channels return 404 not_found; a channel without Shorts returns an empty list.

Parameters

All parameters go in the query string.

ParameterDescription
channelId
stringoptional
Channel id, e.g. UCX6OQ3DkcsbYNE6H8uQQuVA. Pass this or handle.
handle
stringoptional
Channel handle, with or without the @, e.g. MrBeast. Pass this or channelId.
Example
MrBeast
sort
stringoptional
Order: newest first, popular (most viewed) or oldest.
One of
newestpopularoldest
Default
newest
continuationToken
stringoptional
The continuationToken from the previous response, for the next page. The channel can be left out then.

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (1 KB)
{
  "success": true,
  "credits_remaining": 999993,
  "credits_charged": 1,
  "shorts": [
    {
      "type": "short",
      "id": "CEJXqm2eiJ0",
      "url": "https://www.youtube.com/shorts/CEJXqm2eiJ0",
      "title": "What’s Inside My Briefcase?",
      "thumbnail": "https://i.ytimg.com/vi/CEJXqm2eiJ0/sardefault.jpg?sqp=-oaymwEgCJUDEOAESF…",
      "viewCountText": "23M views",
      "viewCountInt": 23000000
    },
    {
      "type": "short",
      "id": "T_SMf9j50uc",
      "url": "https://www.youtube.com/shorts/T_SMf9j50uc",
      "title": "Can We Build an Entire Village?",
      "thumbnail": "https://i.ytimg.com/vi/T_SMf9j50uc/sardefault.jpg?sqp=-oaymwEgCJUDEOAESF…",
      "viewCountText": "21M views",
      "viewCountInt": 21000000
    }
  ],
  "continuationToken": "4qmFsgK_CxIYVUNYNk9RM0RrY3NiWU5FNkg4dVFRdVZBGqILOGdhekNCcXdDRkt0Q0RLcUNB…"
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 12 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
shortsobject[]One page of Shorts, in sort order.
shorts[].type"short"Always short.
shorts[].idstringThe Short's video id.
shorts[].urlstringhttps://www.youtube.com/shorts/<id>. Pass it to the video endpoint for likes, comments, date and length.
shorts[].titlestringThe Short's title.
shorts[].thumbnailstringnullableLargest (vertical) thumbnail URL.
shorts[].viewCountTextstringnullableViews as YouTube shows them, e.g. "22M views".
shorts[].viewCountIntnumbernullableviewCountText as a number, rounded as shown (22M views → 22000000).
continuationTokenstringnullablePass as continuationToken for the next page. null on the last page.

Caching and freshness

Responses are cached for up to 1 hour, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
404not_foundThe endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer. Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the youtube_channel_shorts tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's youtube_channel_shorts with handle "MrBeast" and summarize what you find.

Claude calls youtube_channel_shorts with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "handle": "MrBeast"
}

Tool results skip nulls and empty lists to save tokens.