# Live TikTok posts

`GET https://api.handlesapi.com/v1/scrape/tiktok/posts`

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

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

`HANDLES_API_KEY` is a key from your dashboard; send it as `Authorization: Bearer` or `x-api-key`.

## Parameters

- `handle` (query, string, required): TikTok username, with or without @. A tiktok.com profile URL is accepted and stripped. (example: tiktok)
- `limit` (query, integer, optional): Items to return, 1 to 30. Default 20. (default: 20; example: 10)
- `cursor` (query, string, optional): Not supported on TikTok: only the latest page exists. Sending it answers 422 invalid_request with details.cursor = not_supported.

## Response

```json
{
  "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
  }
}
```

## Errors

- 401 unauthorized: No key was sent, or the key is unknown or revoked.
- 402 quota_exceeded: Your 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.
- 404 not_found: The addressed resource does not exist.
- 422 invalid_request, not_supported_live: A 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.
- 429 rate_limited, live_limit_reached: Too many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.
- 500 internal_error: Something failed on our side. The call was not charged; quote the request_id to support.
- 503 upstream_timeout, upstream_error, upstream_busy, upstream_blocked, platform_unavailable, service_unavailable: The 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 `{ error: { code, message, request_id } }`: https://handlesapi.com/docs/errors

Source: https://handlesapi.com/docs/reference/scrape-posts-tiktok
