English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/research/tiktok/hashtag/searchSearch TikTok hashtags by keyword, with how many people use each one and how many views it has. Returns up to 30 hashtags per page.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizresearch:readTikWM key
TikTok research runs through TikWM, a separate service that reads public TikTok data, with your own TikWM API key. Save it first in Repliz under Setting → TikWM key (how to get one); without it, the request fails with 400 invalid tikwm key. Each request uses your key's own TikWM quota. When TikWM refuses a request, for example when the key is out of quota, it fails with 403 and TikWM's message.
| Parameter | Type | Required | Description |
|---|---|---|---|
keywords | string | Yes | Hashtag keyword to search for, without #, for example cat. |
nextToken | string | No | Cursor for the next page: the nextToken of the previous response. Leave it out for the first page. hasMore is false and nextToken is empty when there are no more pages. |
curl -X GET "https://api.repliz.com/public/research/tiktok/hashtag/search?keywords=cat" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/research/tiktok/hashtag/search', {
params: {
keywords: 'cat',
},
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const response = await fetch('https://api.repliz.com/public/research/tiktok/hashtag/search?keywords=cat', {
headers: {
Authorization: `Basic ${credentials}`,
},
});
const data = await response.json();
console.log(data);{
"docs": [
{
"id": "7118329405562159131",
"name": "cat😼🤙",
"users": 183,
"views": 2039108
}
],
"hasMore": true,
"nextToken": "405cb6b7fd9b9fbb28e42c1a1992cd4b269f559dc8ab40248426c8ddc854cd20"
}{
"code": 400,
"message": "invalid tikwm key"
}{
"code": 403,
"message": "Request failed with status code 429"
}{
"code": 401,
"message": "unauthorized"
}