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

Douyin Xingtu Resource List

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/resource-list

Returns marketing activity resources from Douyin Xingtu. Queries resource details using a specific resource identifier.

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

Phòng thử nghiệm

Đầu vào
Resource ID
Đầu raVí dụ
Phản hồioutputs · 133 B · 11 dòng
[
  {
    "data": {
      "base_resp": {
        "status_code": 0,
        "status_message": ""
      },
      "data": []
    }
  }
]

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 Xingtu Resource List API

Returns marketing activity resources from Douyin Xingtu for a given resource_id. The data list holds one JSON string per resource, such as a case study article with a title, link and cover image.

Use cases

  • Pull the case study articles and campaign write-ups that Xingtu lists under a resource group.
  • Collect article links from Xingtu marketing activities to review past campaigns.
  • Filter resources by industry code to find examples for a specific sector.
  • Save cover images and slogans from Xingtu resources for campaign research.

Request

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

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

Parameters

NameTypeRequiredDescription
resource_idintegerYesResource ID

Example response

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

{
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "data": [
    "{\"title\":\"2024巨量星图CNY「生意星龙」IP圆满收官,助力众多品牌龙年首战告捷!\",\"create_time\":\"1709350920\",\"nam…"
  ]
}

Response fields

FieldMeaning
base_resp.status_codeRequest status code. The value 0 in the sample means the call succeeded.
base_resp.status_messageStatus text for the request. It is an empty string in the sample.
data[]One resource per list item. Each item is a string that holds a JSON object, so parse it again after reading the response. Keys seen inside the sample strings include title, name, link, url, cover_url, image, slogan, industries, create_time and id.

Notes

  • Each entry in data is a JSON string. Decode it to read inner keys such as title, link, cover_url and industries.
  • Not every item has every inner key. Check that a key exists before you read it.
  • industries holds comma-separated numeric codes, for example 1930,1903,1933. create_time and id arrive as strings.
  • For related activity data, see Douyin Xingtu IP Activity List.

Pricing

$0.001 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.001 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.003 mỗi lần gọiJSON
Douyin$0.001 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 Xingtu Resource List?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/resource-list 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 Xingtu Resource List có giá bao nhiêu?

$0.001 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 Xingtu Resource List chấp nhận những tham số nào?

Bắt buộc: resource_id (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Xingtu Resource List 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 Xingtu Resource List 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.