Toutiao Video Information

API docs
https://api.sandbase.ai/v1/api/toutiao/app/video-info

Returns detailed information for a specified Toutiao video using its post identifier. Useful for retrieving metadata and content status from Toutiao posts.

Price
$0.001USD / call
Method
POST
Response
JSON
Parameters
1 required · 0 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
Post ID, can be obtained from the link
OutputExample
Responseoutputs · 132 B · 10 lines
[
  {
    "data": {
      "data": null,
      "err_no": 10400,
      "err_tips": "在这个星球中找不到",
      "message": "rpc err"
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

API README

Toutiao Video Information API

Returns information for one Toutiao video post. You send the post ID as group_id. The response holds a data object for the video, plus an error code and message.

Use cases

  • Check whether a Toutiao video link still resolves to a post.
  • Pull video metadata for a post ID taken from a Toutiao link.
  • Validate a list of group_id values before you call comment or article APIs.

Request

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

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

Parameters

NameTypeRequiredDescription
group_idstringYesPost ID, can be obtained from the link

Example response

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

{
  "data": null,
  "err_no": 10400,
  "err_tips": "在这个星球中找不到",
  "message": "rpc err"
}

Response fields

FieldMeaning
dataHolds the video information when the lookup works. It is null when the post is not found, as in the sample call for 7431543350882206242.
err_noNumeric error code. The sample call returned 10400, which came with data set to null.
err_tipsShort error text for the failed lookup. The sample call returned 在这个星球中找不到.
messageStatus message for the call. The sample call returned rpc err.

Notes

  • Take group_id from the Toutiao video link. It is a long numeric string, for example 7431543350882206242.
  • Check err_no and whether data is null before you read any video fields.
  • To read comments on the same post, call Toutiao Post Comments.
  • If this lookup fails, try Toutiao Specified Video Details with the same post.

Pricing

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

Explore more

Related APIs

All APIs
APIPriceResponse
Toutiao$0.001 per callJSON
Toutiao$0.001 per callJSON
Toutiao$0.001 per callJSON
Toutiao$0.001 per callJSON
Toutiao$0.001 per callJSON
Toutiao$0.071429 per callJSON

Questions

FAQ

How do I use the Toutiao Video Information API?

Send a POST request to https://api.sandbase.ai/v1/api/toutiao/app/video-info with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Toutiao Video Information API cost?

$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Toutiao Video Information API accept?

Required: group_id (string). The Parameters table and the Playground on this page list every field.

What does the Toutiao Video Information API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Toutiao developer account or API key?

No. Toutiao Video Information runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Toutiao API access separately.