LurkAPI
Docs · Live status

Live status

Whether a public creator is live, with the current room title, viewers and start time.

1 credit per callFresh within 30 secondsMCP tool: tiktok_live
GEThttps://api.lurkapi.com/v1/tiktok/user/live

Example responseView as markdown

When to use this

Check a creator before a campaign or live collaboration. A room id on the profile can belong to a finished stream, so this endpoint verifies the room's status. Only an active stream returns room details; offline accounts return is_live: false and null room fields. Refreshes every 30 seconds. Unknown accounts return 404 not_found.

Parameters

All parameters go in the query string.

ParameterDescription
handle
stringrequired
TikTok username, with or without @ (e.g. nike), or the profile URL.
Example
tiktok

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": 999957,
  "credits_charged": 1,
  "user": {
    "id": "107955",
    "uniqueId": "tiktok",
    "nickname": "TikTok",
    "avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11…",
    "verified": true
  },
  "is_live": false,
  "room_id": null,
  "title": null,
  "started_at": null,
  "viewer_count": null,
  "total_joins": null
}

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 15 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).
userobjectThe creator.
user.idstringNumeric user id.
user.uniqueIdstringUsername (handle), without @.
user.nicknamestringDisplay name.
user.avatarThumbstringnullableSmall avatar URL (expires after a few days); null if TikTok has none.
user.verifiedbooleanHas the verified badge.
is_livebooleanTikTok reports an active livestream (room status 2).
room_idstringnullableCurrent live room id; null when offline.
titlestringnullableCurrent stream title; null when offline or unavailable.
started_atnumbernullableCurrent stream start time, Unix seconds; null when offline or unknown.
viewer_countnumbernullableCurrent concurrent viewers; null when offline or unknown.
total_joinsnumbernullableTotal joins since this stream started; null when offline or unknown.

Caching and freshness

Responses are cached for up to 30 seconds, 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 tiktok_live tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's tiktok_live with handle "tiktok" and summarize what you find.

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

Tool arguments
{
  "handle": "tiktok"
}

Tool results skip nulls and empty lists to save tokens.