Post Search

Searches TikTok posts by keyword with offset pagination plus sorting, publish-time, and region controls. Use it to support regional content discovery, topic research, or monitoring keyword-related videos.

Endpoint ID
GET /v1/tiktok/search_post_v1
Endpoint ID
tiktok.search_post_v1
Price
$0.02 per successful call · failed calls are free

Parameters

Name Required Type Description Example Allowed values
keyword Required string Search keywords. 咖啡 —
offset Optional integer Pagination offset, starting from 0 and stepping by 20. 0 —
sort_type Optional string Sorting criteria for search results. Available Values: - `RELEVANCE`: Relevance (Default) - `MOST_LIKED`: Most Liked RELEVANCE RELEVANCEMOST_LIKED
publish_time Optional string Filter posts by publishing time. Available Values: - `ALL`: All Time - `ONE_DAY`: Last 24 Hours - `ONE_WEEK`: Last 7 Days - `ONE_MONTH`: Last 30 Days - `THREE_MONTHS`: Last 90 Days - `HALF_YEAR`: Last 180 Days ALL ALLONE_DAYONE_WEEKONE_MONTHTHREE_MONTHSHALF_YEAR
region Optional string ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB'). US —

Code samples

curl -G "https://api.mofa-ai.com/v1/tiktok/search_post_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'keyword=咖啡' \
  --data-urlencode 'offset=0' \
  --data-urlencode 'sort_type=RELEVANCE' \
  --data-urlencode 'publish_time=ALL' \
  --data-urlencode 'region=US'

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

Example response

Captured 2026-11-07, took 6077 ms · Request parameters {"offset": "0", "region": "US", "keyword": "咖啡", "sort_type": "RELEVANCE", "publish_time": "ALL"}

JSON
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "tiktok.search_post_v1",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": {
      "extra": {
        "now": 1794095992000,
        "logid": "2026110723595063002A444509E592EC34",
        "api_debug_info": null,
        "fatal_item_ids": [],
        "search_request_id": "",
        "server_stream_time": 1533
      },
      "cursor": 20,
      "log_pb": {
        "impr_id": "2026110723595063002A444509E592EC34"
      },
      "version": "v2",
      "has_more": 1,
      "backtrace": "",
      "aweme_list": [],
      "components": null,
      "status_code": 0,
      "feedback_type": "video",
      "search_item_list": [
        {
          "aweme_info": {
            "…": "+142",
            "author": {
              "…": "+77",
              "cha_list": null,
              "avatar_uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
              "aweme_count": 0,
              "bold_fields": null,
              "ad_cover_url": null,
              "avatar_thumb": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
                "height": 720,
                "url_list": [
                  "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
                  "… +2"
                ],
                "data_size": 0,
                "url_prefix": null
              },
              "avatar_larger": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
                "height": 720,
                "url_list": [
                  "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
                  "… +2"
                ],
                "data_size": 0,
                "url_prefix": null
              },
              "avatar_medium": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
                "height": 720,
                "url_list": [
                  "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
                  "… +2"
                ],
                "data_size": 0,
                "url_prefix": null
              },
              "account_labels": null,
              "avatar_168x168": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
                "height": 720,
                "url_list": [
                  "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
                  "… +2"
                ],
                "data_size": 0,
                "url_prefix": null
              },
              "avatar_300x300": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
                "height": 720,
                "url_list": [
                  "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
                  "… +2"
                ],
                "data_size": 0,
                "url_prefix": null
              },
              "comment_setting": 0,
              "authority_status": 0,
              "can_set_geofencing": null,
              "commerce_user_level": 0,
              "accept_private_policy": false,
              "advanced_feature_info": null,
              "comment_filter_status": 0,
              "advance_feature_item_order": null,
              "can_message_follow_status_list": [
                0,
                "… +3"
              ]
            },
            "anchors": null,
            "banners": [
              {
                "key": {
                  "component_key": "bottom_banner_search_rs"
                }
              }
            ],
            "aweme_id": "7696389829134781704",
            "aigc_info": {
              "created_by_ai": false,
              "aigc_label_type": 0
            },
            "aweme_acl": {
              "platform_list": null,
              "share_general": {
                "code": 0,
                "mute": false,
                "show_type": 2,
                "transcode": 3
              },
              "download_general": {
                "code": 0,
                "mute": false,
                "show_type": 2,
                "transcode": 3
              },
              "press_action_list": null,
              "share_action_list": null,
              "share_list_status": 0,
              "download_mask_panel": {
                "code": 0,
                "mute": false,
                "show_type": 2,
                "transcode": 3
              }
            },
            "c2pa_info": {
              "aigc_src": "",
              "last_src": "",
              "dedup_err": "",
              "dedup_src": "",
              "first_src": "",
              "is_capcut": false,
              "is_tiktok": false,
              "total_err": 0,
              "total_img": 0,
              "total_src": 0,
              "total_vid": 0,
              "upload_dur": 0,
              "total_audio": 0,
              "last_aigc_src": "",
              "first_aigc_src": "",
              "c2pa_extra_data": "{\"aigc_percentage_type\":0}"
            },
            "allow_gift": true,
            "aweme_type": 0,
            "batch_index": 1,
            "ai_remix_info": {
              "has_entrance": false
            },
            "anchors_extras": "",
            "author_user_id": 6700734535816037382,
            "bodydance_score": 0,
            "bottom_products": null,
            "animated_image_info": {
              "type": 0,
              "effect": 0
            },
            "added_sound_music_info": {
              "…": "+48",
              "album": "",
              "author": "Insert Richie",
              "artists": [],
              "duration": 61,
              "cover_large": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
                "height": 720,
                "url_list": [
                  "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
                  "… +2"
                ],
                "data_size": 0,
                "url_prefix": null
              },
              "cover_thumb": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
                "height": 720,
                "url_list": [
                  "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
                  "… +2"
                ],
                "data_size": 0,
                "url_prefix": null
              },
              "create_time": 1791955413,
              "avatar_thumb": {
                "uri": "tos-alisg-avt-0068/bc313cd31dc16e42e90a910f57652770",
                "width": 720,
  …

Truncated for display; the full response is longer.