Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin School Search

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/search/school-search

Returns school information search results from Douyin matching search queries. Filter schools by entering a specific school name or city query via the keyword parameter.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Search keyword, e.g., school name "Peking University" or city "Beijing"
Đầu raVí dụ
Phản hồioutputs · 491 B · 27 dòng
[
  {
    "data": {
      "extra": {
        "fatal_item_ids": [],
        "logid": "202608201746471BAEC3C62FEFB32425EB",
        "now": 1787219207000
      },
      "log_pb": {
        "impr_id": "202608201746471BAEC3C62FEFB32425EB"
      },
      "schools": [
        {
          "name": "北京大学"
        },
        {
          "name": "北京八中"
        },
        {
          "name": "北京中学"
        },
        "… 297 more items in the full response"
      ],
      "status_code": 0
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin School Search API

Returns a list of Douyin schools whose names match a search keyword. The input is a keyword string, such as a school name or a city name.

Use cases

  • Check how a school name is written on Douyin before you search for content about it.
  • List schools that match a city name such as 北京 to build a school picker.
  • Collect school names for a city to use as keywords in other Douyin searches.

Request

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

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

Parameters

NameTypeRequiredDescription
keywordstringNoSearch keyword, e.g., school name "Peking University" or city "Beijing"

Example response

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

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110315322051AE9BB2F3DCC44F33AD",
    "now": 1793691140000
  },
  "log_pb": {
    "impr_id": "2026110315322051AE9BB2F3DCC44F33AD"
  },
  "schools": [
    {
      "name": "北京中学"
    }
  ],
  "status_code": 0
}

Response fields

FieldMeaning
schools[]List of schools that match keyword.
schools[].nameSchool name as shown on Douyin, for example 北京大学.
status_codeStatus of the request. 0 in the sample response.
log_pb.impr_id / extra.logidRequest identifiers. Both hold the same value in the sample response.
extra.nowTimestamp in the response, a 13-digit number that looks like milliseconds.

Notes

  • The response lists only the school name. It has no school ID, so you cannot pass a result to another API directly.
  • keyword is the only input. The schema shows no pagination parameter.
  • To search Douyin content about a school, pass the returned name to Douyin General Search or Douyin Video Search.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin School Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/search/school-search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin School Search có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin School Search chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: keyword (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin School Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin School Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.