For a post or a user URLs, extract fields you can use in other endpoints.
For a post, get post_id and author user_name.
post_id
user_name
For a user, get id, sec_id and user_name.
id
sec_id
You can view possible URL formats in the URL field example.
GET api/v1/realtime/social/tiktok/v1/url-resolver?url={{url}}/
api/v1/realtime/social/tiktok/v1/url-resolver?url={{url}}/
url
No
Query Param
Any tiktok.com URL except profile URLs.
curl -X GET 'https://api.webit.live/api/v1/realtime/social/tiktok/v1/url-resolver?url=https://www.tiktok.com/t/ZTFSCcRLd/' \ --header 'Authorization: Basic <credential string>'
{ "type": "Post", "resolved_url": "https://www.tiktok.com/@meewtwvafq4/video/7411578452249267486", "user_name": "meewtwvafq4", "post_id": "7411578452249267486" }
Last updated 11 months ago