Skip to content

Search Content Video TikTok ​

GEThttps://api.repliz.com/public/research/tiktok/content/video

Search public TikTok videos by keyword, optionally only recent ones and sorted by likes or date. Returns up to 30 videos per page with their play, like, comment, share, and download counts.

Endpoint Details ​

  • Authentication: Basic Auth (Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Repliz
  • Scope (Bearer only): research:read
  • Access Tier: Gold+

TikWM 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.

Parameters ​

ParameterTypeRequiredDescription
keywordsstringYesKeyword to search videos for.
publishTimenumberNoOnly videos published within this many days: 0 (any time), 1, 7, 30, 90, or 180.
sortTypenumberNo0 relevance, 1 most liked, or 3 newest.
nextTokenstringNoCursor 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.

Example Request ​

bash
curl -X GET "https://api.repliz.com/public/research/tiktok/content/video?keywords=cat&publishTime=7&sortType=3" \
  -H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
javascript
import axios from 'axios';

const response = await axios.get('https://api.repliz.com/public/research/tiktok/content/video', {
  params: {
    keywords: 'cat',
    publishTime: 7,
    sortType: 3,
  },
  auth: {
    username: 'YOUR_ACCESS_KEY',
    password: 'YOUR_SECRET_KEY',
  },
});

console.log(response.data);
javascript
const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');

const response = await fetch(
  'https://api.repliz.com/public/research/tiktok/content/video?keywords=cat&publishTime=7&sortType=3',
  {
    headers: {
      Authorization: `Basic ${credentials}`,
    },
  },
);

const data = await response.json();
console.log(data);

Response ​

json
{
  "docs": [
    {
      "id": "7630098258748083488",
      "description": "##fy #relatable #repost #cat #trend ",
      "type": "video",
      "owner": {
        "id": "7183410594765931525",
        "name": "𝑉𝑖𝑘𝑡𝑜𝑟𝑖𝑎 ❄️🤍",
        "picture": "https://p16-common-sign.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/8b7b77545..."
      },
      "medias": [
        {
          "type": "video",
          "thumbnail": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast2a-p-0037-euttp/oUxIIeWx...",
          "url": "https://v19.tiktokcdn-eu.com/ea9c0681e18fa2e50c20688e696df71e/69edd909/vide..."
        }
      ],
      "url": "https://tiktok.com/@jusstviktoria/video/7630098258748083488",
      "createdAt": "2026-04-18T13:58:15.000Z",
      "statistic": {
        "play": 1469,
        "like": 196,
        "comment": 8,
        "share": 3,
        "download": 0
      }
    }
  ],
  "hasMore": true,
  "nextToken": "6fedf1339cf7c06ce877b5fda5ac639adf655468215395651d2733d3e8a346b2"
}
json
{
  "code": 400,
  "message": "invalid tikwm key"
}
json
{
  "code": 403,
  "message": "Request failed with status code 429"
}
json
{
  "code": 401,
  "message": "unauthorized"
}