Handles API

Live TikTok posts

GEThttps://api.handlesapi.com/v1/scrape/tiktok/posts
2 creditsscrape:liveLive call

The GET /v1/scrape/tiktok/posts endpoint of Handles API (Live scrape): Live TikTok posts. One call costs 2 credits (a live read of the platform) and needs the scrape:live scope. A success returns JSON as { data, meta }.

A live read of the latest public videos of any public TikTok account, in the catalog or not. The profile block and the feed are both read from TikTok at request time, and every platform returns the same item shape, so a client written for one works on the others.

This is a sensitive scope. Keys are not granted it by default, and calls are audited.

Metered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.

  • Cost: 2 live units per call (one profile read plus one feed read), drawn against the live-per-minute bucket.
  • limit is 1 to 30, default 20.
  • A metric the platform does not publish is null, never 0. A video with no likes is 0; a platform with no like counter is null.
  • created_at is ISO 8601 UTC, or null when the source gives no date. id is always a string.
  • An account that exists but has nothing to show is a 200 with items [] and insufficient_reason no_posts. A private or protected account is a 200 with items [] and insufficient_reason protected. An account that exists but publishes no public feed (a Telegram group or chat) is a 200 with items [] and insufficient_reason no_public_feed.
  • Errors: 404 not_found when the account does not exist; 503 upstream_blocked with Retry-After when the source refuses our reader; 503 upstream_busy with Retry-After when the source has no capacity; 503 upstream_timeout or upstream_error when it is slow or unreachable.
  • TikTok serves only the latest videos, about 10 of them, even though limit goes up to 30. cursor is rejected with 422 invalid_request and details.cursor = not_supported; paging.supported is false.
  • views, likes, comments, shares and reposts are read best-effort from each video's own page. When a page cannot be read, that item's likes, comments and shares are null (not 0) and views falls back to a rounded play count.
  • extra.duration_s is present when the video page was read. quotes, forwards and reactions do not exist on TikTok and are null.

Request

curl "https://api.handlesapi.com/v1/scrape/tiktok/posts?handle=tiktok" \
  -H "Authorization: Bearer $HANDLES_API_KEY"

Set HANDLES_API_KEY to a key from your dashboard. Keys start with hk_live_.

Parameters

NameInTypeRequiredDescriptionExample
handlequerystringRequiredTikTok username, with or without @. A tiktok.com profile URL is accepted and stripped.tiktok
limitqueryintegerOptionalItems to return, 1 to 30. Default 20.default: 2010
cursorquerystringOptionalNot supported on TikTok: only the latest page exists. Sending it answers 422 invalid_request with details.cursor = not_supported.-

Response

Success is always { data, meta }.

200 OK
{
  "data": {
    "platform": "tiktok",
    "handle": "tiktok",
    "profile": {
      "exists": true,
      "identity": {
        "id": "6707119062553961477",
        "handle": null,
        "name": "TikTok",
        "avatar_url": null,
        "url": "https://www.tiktok.com/@tiktok",
        "object": "account"
      },
      "audience": {
        "count": 93400000,
        "metric": "followers",
        "precision": "exact"
      },
      "flags": {
        "verified": true,
        "private": false,
        "nsfw": null
      },
      "live": {
        "state": "live",
        "source": "live:tiktok_web",
        "read_at": "2026-11-28T14:05:31.204Z",
        "detail": null,
        "secondary": {}
      }
    },
    "items": [
      {
        "id": "7437001122334455667",
        "url": "https://www.tiktok.com/@tiktok/video/7437001122334455667",
        "created_at": "2026-11-24T16:05:12.000Z",
        "type": "video",
        "text": "Behind the scenes of the weekly trends board.",
        "thumbnail_url": "https://p16-sign.tiktokcdn.com/obj/example-cover.jpeg",
        "metrics": {
          "views": 1250300,
          "likes": 84210,
          "comments": 1940,
          "shares": 3075,
          "reposts": null,
          "quotes": null,
          "forwards": null,
          "reactions": null
        }
      },
      {
        "id": "7436000011223344556",
        "url": "https://www.tiktok.com/@tiktok/video/7436000011223344556",
        "created_at": "2026-11-21T10:30:44.000Z",
        "type": "video",
        "text": null,
        "thumbnail_url": null,
        "metrics": {
          "views": 402000,
          "likes": null,
          "comments": null,
          "shares": null,
          "reposts": null,
          "quotes": null,
          "forwards": null,
          "reactions": null
        },
        "extra": {
          "duration_s": 27
        }
      }
    ],
    "live": null,
    "paging": {
      "supported": false,
      "next_cursor": null
    },
    "insufficient_data": false,
    "insufficient_reason": null
  },
  "meta": {
    "request_id": "req_9f2c41a8b3d5",
    "generated_at": "2026-08-23T09:14:02.317Z",
    "took_ms": 42,
    "cache_age_s": 0
  }
}

Response headers

Every successful response carries these headers.

HeaderTypeDescription
X-Request-IdstringQuote this to support.
X-RateLimit-LimitintegerRequests allowed in the current one-minute window.
X-RateLimit-RemainingintegerRequests left in the current one-minute window.
X-RateLimit-ResetintegerUnix seconds at which the current window resets.
X-Credits-CostintegerCredits this call used.
X-Credits-WaivedenumPresent when the call was free although it succeeded: empty_result (no result) or insufficient_data.
X-Credits-RemainingintegerPlan credits left in the current period.
X-Credits-Period-EndstringWhen the current period ends (ISO 8601).

Errors

StatusError codeWhen
401unauthorizedNo key was sent, or the key is unknown or revoked.
402quota_exceededYour plan's credits for this period are used up and overage is off (or its cap is reached). Waiting does not help: upgrade, or turn on overage in the dashboard.
404not_foundThe addressed resource does not exist.
422invalid_requestnot_supported_liveA parameter is malformed, out of range or mutually exclusive with another (invalid_request). details names the offending fields, for example cursor: not_supported on a live posts platform that only serves its latest page. not_supported_live is a documented limit rather than a bad parameter: the platform publishes nothing this route can read live (LinkedIn posts), so do not retry.
429rate_limitedlive_limit_reachedToo many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.Also sends Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
500internal_errorSomething failed on our side. The call was not charged; quote the request_id to support.
503upstream_timeoutupstream_errorupstream_busyupstream_blockedplatform_unavailableservice_unavailableThe call could not be served right now and was not charged. upstream_timeout / upstream_error: a data source was slow or failed, retry with backoff. upstream_busy / upstream_blocked: live capacity is busy or the platform is refusing reads, wait Retry-After. platform_unavailable: that platform cannot be read right now. service_unavailable: retry shortly.

Failures use the error envelope. Branch on error.code, never on the message.