TikTok
TikTok combines video URL, cover, duration, dimensions and resolution inside media. music is optional. Archive/CDN aliases are combined into one URL per asset. favorites_count means collect/save.
GET /v1/data/tiktok/{keyword_path}?start=2026-11-12&end=2026-11-18&limit=100X-API-Key: <YOUR_API_KEY>The keyword path must be active on your account for this source. Continue with cursor only on the same path. See pagination.
Field reference
Section titled “Field reference”All listed keys belong to the response structure. A nullable object contains its child fields only when the object is not null.
| Field | Type | Meaning |
|---|---|---|
source_key |
string |
Source identifier. Use this field to select the correct item schema. |
id |
string |
Native content ID. Keep it as a string and deduplicate within its source. |
description |
string |
Stored video description/caption. |
created_at |
datetime |
Post publication time in UTC ISO 8601. |
updated_at |
datetime |
UTC timestamp of the stored Echora data version, not necessarily the platform edit time. |
url |
string |
Absolute URL of the original platform post, or of the media asset within a media object. |
author |
object |
Inline profile of the account that published the content. |
author.id |
string | null |
Stored profile/location/music/reaction identifier as a string; null where the type permits it. |
author.username |
string |
Stored username, without a leading @. |
author.name |
string |
Stored display name. |
author.profile_image_url |
string |
Absolute profile image URL, or an empty string. |
author.bio |
string |
Stored TikTok profile bio/signature. |
author.verified |
boolean |
Profile verification flag from source metadata. |
public_metrics |
object |
Stored statistics, not real-time counters. Account metrics and content metrics are distinct. |
public_metrics.view_count |
integer |
Stored number of video views. |
public_metrics.like_count |
integer |
Stored number of likes. |
public_metrics.comment_count |
integer |
Stored number of comments. |
public_metrics.share_count |
integer |
Stored number of shares. |
public_metrics.favorites_count |
integer |
Stored TikTok collect/save count. |
media |
array<object> |
Media objects in source order. May be empty when no media is available. |
media[].type |
string |
Always video in the current TikTok contract. |
media[].url |
string |
Absolute URL of the original platform post, or of the media asset within a media object. |
media[].cover_image_url |
string |
Absolute cover URL, or an empty string. |
media[].duration_seconds |
integer | null |
Duration in seconds. Null on optional TikTok metadata when unavailable. |
media[].width |
integer | null |
Video width in pixels, or null when unavailable. |
media[].height |
integer | null |
Video height in pixels, or null when unavailable. |
media[].resolution |
string | null |
Resolution label such as 720p; not a numeric aspect ratio. May be null. |
music |
object | null |
Grouped TikTok music metadata, or null if no metadata is stored. |
music.id |
string | null |
Stored profile/location/music/reaction identifier as a string; null where the type permits it. |
music.title |
string |
Article or video title. |
music.author_name |
string |
Stored music creator name. |
music.duration_seconds |
integer | null |
Duration in seconds. Null on optional TikTok metadata when unavailable. |
music.play_url |
string |
Absolute stored audio URL; may be empty or no longer available. |
music.cover_image_url |
string |
Absolute cover URL, or an empty string. |
music.is_original |
boolean |
Original-sound flag from source metadata. |
music.album |
string |
Stored album name; may be empty. |
music.is_copyrighted |
boolean |
Source copyright flag. This does not grant a usage license. |
sentiment |
string |
Stored Echora sentiment analysis, such as positive, neutral or negative; not a verified platform attribute. |
gender |
string |
Stored profile analysis; may be unknown or empty. Not verified identity information. |
Complete response example
Section titled “Complete response example”This response is synthetic. URLs under example.invalid illustrate the format and do not identify downloadable assets.
{ "keyword": { "id": 1, "source": "tiktok", "keyword": "Example", "path": "example" }, "data": [ { "source_key": "tiktok", "id": "demo-tiktok", "description": "Example video.", "created_at": "2026-11-18T00:00:00Z", "updated_at": "2026-11-18T00:00:00Z", "url": "https://www.tiktok.com/@example/video/demo-tiktok", "author": { "id": null, "username": "example", "name": "Example Author", "profile_image_url": "https://example.invalid/avatar.webp", "bio": "", "verified": false }, "public_metrics": { "view_count": 100, "like_count": 10, "comment_count": 0, "share_count": 0, "favorites_count": 0 }, "media": [ { "type": "video", "url": "https://example.invalid/video.mp4", "cover_image_url": "https://example.invalid/cover.webp", "duration_seconds": 30, "width": null, "height": null, "resolution": null } ], "music": { "id": "demo-music", "title": "Example music", "author_name": "Example Artist", "duration_seconds": 60, "play_url": "https://example.invalid/music.mp3", "cover_image_url": "https://example.invalid/music.webp", "is_original": true, "album": "", "is_copyrighted": false }, "sentiment": "neutral", "gender": "" } ], "pagination": { "limit": 100, "has_more": false, "next_cursor": null }}Data semantics
Section titled “Data semantics”Counts are stored observations, not real-time counters. IDs stay strings. updated_at identifies the stored Echora version. Missing strings/arrays may be empty, while optional metadata may be null. Handle unavailable media gracefully.
No item_id, dedupe_key, entities, emotion, lang or derived impression values are added to this public source contract. See response conventions and media URLs.