TikTok Video Metadata
curl --request POST \
--url https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"video_url": "https://www.tiktok.com/@cutshall73/video/7543017294226558221",
"channel": "apify"
}
'import requests
url = "https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata"
payload = {
"video_url": "https://www.tiktok.com/@cutshall73/video/7543017294226558221",
"channel": "apify"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
video_url: 'https://www.tiktok.com/@cutshall73/video/7543017294226558221',
channel: 'apify'
})
};
fetch('https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'video_url' => 'https://www.tiktok.com/@cutshall73/video/7543017294226558221',
'channel' => 'apify'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata"
payload := strings.NewReader("{\n \"video_url\": \"https://www.tiktok.com/@cutshall73/video/7543017294226558221\",\n \"channel\": \"apify\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"video_url\": \"https://www.tiktok.com/@cutshall73/video/7543017294226558221\",\n \"channel\": \"apify\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"video_url\": \"https://www.tiktok.com/@cutshall73/video/7543017294226558221\",\n \"channel\": \"apify\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"msg": "success",
"data": [
{
"id": "7543017294226558221",
"text": "OOTD and confirmation Reacher is alive 🧸🏼",
"textLanguage": "en",
"createTime": 1756245606,
"createTimeISO": "2025-08-26T22:00:06.000Z",
"locationCreated": "US",
"isAd": true,
"authorMeta": {
"id": "6638037497953681414",
"name": "cutshall73",
"profileUrl": "https://www.tiktok.com/@cutshall73",
"nickName": "Whitney Lee Cutshall",
"verified": false,
"avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/...",
"following": 5835,
"fans": 3908,
"heart": 3600000,
"video": 76,
"digg": 33000
},
"musicMeta": {
"musicName": "original sound",
"musicAuthor": "Whitney Lee Cutshall",
"musicOriginal": true,
"playUrl": "https://v16m.tiktokcdn-us.com/401d56406f99341037e41da12523731a/...",
"coverMediumUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/...",
"musicId": "7543017437262023437"
},
"webVideoUrl": "https://www.tiktok.com/@cutshall73/video/7543017294226558221",
"mediaUrls": [
"https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/video-cutshall73-20250826220006-7543017294226558221.mp4"
],
"videoMeta": {
"height": 1024,
"width": 576,
"duration": 36,
"coverUrl": "https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/cover-cutshall73-20250826220006-7543017294226558221.jpg",
"originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/...",
"definition": "540p",
"format": "mp4",
"subtitleLinks": [
{
"language": "eng-US",
"downloadLink": "https://v16m-webapp.tiktokcdn-us.com/2c1ed634ee265bbff4a38111e7511061/...",
"tiktokLink": "https://v16m-webapp.tiktokcdn-us.com/2c1ed634ee265bbff4a38111e7511061/...",
"source": "ASR",
"sourceUnabbreviated": "automatic speech recognition",
"version": "1:big_caption"
}
],
"downloadAddr": "https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/video-cutshall73-20250826220006-7543017294226558221.mp4"
},
"diggCount": 507,
"shareCount": 2,
"playCount": 20200,
"collectCount": 3,
"commentCount": 6,
"repostCount": 0,
"mentions": [],
"detailedMentions": [],
"hashtags": [],
"effectStickers": [],
"isSlideshow": false,
"isPinned": false,
"isSponsored": false,
"submittedVideoUrl": "https://www.tiktok.com/@cutshall73/video/7543017294226558221"
}
],
"failed": false,
"success": true
}
TikTok
TikTok Video Metadata
Get TikTok video metadata.
POST
/
tiktok
/
video
/
metadata
TikTok Video Metadata
curl --request POST \
--url https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"video_url": "https://www.tiktok.com/@cutshall73/video/7543017294226558221",
"channel": "apify"
}
'import requests
url = "https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata"
payload = {
"video_url": "https://www.tiktok.com/@cutshall73/video/7543017294226558221",
"channel": "apify"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
video_url: 'https://www.tiktok.com/@cutshall73/video/7543017294226558221',
channel: 'apify'
})
};
fetch('https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'video_url' => 'https://www.tiktok.com/@cutshall73/video/7543017294226558221',
'channel' => 'apify'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata"
payload := strings.NewReader("{\n \"video_url\": \"https://www.tiktok.com/@cutshall73/video/7543017294226558221\",\n \"channel\": \"apify\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"video_url\": \"https://www.tiktok.com/@cutshall73/video/7543017294226558221\",\n \"channel\": \"apify\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mavi-backend.memories.ai/serve/api/v2/tiktok/video/metadata")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"video_url\": \"https://www.tiktok.com/@cutshall73/video/7543017294226558221\",\n \"channel\": \"apify\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"msg": "success",
"data": [
{
"id": "7543017294226558221",
"text": "OOTD and confirmation Reacher is alive 🧸🏼",
"textLanguage": "en",
"createTime": 1756245606,
"createTimeISO": "2025-08-26T22:00:06.000Z",
"locationCreated": "US",
"isAd": true,
"authorMeta": {
"id": "6638037497953681414",
"name": "cutshall73",
"profileUrl": "https://www.tiktok.com/@cutshall73",
"nickName": "Whitney Lee Cutshall",
"verified": false,
"avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/...",
"following": 5835,
"fans": 3908,
"heart": 3600000,
"video": 76,
"digg": 33000
},
"musicMeta": {
"musicName": "original sound",
"musicAuthor": "Whitney Lee Cutshall",
"musicOriginal": true,
"playUrl": "https://v16m.tiktokcdn-us.com/401d56406f99341037e41da12523731a/...",
"coverMediumUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/...",
"musicId": "7543017437262023437"
},
"webVideoUrl": "https://www.tiktok.com/@cutshall73/video/7543017294226558221",
"mediaUrls": [
"https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/video-cutshall73-20250826220006-7543017294226558221.mp4"
],
"videoMeta": {
"height": 1024,
"width": 576,
"duration": 36,
"coverUrl": "https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/cover-cutshall73-20250826220006-7543017294226558221.jpg",
"originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/...",
"definition": "540p",
"format": "mp4",
"subtitleLinks": [
{
"language": "eng-US",
"downloadLink": "https://v16m-webapp.tiktokcdn-us.com/2c1ed634ee265bbff4a38111e7511061/...",
"tiktokLink": "https://v16m-webapp.tiktokcdn-us.com/2c1ed634ee265bbff4a38111e7511061/...",
"source": "ASR",
"sourceUnabbreviated": "automatic speech recognition",
"version": "1:big_caption"
}
],
"downloadAddr": "https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/video-cutshall73-20250826220006-7543017294226558221.mp4"
},
"diggCount": 507,
"shareCount": 2,
"playCount": 20200,
"collectCount": 3,
"commentCount": 6,
"repostCount": 0,
"mentions": [],
"detailedMentions": [],
"hashtags": [],
"effectStickers": [],
"isSlideshow": false,
"isPinned": false,
"isSponsored": false,
"submittedVideoUrl": "https://www.tiktok.com/@cutshall73/video/7543017294226558221"
}
],
"failed": false,
"success": true
}
Product: Visual Intelligence — Social Media Scraping
Use case: Fetch video metadata, transcripts, captions, and comments from YouTube, Instagram, TikTok, and Twitter/X
Host:
https://mavi-backend.memories.ai/serve/api/v2
Auth: Authorization: sk-mavi-... (no Bearer prefix)Channel routing guide: see Social Media Scraping Overview. Endpoints with a
channel request field let you choose apify, rapid, or memories.ai; endpoints without this field use managed routing.Pricing:
- rapid channel: $0.02 per video
- memories.ai channel: $0.01 per video
- apify channel: Charged at Apify’s actual cost (higher and variable pricing)
Code Example
import requests
BASE_URL = "https://mavi-backend.memories.ai/serve/api/v2"
API_KEY = "sk-mavi-..."
HEADERS = {
"Authorization": f"{API_KEY}"
}
def tiktok_video_metadata(video_url: str, channel: str):
url = f"{BASE_URL}/tiktok/video/metadata"
data = {"video_url": video_url, "channel": channel}
resp = requests.post(url, headers=HEADERS, json=data)
return resp.json()
# Usage example
result = tiktok_video_metadata("https://www.tiktok.com/@cutshall73/video/7543017294226558221", "apify")
print(result)
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| video_url | string | Yes | The TikTok video URL |
| channel | string | Yes | The channel name. Supported values: apify, rapid, memories.ai |
Response
Response shape depends on the
channel parameter — same channel-dependent split as the YouTube endpoints. Verified live:channel: "apify"—datais an array of flat objects with the rich TikTok-specific fields documented below (authorMeta,musicMeta,videoMeta,diggCount, etc.).channel: "memories.ai"—datais an object in TikTok’s native shape:{ itemInfo, shareMeta, statusCode, statusMsg }. Different nesting and field names.channel: "rapid"— same alternative shape asmemories.ai.
{
"code": 200,
"msg": "success",
"data": [
{
"id": "7543017294226558221",
"text": "OOTD and confirmation Reacher is alive 🧸🏼",
"textLanguage": "en",
"createTime": 1756245606,
"createTimeISO": "2025-08-26T22:00:06.000Z",
"locationCreated": "US",
"isAd": true,
"authorMeta": {
"id": "6638037497953681414",
"name": "cutshall73",
"profileUrl": "https://www.tiktok.com/@cutshall73",
"nickName": "Whitney Lee Cutshall",
"verified": false,
"avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/...",
"following": 5835,
"fans": 3908,
"heart": 3600000,
"video": 76,
"digg": 33000
},
"musicMeta": {
"musicName": "original sound",
"musicAuthor": "Whitney Lee Cutshall",
"musicOriginal": true,
"playUrl": "https://v16m.tiktokcdn-us.com/401d56406f99341037e41da12523731a/...",
"coverMediumUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/...",
"musicId": "7543017437262023437"
},
"webVideoUrl": "https://www.tiktok.com/@cutshall73/video/7543017294226558221",
"mediaUrls": [
"https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/video-cutshall73-20250826220006-7543017294226558221.mp4"
],
"videoMeta": {
"height": 1024,
"width": 576,
"duration": 36,
"coverUrl": "https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/cover-cutshall73-20250826220006-7543017294226558221.jpg",
"originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/...",
"definition": "540p",
"format": "mp4",
"subtitleLinks": [
{
"language": "eng-US",
"downloadLink": "https://v16m-webapp.tiktokcdn-us.com/2c1ed634ee265bbff4a38111e7511061/...",
"tiktokLink": "https://v16m-webapp.tiktokcdn-us.com/2c1ed634ee265bbff4a38111e7511061/...",
"source": "ASR",
"sourceUnabbreviated": "automatic speech recognition",
"version": "1:big_caption"
}
],
"downloadAddr": "https://api.apify.com/v2/key-value-stores/YvBVzx9NfbVwyqE45/records/video-cutshall73-20250826220006-7543017294226558221.mp4"
},
"diggCount": 507,
"shareCount": 2,
"playCount": 20200,
"collectCount": 3,
"commentCount": 6,
"repostCount": 0,
"mentions": [],
"detailedMentions": [],
"hashtags": [],
"effectStickers": [],
"isSlideshow": false,
"isPinned": false,
"isSponsored": false,
"submittedVideoUrl": "https://www.tiktok.com/@cutshall73/video/7543017294226558221"
}
],
"failed": false,
"success": true
}
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status |
| msg | string | Response message describing the operation result |
| data | array[object] | Array containing TikTok video metadata objects |
| data[].id | string | Video ID |
| data[].text | string | Video caption/text |
| data[].textLanguage | string | Language of the video text |
| data[].createTime | number | Creation timestamp |
| data[].createTimeISO | string | Creation time in ISO format |
| data[].locationCreated | string | Location where the video was created |
| data[].isAd | boolean | Whether the video is an advertisement |
| data[].authorMeta | object | Author/user metadata |
| data[].authorMeta.name | string | Author username |
| data[].authorMeta.nickName | string | Author display name |
| data[].authorMeta.verified | boolean | Whether the author is verified |
| data[].authorMeta.following | number | Number of users the author follows |
| data[].authorMeta.fans | number | Number of followers |
| data[].authorMeta.heart | number | Total likes received |
| data[].authorMeta.video | number | Number of videos posted |
| data[].musicMeta | object | Music metadata |
| data[].musicMeta.musicName | string | Music name |
| data[].musicMeta.musicAuthor | string | Music author |
| data[].musicMeta.musicOriginal | boolean | Whether it’s original audio |
| data[].musicMeta.playUrl | string | Music playback URL |
| data[].musicMeta.musicId | string | Music ID |
| data[].webVideoUrl | string | TikTok web video URL |
| data[].mediaUrls | array[string] | Array of media URLs |
| data[].videoMeta | object | Video metadata |
| data[].videoMeta.height | number | Video height in pixels |
| data[].videoMeta.width | number | Video width in pixels |
| data[].videoMeta.duration | number | Video duration in seconds |
| data[].videoMeta.coverUrl | string | Cover image URL |
| data[].videoMeta.definition | string | Video definition (e.g., “540p”) |
| data[].videoMeta.format | string | Video format (e.g., “mp4”) |
| data[].videoMeta.subtitleLinks | array[object] | Array of subtitle links with language information |
| data[].videoMeta.downloadAddr | string | Video download address |
| data[].diggCount | number | Number of likes |
| data[].shareCount | number | Number of shares |
| data[].playCount | number | Number of plays |
| data[].collectCount | number | Number of collections |
| data[].commentCount | number | Number of comments |
| data[].repostCount | number | Number of reposts |
| data[].isSlideshow | boolean | Whether the video is a slideshow |
| data[].isPinned | boolean | Whether the video is pinned |
| data[].isSponsored | boolean | Whether the video is sponsored |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
Authorizations
Body
application/json
Response
200 - application/json
Video metadata information with detailed TikTok data
Response code indicating the result status
Example:
200
Response message describing the operation result
Example:
"success"
Array containing TikTok video metadata objects
Show child attributes
Show child attributes
Indicates whether the operation was successful
Example:
true
Indicates whether the operation failed
Example:
false
⌘I
