URL Resolver

URL Resolver

Description

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.

  • For a user, get id, sec_id and user_name.

You can view possible URL formats in the URL field example.

Endpoint

GET api/v1/realtime/social/tiktok/v1/url-resolver?url={{url}}/

Parameters

Param
Required
Param Type
Description

url

No

Query Param

Any tiktok.com URL except profile URLs.

Example Request
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>'
Example Response
{
    "type": "Post",
    "resolved_url": "https://www.tiktok.com/@meewtwvafq4/video/7411578452249267486",
    "user_name": "meewtwvafq4",
    "post_id": "7411578452249267486"
}

Last updated