# Douyin school search

Fetch school information search results from Douyin App. Takes keyword (optional). Served by TikHub.

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:
```json
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)

- Tool ID: `tikhub/douyin-search-fetch-school-search`
- Name in the catalog: Douyin, Fetch school search
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Douyin search](/tools/douyin/search.md)
- Price: $0.01 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.01
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.01; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "title": "Keyword",
      "description": "关键词，如学校名称或所在地区 / Keyword, such as school name or location",
      "default": "北京"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/douyin-search-fetch-school-search",
  "input": {
    "keyword": "北京"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Douyin-Search-API/fetch_school_search_api_v1_douyin_search_fetch_school_search_post)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/douyin-search-fetch-school-search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/douyin-search-fetch-school-search) · [Agent index](/llms.txt)
