Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Douyin Image Post Search

API 문서
https://api.sandbase.ai/v1/api/douyin/search-image

Search Douyin (TikTok China) image posts by keyword with search-session pagination. Omit searchId for the first page, then use the search ID from the previous response to continue.

가격
$0.028571USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 1개

Playground

입력
The search keyword.
Search ID returned by the previous response. Leave it empty for the first page.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Douyin Image Post Search API

Returns a page of Douyin image post search results for a keyword. Each result includes the post's author info and a rank within the search session. The only required input is keyword.

Use cases

  • Collect image posts about a topic such as 美食 to study what content ranks for it.
  • Find creators who publish image posts for a keyword by reading each result's author fields.
  • Page through a full search session by passing the returned search ID back as searchId.
  • Build a list of post IDs to look up in more detail with a video or post detail API.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search-image" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "美食"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesThe search keyword.
searchIdstringNoSearch ID returned by the previous response. Leave it empty for the first page.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "business_config": {
    "ad_info": null,
    "card_count": 7,
    "extra_fresh_struct": null,
    "feedback": null,
    "feelgood_msg": {},
    "filter_bar": null,
    "general_search_config": {
      "double_column_layout_type": 3
    },
    "has_more": 1,
    "is_filter_search": 0,
    "keyword": "美食",
    "next_page": {
      "cursor": 8,
      "keyword": "美食",
      "origin_query": "美食",
      "poi_search_info": "",
      "search_id": "202611031532144CDF780CB96549D598A8",
      "search_request_id": "202611031532144CDF780CB96549D598A8"
    },
    "poi_search_info": ""
  },
  "business_data": [
    {
      "card_id": "douyin.doctype_aweme_image",
      "data": {
        "aweme_info": {
          "activity_video_type": -1,
          "ai_follow_images": null,
          "ai_search_struct": {
            "show_ai_entrance": true
          },
          "anchors": null,
          "authentication_token": "MS4wLjAA…",
          "author": {
            "accept_private_policy": false,
            "account_cert_info": "{}",
            "account_region": "",
            "ad_cover_url": null,
            "allow_story_normal_like": false,
            "apple_account": 0,
            "authority_status": 0,
            "avatar_168x168": {
              "height": 720,
              "uri": "168x168/aweme-avatar/tos-cn-i-0813c000-ce_owdMnECAvA9xYL8XAalAXPnpiA53iir6IQB1x",
              "url_list": [
                "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_owdMnECAvA9xYL8XA…"
              ],
              "width": 720
            }
          },
          "author_mask_tag": 0,
          "author_user_id": 73592891627
        },
        "aweme_list": null,
        "card_id": "douyin.doctype_aweme_image",
        "card_style_type": 1,
        "card_type": 1,
        "debug_data": {
          "filter_debug_info_list": null
        },
        "debug_diff_info": {},
        "doc_type": 303
      },
      "data_id": "0_7701644345287494948",
      "log": {
        "dcm": "search.natural.aweme_image.7701644345287494948.202611031532144CDF780CB96549D598A…",
        "rank": "1",
        "search_id": "202611031532144CDF780CB96549D598A8"
      },
      "type": 12
    }
  ],
  "extra": {
    "fatal_item_ids": [],
    "logid": "202611031532144CDF780CB96549D598A8",
    "now": 1793691135000,
    "scenes": null,
    "search_request_id": "20261102EC5DDC68B137D03B"
  },
  "global_config": {},
  "log": {
    "impr_id": "202611031532144CDF780CB96549D598A8",
    "search_id": "202611031532144CDF780CB96549D598A8",
    "search_keyword": "美食"
  },
  "log_pb": {
    "impr_id": "202611031532144CDF780CB96549D598A8"
  },
  "status_code": 0,
  "time_cost": {
    "stream_inner": 1055
  }
}

Response fields

FieldMeaning
business_data[]One search result card. Each card is an image post (card_id is douyin.doctype_aweme_image).
business_data[].data_idResult ID in the form <position>_<post ID>, for example 0_7701644345287494948. The number after the underscore matches the post ID in log.dcm.
business_data[].log.rankPosition of the result in the search, starting at 1.
business_data[].log.dcmTracking string for the result. It contains the post ID and the search ID.
business_data[].data.aweme_info.author_user_idNumeric ID of the user who published the post.
business_data[].data.aweme_info.author.avatar_168x168.url_listAvatar image URLs of the author at 168x168, in webp and jpeg formats.
business_config.has_moreShows whether more results exist. 1 in this response.
business_config.next_page.search_id / business_config.next_page.search_request_idSearch session ID to send as searchId to get the next page.
business_config.next_page.cursorCursor position for the next page. It is 8 in this response.
status_codeStatus of the call. 0 in this response.

Notes

  • Leave searchId out on the first call. For later pages, send the value from business_config.next_page.search_id along with the same keyword.
  • Keep requesting pages while business_config.has_more is 1.
  • Fields such as aweme_info.author hold many more profile values than the ones listed here. Many of them are null or empty in image post results.
  • To get details for a single post, use the post ID from data_id with Douyin Single Video Details or Douyin Video Detail.

Pricing

$0.028571 per successful call. Failed calls are not charged.

더 살펴보기

관련 API

모든 API
API가격응답
Douyin$0.028571 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.001 / 호출JSON

가이드:Best Douyin API in 2026: Pricing Compared

질문

FAQ

Douyin Image Post Search API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/search-image에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Douyin Image Post Search API 비용은 얼마인가요?

호출당 $0.028571, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Douyin Image Post Search API는 어떤 매개변수를 받나요?

필수: keyword (string). 선택: searchId (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Douyin Image Post Search API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Douyin 개발자 계정이나 API 키가 필요한가요?

아니요. Douyin Image Post Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.