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

Toutiao Specified Video Details

Tài liệu API
https://api.sandbase.ai/v1/api/toutiao/web/video-info

Returns detailed information for a specified Toutiao video post. Retrieve post metadata and related video attributes using a valid post 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
Post ID
Đầu raVí dụ
Phản hồioutputs · 103 B · 10 dòng
[
  {
    "data": {
      "data": {
        "delete": 1
      },
      "message": "success"
    }
  }
]

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

Toutiao Specified Video Details API

Returns details for one Toutiao video post, looked up by its post ID in aweme_id. The sample response for this ID holds only a delete flag and a status message.

Use cases

  • Check whether a known Toutiao video post is still available before you process it.
  • Validate a stored list of Toutiao post IDs and flag the ones that return a delete value.
  • Test an aweme_id before you call a richer video endpoint for the same post.

Request

curl -X POST "https://api.sandbase.ai/v1/api/toutiao/web/video-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_id": "7431543350882206242"}'

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

Parameters

NameTypeRequiredDescription
aweme_idstringYesPost ID

Example response

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

{
  "data": {
    "delete": 1
  },
  "message": "success"
}

Response fields

FieldMeaning
dataObject that holds the result for the requested post.
data.deleteDeletion flag for the post. The sample shows 1 for the requested ID, which suggests the post was removed. The response does not define the values, so check against a post you know is live.
messageStatus text for the call. The sample returns success.

Notes

  • Pass the post ID as a string in aweme_id, for example 7431543350882206242.
  • A success message does not mean the post has full details. The sample response returned only data.delete.
  • To get more video fields, try Toutiao Video Information.
  • For article posts, use Toutiao Article Details (Web).

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
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Toutiao Specified Video Details?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/toutiao/web/video-info 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 Toutiao Specified Video Details 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 Toutiao Specified Video Details chấp nhận những tham số nào?

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

API Toutiao Specified Video Details 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 Toutiao không?

Không. Toutiao Specified Video Details 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 Toutiao.