> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok Video Transcripts

> Extract transcripts from public TikTok videos.

# TikTok Video Transcripts

```json theme={"system"}
{"urls": ["https://www.tiktok.com/@creator/video/VIDEO_ID"], "language": "en"}
```

## Use with MCP

| Interface   | Value                                                |
| ----------- | ---------------------------------------------------- |
| REST        | `POST /v1/tiktok/transcripts`                        |
| Compact MCP | `socq_execute` with `endpoint: "tiktok/transcripts"` |
| Typed MCP   | `socq_tiktok_transcripts`                            |
| CLI         | `socq tiktok transcripts`                            |

`language` is optional. Videos without available speech or captions may return no result.


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/tiktok/transcripts
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-57489840196e
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/tiktok/transcripts:
    post:
      tags:
        - tiktok
      summary: TikTok Video Transcripts API
      description: Extract transcripts from public TikTok videos.
      operationId: socq_tiktok_transcripts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                language:
                  type: string
                  minLength: 1
                urls:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  minItems: 1
                  description: Public profile or content URLs.
              required:
                - urls
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
            idempotent_replay:
              type: boolean
          required:
            - task_id
            - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````