TikTok Video Screen Text Scraper API
Extracts the text shown ON a TikTok post itself: the overlay captions creators put on screen, which the regular caption and transcript never carry. What the OCR layer reads depends on the post. On a photo post (pass its /photo/ link), every slide in order, 10 slides a call: the first 10 by default, and the next 10 with slide_offset=10; a longer photo post's response carries a warning giving its full slide count, and slide_offset and next_slide_offset say where this call started and which offset reads the rest (null when every slide has been read). On a photo post, images lists each slide read with its own texts and its 0-based index, so you know which slide said what.
GET /api/v1/data/tiktok/video-screen-text · 5 credits per call · The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
Inputs
url(required): Full URL of the TikTok video or photo post (a `/video/` or `/photo/` link)slide_offset: Photo posts only: the 0-based index of the first slide to read, 10 slides a call. Default 0. `slide_offset=10` reads slides 11 to 20. Each slide in `images` keeps its index in the whole post, and `next_slide_offset` gives the value for the next call.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.source_data.duration_seconds(number): The video's length in seconds.source_data.frame(string): Null when the video exposes no cover.source_data.images(array): One entry per slide read, at most 10 a call.source_data.images.image_url(string): A link to the slide that was read.source_data.images.index(integer): The slide's position in the post, counting from 0.source_data.images.texts(array): The text read from this slide. Null when it could not be read, which `warnings` explains.source_data.media_type(string): Whether the post is a video or a photo post.source_data.native_texts(array): Text the creator typed with TikTok's own text tool. Null when the video carries none.source_data.next_slide_offset(integer): The `slide_offset` that reads the next slides, or null when none are left.source_data.ocr_texts(array): Null when the reading was skipped or failed, which `warnings` explains.source_data.slide_count(integer): The post's total slides, which can exceed the 10 read.source_data.slide_offset(integer): The index of the first slide read on this call.source_data.source(string): Which layers produced text: `native` is the text typed in the app's own editor, `ocr` is text read off the picture, `native+ocr` is both, `none` is neither.source_data.subtitles(array): Captions of the speech or lyrics, without repeats, in the order they appear. Kept out of `texts`.source_data.texts(array): Every block of text found, without repeats, native text first, in reading order. Empty when the video shows no text.source_data.timeline(array): Every text block read from the video, each once, in time order.source_data.timeline.at_seconds(number): When the text first shows, in seconds from the start of the video.source_data.timeline.kind(string): `text` is text placed on the video and `subtitle` is a caption of the speech or lyrics.source_data.timeline.text(string): The text that was read.source_data.url(string): The video's link.source_data.video_id(string): The video's numeric id.source_data.warnings(array): Notices about the read, such as slides that could not be read.source_data(object): Everything the platform sent for this call, as it came.
Good to know
- The price depends on what the call returns: from 5 credits to 10 credits.
- The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
Example call
GET /api/v1/data/tiktok/video-screen-text?url=https%3A%2F%2Fwww.tiktok.com%2F%40stoolpresidente%2Fvideo%2F7499229683859426602
Questions
How much does the TikTok Video Screen Text API cost?
Each call costs 5 to 10 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send url. 1 more input is optional: slide_offset. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How fresh is the data?
The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
Do I need a TikTok account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related TikTok endpoints
- Video Comment Replies: List TikTok comment replies. 1 credit a page
- Videos Popular: TikTok Videos popular. 26 credits a call
More TikTok scraper APIs
- TikTok Ad Library Ad Scraper API
- TikTok Ad Library Search Scraper API
- TikTok Ads Top Scraper API
- TikTok Collection Videos Scraper API
- TikTok Comment Scraper API
- TikTok Effect Videos Scraper API
- TikTok Effects Scraper API
- TikTok Hashtag Scraper API
- TikTok Hashtags Popular Scraper API
- TikTok Location Posts Scraper API
- TikTok Playlist Videos Scraper API
- TikTok Post Scraper API
- TikTok Post Transcript Scraper API
- TikTok Profile Scraper API
- TikTok Profile Full Scraper API
- TikTok Profile Playlists Scraper API
- TikTok Profile Region Scraper API
- TikTok Profile Videos Scraper API
- TikTok Search Mentions Scraper API
- TikTok Search Music Scraper API
- TikTok Search Suggestions Scraper API
- TikTok Search Top Scraper API
- TikTok Search Users Scraper API
- TikTok Similar Scraper API
- TikTok Song Scraper API
- TikTok Song Videos Scraper API
- TikTok Trending Scraper API
- TikTok User Audience Scraper API
- TikTok User Followers Scraper API
- TikTok User Following Scraper API
- TikTok User Liked Scraper API
- TikTok User Live Scraper API
- TikTok Video Comment Replies Scraper API
- TikTok Videos Popular Scraper API