Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin User Search (V2)

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/search/user-search-v2

Searches for Douyin users matching specified search keywords and returns user metrics such as follower and like counts. Supports cursor-based pagination.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 2 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
Pagination cursor (0 for first page)
Search keyword, e.g., "AI"
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 3.1 KB · 96 บรรทัด
[
  {
    "data": {
      "code": 0,
      "data": {
        "cursor": 30,
        "has_more": true,
        "user_list": [
          {
            "avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_28535000304824fdbe34e.jpeg?from=2956013662",
            "fans_cnt": 6334390,
            "fans_incr_rate": 0,
            "fans_trends": null,
            "group_id": 0,
            "group_name": "",
            "like_cnt": 36442035,
            "monitor_id": 0,
            "monitor_period": 0,
            "monitor_status": 0,
            "new_fans_cnt": 0,
            "new_item_monitor": 0,
            "new_item_target_cnt": 0,
            "new_item_target_type": 0,
            "new_like_cnt": 0,
            "nexus_id": 0,
            "nick_name": "开挂猫咪秀",
            "notice_hour": 0,
            "notice_type": 0,
            "publish_cnt": 296,
            "second_tag_name": "",
            "target_cnt": 0,
            "target_type": 0,
            "user_id": "MS4wLjABAAAAw4SgXQxm4HwMKDPzy6bGfdio7nRnCNAvPCRoNtWQeT0"
          },
          {
            "avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_okUuEEfteDAdLCA7AlFnB7UAABNAtEsaIEfc1E.jpeg?from=2956013662",
            "fans_cnt": 65450,
            "fans_incr_rate": 0,
            "fans_trends": null,
            "group_id": 0,
            "group_name": "",
            "like_cnt": 116060,
            "monitor_id": 0,
            "monitor_period": 0,
            "monitor_status": 0,
            "new_fans_cnt": 0,
            "new_item_monitor": 0,
            "new_item_target_cnt": 0,
            "new_item_target_type": 0,
            "new_like_cnt": 0,
            "nexus_id": 0,
            "nick_name": "猫咪",
            "notice_hour": 0,
            "notice_type": 0,
            "publish_cnt": 516,
            "second_tag_name": "",
            "target_cnt": 0,
            "target_type": 0,
            "user_id": "MS4wLjABAAAARzpZW9Gt_8USzt1D53CjsNyo9UI_Eg7P4YsU1r4VunP6kju8CUIMfBWogonRfc6Q"
          },
          {
            "avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023.jpeg?from=2956013662",
            "fans_cnt": 223813,
            "fans_incr_rate": 0,
            "fans_trends": null,
            "group_id": 0,
            "group_name": "",
            "like_cnt": 5184431,
            "monitor_id": 0,
            "monitor_period": 0,
            "monitor_status": 0,
            "new_fans_cnt": 0,
            "new_item_monitor": 0,
            "new_item_target_cnt": 0,
            "new_item_target_type": 0,
            "new_like_cnt": 0,
            "nexus_id": 0,
            "nick_name": "猫咪",
            "notice_hour": 0,
            "notice_type": 0,
            "publish_cnt": 726,
            "second_tag_name": "",
            "target_cnt": 0,
            "target_type": 0,
            "user_id": "MS4wLjABAAAAMjyKFiH9El8vKYC7jmq6mGwdU0qKPO0WSZcxcoLzmYi9NCZD_ymFhUJYmOp1Eca8"
          },
          "… 27 more items in the full response"
        ]
      },
      "extra": {
        "now": 1787060786000
      },
      "message": ""
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Douyin User Search (V2) API

Returns a page of Douyin users whose names match a search keyword. Each result includes the user's user_id, nick_name, avatar, follower count, like count and number of published videos. The API takes a keyword and an optional cursor.

Use cases

  • Find Douyin creators in a niche by searching a topic word such as a pet or fitness term.
  • Rank matching accounts by fans_cnt to build a shortlist of influencers.
  • Collect user_id values to look up full profiles or videos for each account.
  • Compare publish_cnt and like_cnt across accounts that share the same name.

Request

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

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

Parameters

NameTypeRequiredDescription
cursorintegerNoPagination cursor (0 for first page)
keywordstringNoSearch keyword, e.g., "AI"

Example response

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

{
  "code": 0,
  "data": {
    "cursor": 30,
    "has_more": true,
    "user_list": [
      {
        "avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_a53d8c295078…",
        "fans_cnt": 220255,
        "fans_incr_rate": 0,
        "fans_trends": null,
        "group_id": 0,
        "group_name": "",
        "like_cnt": 5689499,
        "monitor_id": 0,
        "monitor_period": 0,
        "monitor_status": 0,
        "new_fans_cnt": 0,
        "new_item_monitor": 0
      }
    ]
  },
  "extra": {
    "now": 1793691142000
  },
  "message": ""
}

Response fields

FieldMeaning
data.user_list[].user_idUnique ID of the Douyin user. It is a long string that starts with MS4w.
data.user_list[].nick_nameDisplay name of the account.
data.user_list[].avatar_urlURL of the 100x100 avatar image.
data.user_list[].fans_cntFollower count of the account.
data.user_list[].like_cntTotal likes the account has received.
data.user_list[].publish_cntNumber of videos the account has published.
data.cursorCursor value to send in the next request to get the following page.
data.has_moretrue when more results are available after this page.
data.user_list[].fans_incr_rate / new_fans_cnt / new_like_cntFollower and like growth fields. They are 0 in this response, so do not rely on them.

Notes

  • Send cursor as 0 for the first page. For the next page, pass the data.cursor value from the previous response (30 in the sample) and stop when has_more is false.
  • keyword is the search text. Many accounts can share one nick_name, so use user_id to tell them apart.
  • Fields such as monitor_id, group_id and target_cnt were 0 and fans_trends was null in the sample response.
  • For a similar user search with a different response layout, see Douyin User Search (Search).

Pricing

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

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON

คู่มือ:Best Douyin API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin User Search (V2) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/search/user-search-v2 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin User Search (V2) API ราคาเท่าไร?

$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

Douyin User Search (V2) API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: cursor (integer) และ keyword (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin User Search (V2) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin User Search (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก