Douyin modelsapi generation api

douyin/search/school-search

Fetch school information search results from Douyin App. Returns a list of school names based on the input keyword, useful for user profile settings, school recommendations, etc.

Input
Idle

Example output — click Run to generate your own

API README

Fetch school search

Purpose:

  • Fetch school information search results from Douyin App.
  • Returns a list of school names based on the input keyword, useful for user profile settings, school recommendations, etc.

Notes:

  • This API focuses on school information search, and only returns school names.
  • Set cursor to 0 for the first request; for pagination, use the cursor from the last response.
  • The response structure is simple and lightweight for fast lookup.

Parameters:

  • keyword: Search keyword, e.g., school name "Peking University" or city "Beijing"

Example Request Body:

payload = {
    "keyword": "Peking University"
}

Response (common fields, actual response may contain more fields):

  • schools[]: List of schools
    • name: School name (e.g., "Peking University", "Beijing No.4 High School")
  • extra:
    • now: Server timestamp in milliseconds
    • logid: Log ID for request tracing
    • fatal_item_ids: List of fatal item IDs (usually empty)
  • log_pb:
    • impr_id: Impression ID for tracking
  • status_code: Status code (0=success)
  • status_msg: Status message (usually empty)

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models

douyin/search/challenge-search-v1Fetch hashtag/challenge search results from Douyin App. Returns related hashtag topics including name, view count, participants, and cover images.douyin/search/challenge-search-v2Fetch hashtag/challenge search results from Douyin App using V2 API. Supports searching by keyword and returns detailed challenge information, including name, cover image, view count, and participant count.douyin/search/challenge-suggestFetch hashtag/challenge suggestions from Douyin App based on the input keyword. Returns a list of related hashtags including name and view count.douyin/search/discuss-searchFetch discussion/Q&A search results from Douyin App. Supports filtering by keyword, sort type, publish time, content type, etc.douyin/search/experience-searchFetch experience (knowledge/tutorial) content search results from Douyin App. Retrieves video results related to knowledge sharing, tutorials, or tips based on the input keyword.douyin/search/general-search-v1Fetch search results from Douyin App's general search tab (not standalone video search). Supports filtering by keyword, sort type, publish time, video duration, and content type. Supports pagination through `cursor`, `search_id`, and `backtrace`.douyin/search/general-search-v2Fetch search results from Douyin App's general search tab (not standalone video search). This API may be less stable than V1, serving as a backup. Supports filtering by keyword, sort type, publish time, video duration, and content type. Supports pagination through `cursor`, `search_id`, and `backtrace`.douyin/search/image-searchFetch image-based search results from Douyin App. Mainly returns posts containing image collections.