tiktok

Post › Transcript

Returns the spoken text of a TikTok video from its captions, with an option to fall back to AI transcription when no captions exist.

Use it when you need what was said rather than the numbers; post gives you the video's caption and metrics but no transcript.

100 credits per call.

get/v1/tiktok/post/transcript

Request

  • Base URL: https://api.insightsocial.app
  • URL: https://api.insightsocial.app/v1/tiktok/post/transcript
  • Auth: API key in header x-api-key

Query parameters

urlstring required
Example:https://www.tiktok.com/@stoolpresidente/video/7499229683859426602

Full URL of the TikTok video

languagestring

Language of the transcript, as a two-letter code such as en, es, fr, de, it, ja, ko or zh.

use_ai_as_fallbackstring

Set to 'true' to fall back to AI transcription when the video has no captions. AI transcription covers videos up to 10 minutes (600 seconds): a longer video with no captions returns 400 INVALID_REQUEST with error.details.reason: video_too_long, duration_seconds and max_seconds, free and deterministic, so retrying returns the same answer.

dry_run'1'

Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.

Response

Success.

successtrue required
platformstring required
endpointstring required
schema_version'2' required
unavailablestring[] required
credits_usedinteger required
credits_remaininginteger required
request_idstring required
cachedboolean required
idempotent_replayboolean required
charge_reasonstring required
free_callboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.