Search TikTok across all content by keyword

Get comprehensive search results of specified keywords

by TikHubReady to run$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“Search TikTok for coffee.”

You get

Description
It’s COFFEE TIME ☕️🐓🎶🎉
Nickname
Chicken Happy Hour
Comment count
90
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "tikhub.tiktok-app-v3-fetch-general-search-result",
  "input": {
    "count": 5,
    "offset": 0,
    "keyword": "coffee",
    "sort_type": 0,
    "publish_time": 0
  }
}

Response

{
  "data": {
    "data": [
      {
        "aweme_info": {
          "desc": "It’s COFFEE TIME ☕️🐓🎶🎉 ",
          "author": {
            "nickname": "Chicken Happy Hour",
            "unique_id": "chickenhappyhour"
          },
          "aweme_id": "7647571066872712479",
          "statistics": {
            "comment_count": 90
          }
        }
      }
    ]
  }
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Search TikTok across all content by keyword (tool ID: tikhub.tiktok-app-v3-fetch-general-search-result). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

Other tools for this job

Compare all 23 →

Questions

Is Search TikTok across all content by keyword (TikHub) free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from TikHub?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to TikHub, so you don't sign up with TikHub or manage an API key.

Details

About this tool

Search public TikTok content by keyword with explicit offset, count, sort and publish-time filters. Retrieve one bounded result page; each follow-up page is a separate request. Completed requests cost $0.0025, including valid empty pages; failures are uncharged. Results retain content and available pagination while excluding empty presentation markers. The worked example shows selected video identity, caption, creator and engagement fields from a recorded response. Music and other optional metadata may also be returned.

All inputs and outputs

Input

countinteger · optional

Maximum items requested per page (1–20); Scrollport defaults to 10. Results may contain fewer items.

minimum: 1 · maximum: 20

keywordstring · required

Words to search for on TikTok.

minLength: 1 · maxLength: 500

offsetinteger · optional

Start with 0; use the next offset returned by the response for another page.

minimum: 0 · maximum: 10000

publish_timeinteger · optional

Publish window: 0 = any time; 1, 7, 30, 90 or 180 = the previous number of days. This is not a Unix timestamp.

minimum: 0 · maximum: 4102444800

sort_typeinteger · optional

Documented ordering: 0 = relevance, 1 = most liked. Other sort values are not verified.

minimum: 0 · maximum: 1000000

Output

dataobject

Main result payload.

Errors and limits
  • invalid_input: The lookup fields or limits are invalid.example: {"keyword":"coffee","offset":0,"count":5,"sort_type":0,"publish_time":0}
  • upstream_error: The provider could not complete a verified result; the wallet was not charged.Check the documented fields and contact Scrollport support with the run ID if needed.