# TikTok transcript demo

TikTok transcript demo. Follow concrete contracts, examples and reviewable steps using TikTok.

Canonical page: https://datanavoapi.com/en/tools/tiktok-transcript/

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

## Input and result

This tool maps the task to tiktok.videos.transcript.get. Check the input fields below, then run it in the local console; results are fixtures.

## Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

- GET: supply exactly one of id / url.

| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |

| --- | --- | --- | --- | --- | --- | --- |

| GET | id | string | Optional / conditional | Video ID, a string of digits | — | "7665840565958872333" |

| GET | url | string | Optional / conditional | Link to the video, pasted as it is: the https://www.tiktok.com/@handle/video/… web link, the www.tiktok.com/t/… or vm.tiktok.com short link the app copies, or a whole share text with one of these in it. A short link is opened once to see which video it leads to | — | — |

| GET | lang | string | Optional / conditional | Which language of captions to get, as a two-letter language code (en, es, ja, say); left out, the platform's default. A video without captions in that language is answered as one without captions | — | — |

| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |

| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |

## Try it locally

Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.

```json
{
  "capability": "tiktok.videos.transcript.get",
  "method": "GET",
  "params": {
    "id": "7665840565958872333"
  }
}
```

- [Open this capability in the console](https://datanavoapi.com/console/?mode=demo&capability=tiktok.videos.transcript.get&method=GET&params=%7B%22id%22%3A%227665840565958872333%22%7D)

## Output fields and interpretation

The transcript object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.

| Field | Type | Meaning | Source scope |

| --- | --- | --- | --- |

| post_id | string \| null | ID of the post it belongs to | TikTok |

| lang | string \| null | Language code | TikTok |

| text | string \| null | The whole text | TikTok |

| segments | array \| null | Timed segments (standard view and up) | TikTok |

| segments[].start | number \| null | Start, in seconds (standard view and up) | TikTok |

| segments[].end | number \| null | End, in seconds (standard view and up) | TikTok |

| segments[].text | string \| null | Text of the segment (standard view and up) | TikTok |

| approximate | array \| null | Which numbers of this item are approximate or lower bounds; absent when all are exact | TikTok |

| approximate[].field | string \| null | Path of the field, such as metrics.views | TikTok |

| approximate[].kind | string \| null | Approximate, or a lower bound | TikTok |

| ext | object | The platform's own fields (full view). | TikTok |

- [Complete object reference](https://datanavoapi.com/en/docs/objects/transcript/)

## Related pages

- [TikTok video transcript](https://datanavoapi.com/en/apis/tiktok/videos/transcript/get/)
- [TikTok APIs](https://datanavoapi.com/en/apis/tiktok/)
- [TikTok MCP](https://datanavoapi.com/en/mcp/tiktok/)
- [Transcript fields](https://datanavoapi.com/en/docs/objects/transcript/)
- [Read a TikTok video and its transcript](https://datanavoapi.com/en/guides/tiktok-video-transcript/)
- [Video transcript workflow workflow](https://datanavoapi.com/en/skills/transcripts/)

[中文](https://datanavoapi.com/tools/tiktok-transcript/)
