Track Individual Videos

Resolve a TikTok short URL

Expands a TikTok short/share link (vm.tiktok.com/…) into its canonical video URL, so the numeric video id can be extracted before adding the video to tracking. Free — no credits, nothing is tracked.

post/videos/tracked/resolve-tiktok-short-url

Request

  • Base URL: https://viral.app/api/v1
  • URL: https://viral.app/api/v1/videos/tracked/resolve-tiktok-short-url
  • Auth: API key in header x-api-key

Request body

urlstring required

Response

OK

originalUrlstring

URL

resolvedUrlstring

URL

shortUrlDetectedboolean required
resolvedboolean required
hasChangedboolean required
errorMessagestring

Example response

{
  "originalUrl": "https://www.myproject.com",
  "resolvedUrl": "https://www.myproject.com"
}

Changes

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