Search

Description

Search for hashtags that are similar to a keyword. For each hashtag, get its ID, use count and view count. You can use the hashtag ID to search posts by hashtags. Up to 20 results per page, up to 300 results total.

Endpoint

GET api/v1/realtime/social/tiktok/v1/search/discover-hashtags?query={query}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search keyword

cursor

No

Query Param

String | Cursor for paginate data

chevron-rightExample Requesthashtag
curl -X GET 'https://api.webit.live/api/v1/realtime/social/tiktok/v1/search/discover-hashtags?query=nba' \
--header 'Authorization: Basic <credential string>'
chevron-rightExample Responsehashtag
{
    "keyword": "nba",
    "page_results": 20,
    "hashtag_list": [
        {
            "hashtag_name": "NBA",
            "id": "12744",
            "use_count": 12823778,
            "view_count": 322470126569,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": "The #NBA Draft is here, so whether you're heading to New York or dreaming of the perfect pick, we're here for all things #NBA."
        },
        {
            "hashtag_name": "nbabrasil",
            "id": "43649359",
            "use_count": 48366,
            "view_count": 1056529435,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbamoments",
            "id": "9942648",
            "use_count": 276404,
            "view_count": 5466100450,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": "Whether you're draining a game-winner in your living room or pulling up from deep in your backyard, grab a ball and recreate your favorite #NBAMoments."
        },
        {
            "hashtag_name": "nbarecord",
            "id": "11054832",
            "use_count": 906,
            "view_count": 38624490,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbaespañol",
            "id": "1666537832410117",
            "use_count": 7945,
            "view_count": 408924313,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbatraining",
            "id": "1648674154234886",
            "use_count": 1992,
            "view_count": 21406378,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbameme",
            "id": "1620963188063717",
            "use_count": 10683,
            "view_count": 445716313,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbaanalysis",
            "id": "1660870176184325",
            "use_count": 3592,
            "view_count": 37258440,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nba?",
            "id": "1648052559016965",
            "use_count": 532,
            "view_count": 10811332,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbavideos",
            "id": "3974342",
            "use_count": 15604,
            "view_count": 520370742,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbaentrance",
            "id": "1645441428858885",
            "use_count": 53640,
            "view_count": 702440455,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": "Whether you’re here to make a statement in your best outfit or stay cozy in your sweats, show us how you’d make your #NBAEntrance with you pregame worthy fit."
        },
        {
            "hashtag_name": "nbahumor",
            "id": "1615411213772805",
            "use_count": 1654,
            "view_count": 21321834,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbacouple",
            "id": "1656216891364358",
            "use_count": 169,
            "view_count": 45634627,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbafunny",
            "id": "17722337",
            "use_count": 15244,
            "view_count": 1034985014,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbaphilippines",
            "id": "1666047746278402",
            "use_count": 9382,
            "view_count": 461156132,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "basketballnba",
            "id": "6516729",
            "use_count": 8538,
            "view_count": 51842366,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbaclips",
            "id": "70544308",
            "use_count": 14321,
            "view_count": 287911669,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbadunkweek",
            "id": "1639783303115782",
            "use_count": 1351,
            "view_count": 69937045,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbaallstars",
            "id": "6393706",
            "use_count": 7235,
            "view_count": 75329006,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        },
        {
            "hashtag_name": "nbababies",
            "id": "86016656",
            "use_count": 1228,
            "view_count": 48882257,
            "is_commerce": false,
            "is_professional_generated_content": false,
            "desc": ""
        }
    ],
    "pagination": {
        "cursor": "eyJvZmZzZXQiOjIwLCJyZXF1ZXN0RW50aXR5SWQiOiIyMDI0MTIyOTE1NTgwNzYxQTY2NThBMzkwQ0JCNTQ0MTg4In0=",
        "hasMore": true
    }
}

Post by Keyword

Description

Search for posts by a keyword. You can choose the country to search from, as it affects the results. For each post, get its content (text, hashtags, mentions, media), statistics such as likes count, views, comments count, shares, etc., author info, music info and more. Up to 10 results per page. returns around 200 results total. To get more results, try using the search posts by hashtags which returns up to 5000 results.

Endpoint

GET api/v1/realtime/social/tiktok/v1/search/posts-by-keyword?keyword={keyword}

Parameters

Param
Required
Param Type
Description

keyword

Yes

Query Param

String | The search keyword

cursor

No

Query Param

String | Cursor for paginate data

country_code

No

Query Param

String | Country code to adjust

the results with

publish_time

No

Query Param

String | Show posts from the last (X) days

sort_type

No

Query Param

Enum | Determine the sort type: relevance | likes | data

circle-info

Supported country codes: IR, QC, SA, CN, JP, AU, IN, KR, ID, TH, AR, BR, CA, CY, EG, FR, DE, GR, IL, IT, LB, MX, PA, PT, RU, ES, SE, TR, GB, US, ML, PH, VN, MY, PK, PL, KH, NL, CO, CL, PE, JO, MA, AE, SG, TW

chevron-rightExample Requesthashtag
chevron-rightExample Responsehashtag

Post by Hashtag

Description

Search for posts by hashtag ID. To get the ID of the hashtag, use the discover hashtags endpoint. For each post, get its content (text, hashtags, mentions, media), statistics such as likes count, views, comments count, shares, etc., author info, music info and more. Up to 20 results per page, up to 5000 results total.

Endpoint

GET api/v1/realtime/social/tiktok/v1/search/posts-by-hashtag?hashtag_id={hashtag_id}

Parameters

Param
Required
Param Type
Description

hashtag_id

Yes

Query Param

String | The hashtag ID

cursor

No

Query Param

String | Cursor for paginate data

country_code

No

Query Param

String | Country code to adjust

the results with

circle-info

Supported country codes: IR, QC, SA, CN, JP, AU, IN, KR, ID, TH, AR, BR, CA, CY, EG, FR, DE, GR, IL, IT, LB, MX, PA, PT, RU, ES, SE, TR, GB, US, ML, PH, VN, MY, PK, PL, KH, NL, CO, CL, PE, JO, MA, AE, SG, TW

chevron-rightExample Requesthashtag
chevron-rightExample Responsehashtag

Discover Users

Description

Search for users by a keyword, and get a list of users who's username might be related to the keyword. For each user, get its user info - ID, nickname, posts count, follower and following count and more. Up to 10 results per page, around 300 results total.

Endpoint

GET api/v1/realtime/social/tiktok/v1/search/discover-users?keyword={keyword}

Parameters

Param
Required
Param Type
Description

keyword

Yes

Query Param

String | The keyword to use for the search

cursor

No

Query Param

String | Cursor for paginate data

chevron-rightExample Requesthashtag
chevron-rightExample Responsehashtag

Last updated