LurkAPI
Docs · Comment replies

Comment replies

The replies to one YouTube comment.

1 credit per callFresh within 10 minutesMCP tool: youtube_comment_replies
GEThttps://api.lurkapi.com/v1/youtube/video/comment/replies

Example response

When to use this

Use it to read the conversation under a comment. Pass a comment's repliesContinuationToken from video comments as continuationToken. About 10 replies on the first page and up to 50 on later ones, oldest first.

Pagination. Pass the response's continuationToken back as continuationToken for more replies; it's null at the end.

A token always has replies behind it, so if YouTube sends none, the call fails with upstream_error (free). Retry it.

Example request

Copy one and replace YOUR_API_KEY with your API key (get one free). The code versions read the key from the LURKAPI_API_KEY environment variable instead.

Language

Parameters

Add them to the URL after a ?. Join several with &.

ParameterDescription
continuationToken
stringrequired
A comment's repliesContinuationToken from video comments, or the continuationToken from a previous replies page.
Example
Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6Z2UzNDBkQmdCNzVoV0JtNTRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQABICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pnZTM0MGRCZ0I3NWhXQm01NEFhQUJBZw%3D%3D

Example response

A real response, captured from the live API. Lists are trimmed to a couple of items, and long text such as media links is cut short with ….

Show the example response (2 KB)
{
  "success": true,
  "credits_remaining": 999983,
  "credits_charged": 1,
  "comments": [
    {
      "id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHE9eIiztxR",
      "content": "YOUTUBE AND ONE LIKE WOOHAAAAH",
      "publishedTimeText": "1 year ago",
      "publishedTime": "2025-09-30T14:34:02.154Z",
      "replyLevel": 1,
      "author": {
        "name": "@linganguliguliwatcha",
        "channelId": "UCjFRISlX-LPxiqViJAE3h6Q",
        "isVerified": false,
        "isCreator": false,
        "avatarUrl": "https://yt3.ggpht.com/AbGqKNjK9k5tyOqdV7cdXx-GgnGuuGQ5wj8RN42U5YCDvYHT0v…",
        "channelUrl": "https://www.youtube.com/@linganguliguliwatcha"
      },
      "engagement": {
        "likes": 7500,
        "replies": 5
      },
      "repliesContinuationToken": null,
      "isPinned": false,
      "isHearted": false
    },
    {
      "id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHEAB_-JmDA",
      "content": "HEY YOUTUBE",
      "publishedTimeText": "1 year ago",
      "publishedTime": "2025-09-30T14:34:02.154Z",
      "replyLevel": 1,
      "author": {
        "name": "@_bugrabilgin",
        "channelId": "UCg9tPtxMOieUEyhSv63uJ4g",
        "isVerified": false,
        "isCreator": false,
        "avatarUrl": "https://yt3.ggpht.com/LvMpN24GYYr8w43sGoMeYZYejDPJz_skehI6jm_XGGhfM5YeRa…",
        "channelUrl": "https://www.youtube.com/@_bugrabilgin"
      },
      "engagement": {
        "likes": 3100,
        "replies": 2
      },
      "repliesContinuationToken": null,
      "isPinned": false,
      "isHearted": false
    }
  ],
  "continuationToken": "Eg0SC2RRdzR3OVdnWGNRGAYy2AEKUWdldF9jb21tZW50X3dpdGhfcmVwbGllc19zdHJlYW0t…"
}

Response fields

Every field in a successful response, and what it means. A name with [] belongs to each item of a list: comments[].id is the id of every item in comments. null means there's no value.

Show all 23 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).
commentsobject[]One page of replies (replyLevel: 1).
comments[].idstringComment id. Replies are <parent id>.<reply id>.
comments[].contentstringComment text.
comments[].publishedTimeTextstringWhen it was posted, as YouTube shows it, e.g. "3 days ago" or "6 years ago (edited)".
comments[].publishedTimestringcan be nullApproximate post time, ISO 8601, worked out from publishedTimeText: only as precise as that text ("6 years ago" is ±6 months).
comments[].replyLevelnumber0 for a comment, 1 for a reply.
comments[].authorobjectWho wrote it.
comments[].author.namestringAuthor's handle, e.g. @YouTube.
comments[].author.channelIdstringcan be nullAuthor's channel id, UC….
comments[].author.isVerifiedbooleanThe author has a verified badge.
comments[].author.isCreatorbooleanThe author is the video's creator.
comments[].author.avatarUrlstringcan be nullAuthor's avatar URL.
comments[].author.channelUrlstringcan be nullAuthor's channel page.
comments[].engagementobjectLikes and replies.
comments[].engagement.likesnumberLikes; YouTube rounds above 1,000 (321K → 321000).
comments[].engagement.repliesnumberNumber of replies.
comments[].repliesContinuationTokenstringcan be nullPass as continuationToken to comment replies to read the replies. null when there are none (and always on replies).
comments[].isPinnedbooleanPinned by the creator.
comments[].isHeartedbooleanHearted by the creator.
continuationTokenstringcan be nullPass as continuationToken for more replies. null on the last page.

Cost and freshness

Each call costs 1 credit. Calls turned away before they reach the platform (invalid parameters, a key or balance problem, a rate limit) are free, and so are 5xx errors. A not_found is charged, since the platform was checked. How charging works.

Answers are cached for up to 10 minutes. A repeat call within that time can return the same data, and costs the same.

Errors

A failed call returns success: false, an error message, a code your program can check, and a docs link. These are the errors this endpoint can return. All error codes.

StatusCodeMeaning
401missing_api_keyNo API key was sent. Put it in the x-api-key header.
401invalid_api_keyThis key doesn't exist or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack, or wait for tomorrow's free top-up.
402over_max_creditsThis call would cost more than the max_credits you set. The error says what it needs; raise max_credits to allow it. Not charged.
403account_suspendedThis account is suspended. Email support@lurkapi.com. Not charged.
405method_not_allowedEndpoints only take GET, with parameters in the URL.
429rate_limitedToo many calls in a short time. Wait as many seconds as the retry-after header says, then retry.
500internal_errorSomething broke on our side. Retry. Not charged.
502upstream_errorThe platform didn't send a usable answer. Retry. Not charged.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds. Not charged.
504upstream_timeoutThe platform took over 30 seconds to answer (90 for web pages). Retry. Not charged.

Use it in Claude

Connect LurkAPI to Claude and ask in plain English. This endpoint is the youtube_comment_replies tool. For example:

Ask Claude
Use LurkAPI's youtube_comment_replies tool with continuationToken "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6Z2UzNDBkQmdCNzVoV0JtNTRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQABICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pnZTM0MGRCZ0I3NWhXQm01NEFhQUJBZw%3D%3D", then summarize what you find.

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

Tool arguments
{"continuationToken": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6Z2UzNDBkQmdCNzVoV0JtNTRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQABICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pnZTM0MGRCZ0I3NWhXQm01NEFhQUJBZw%3D%3D"}

To save tokens, tool results leave out empty fields, keep one URL per image or video, and give transcripts as plain text unless you pass timestamps=true. A result over 45,000 characters comes in parts. Its _note gives the offset for the next part, and later parts are free for 15 minutes. Pass trim=false for the full response.

From the blog

All posts