Endpoints
1 endpoint returns effects on TikTok.
Schema
Every endpoint above returns this object as data. The standard meta comes with every response.
platformstringPlatform ID (tiktok, …).
idstringPlatform-native effect ID (string; TikTok's effect ID, the number ending its /effect/ link).
urlstring uriCanonical public page of the effect.
namestringThe effect's name as the platform shows it.
descriptionstringnullableThe creator's description of the effect; null when empty or not exposed.
creatorobjectThe account that made the effect. Fields are null where the platform names no account (TikTok's own effects show only a display name).
ShowHide 6 child fields
idstringnullablePlatform-native account ID; null when only the handle is known.
usernamestringnullableHandle without the @; null when the account has none.
display_namestringnullableDisplay name shown on the profile.
urlstring urinullableCanonical profile URL.
avatar_urlstring urinullableProfile picture URL. Platform CDN URLs can expire within hours.
is_verifiedbooleannullablePlatform verification badge; null where the platform has no badge.
is_officialbooleannullableTrue when the platform itself made the effect, false for an effect made by a community creator; null when not exposed.
icon_urlstring urinullableThe effect's icon image URL. Platform CDN URLs can expire within hours.
mediaobject[]Preview images and videos the platform shows of the effect in use; [] if none or not exposed.
ShowHide 8 child fields
typestringKind of file. New values may be added; treat unknown values as other.
One ofimagevideoaudiogif
urlstring urinullableDirect file URL; null when the platform withholds it, or when the link would only work from SocialTap's network or with a login. Often signed and expiring: see expires_at.
expires_atstring date-timenullableWhen url stops working, RFC 3339 UTC, read from the platform's signed URL; null when unknown or when it does not expire.
thumbnail_urlstring urinullablePoster or preview image URL.
widthintegernullableWidth in pixels.
heightintegernullableHeight in pixels.
duration_msintegernullableDuration in milliseconds (video and audio only).
alt_textstringnullableAccessibility text provided by the author or platform.
published_atstring date-timenullableWhen the effect was published, RFC 3339 UTC.
metricsobjectCounts at fetch time; null = hidden or not exposed, 0 = zero.
ShowHide 2 child fields
post_countintegernullablePublic posts made with the effect, as the platform counts them (TikTok's "videos" figure on the effect page).
total_view_countintegernullableViews across all posts made with the effect.
platform_specificobjectFields only this platform has, under its ID (platform_specific.<platform>); each null when unknown.
ShowHide 1 child field
tiktokobjectnullableA TikTok effect's own fields.
ShowHide 1 child field
creator_sec_uidstringnullableThe creator's secUid, TikTok's account key that survives a rename; null for TikTok's own effects.
approximate_fieldsstring[]JSON paths of values rounded by the platform or parsed from display text (e.g. metrics.post_count from "304.5M videos"). A list path (media) means the list may be incomplete. [] when all exact.
unknown_fieldsstring[]JSON paths of lists whose [] means unknown rather than none (a source that cannot see them); null already means unknown for every other field. [] when every list is known.
Item errors
Besides the request-level errors every endpoint can return, effect endpoints return:
| Code | HTTP | Retry | Meaning | What to do |
|---|---|---|---|---|
not_found | 404 | No | The item does not exist or was deleted. On GET /v1/requests/{id}/response: the response was not kept (details.reason says why). | Check the link or ID. Do not retry. |