# TikTok Transcript

Get TikTok Transcript data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as url, and retrieve structured data including selected source caption language, combined caption text, start, and end for caption research, and content navigation, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/tiktok/tiktok-transcript/9813acb8-7f2b-4bfb-bbc4-53f5f7f95171/
API ID: 9813acb8-7f2b-4bfb-bbc4-53f5f7f95171
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/transcript
Page update time: 2026-12-03T02:49:00.231Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:59.511Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## TikTok Transcript API

POST video\_id or url with optional language. The response separates the selected caption language, combined text and segments with start, end and text; it retrieves available source captions rather than creating a transcript from arbitrary audio.

## What You Can Build

- **Caption research**: Organize available caption text by source post and language.
- **Content navigation**: Keep caption segments aligned with their returned timing values.

## Returned Data

| Field | Meaning |
| --- | --- |
| `language` | Selected source caption language. |
| `text` | Combined caption text. |
| `segments[].start` | Segment start value in the source timing representation. |
| `segments[].end` | Segment end value in the source timing representation. |
| `segments[].text` | Caption text for the segment. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TikTok Transcript request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "url": "https://www.tiktok.com/@davidteathercodes/video/7106686413101468970"
        }
      ],
      "properties": {
        "language": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Caption language code, for example eng-US. Defaults to the first available track.",
          "title": "Language",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "tiktok-transcript-language",
            "label": "Language",
            "summary": "Caption language code, for example eng-US. Defaults to the first available track."
          }
        },
        "url": {
          "anyOf": [
            {
              "maxLength": 2048,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "TikTok video, photo/slideshow or vm/vt short-link URL.",
          "title": "Url",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "tiktok-transcript-url",
            "label": "Url",
            "summary": "TikTok video, photo/slideshow or vm/vt short-link URL."
          }
        },
        "video_id": {
          "anyOf": [
            {
              "pattern": "^[0-9]{1,25}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "TikTok post ID; supply this or url.",
          "title": "Video Id",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "tiktok-transcript-video_id",
            "label": "Video Id",
            "summary": "TikTok post ID; supply this or url."
          }
        }
      },
      "title": "Request",
      "type": "object",
      "description": "Get public TikTok captions with timed segments."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "language": {
      "type": "string"
    },
    "segments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "end": {
            "type": "number"
          },
          "start": {
            "type": "number"
          },
          "text": {
            "type": "string"
          }
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/transcript' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "url": "https://www.tiktok.com/@davidteathercodes/video/7106686413101468970"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "language": "eng-US",
  "segments": [
    {
      "end": 0.399,
      "start": 0.04,
      "text": "did you know"
    },
    {
      "end": 2.479,
      "start": 0.4,
      "text": "that it's really easy to make QR codes in Python?"
    },
    {
      "end": 3.599,
      "start": 2.48,
      "text": "enlighten me."
    },
    {
      "end": 4.359,
      "start": 3.6,
      "text": "just run pip,"
    },
    {
      "end": 5.319,
      "start": 4.36,
      "text": "install QR code,"
    },
    {
      "end": 7.559,
      "start": 5.32,
      "text": "then in a text editor, import QR code."
    },
    {
      "end": 8.999,
      "start": 7.56,
      "text": "next you can pass the data you want"
    },
    {
      "end": 10.959,
      "start": 9.0,
      "text": "stored in the QR code to the make function."
    },
    {
      "end": 13.5,
      "start": 10.96,
      "text": "finally, save your QR code to a file."
    },
    {
      "end": 15.14,
      "start": 13.72,
      "text": "that's how it's done."
    }
  ],
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token",
  "text": "did you know\nthat it's really easy to make QR codes in Python?\nenlighten me.\njust run pip,\ninstall QR code,\nthen in a text editor, import QR code.\nnext you can pass the data you want\nstored in the QR code to the make function.\nfinally, save your QR code to a file.\nthat's how it's done."
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I send a post ID or a short link?
Supply video_id as a 1–25 digit string or a supported video, photo/slideshow or vm/vt short-link URL. The request needs one of these post references.

### How do I select a caption language?
language is a caption-language code such as eng-US. If omitted, the implementation uses the first available track; a preference does not create a missing caption track.

### Is this an audio transcription API?
No. It retrieves available public source captions. It does not accept an arbitrary audio file or promise speech recognition when the source has no caption track.

### How should I use timed segments?
Keep each segment’s start, end and text together with language. Preserve the returned timing representation when joining segments or converting units rather than inferring a different scale from a field name.

### Where should I set the request timeout?
Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

### Can I add arbitrary parameters to the JSON body?
Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

## Available implementations
- litescrape: https://openany.si/tiktok/tiktok-transcript/9813acb8-7f2b-4bfb-bbc4-53f5f7f95171/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
