group_idstringrequired
Post ID, can be obtained from the link
https://api.sandbase.ai/v1/api/toutiao/app/video-infoReturns detailed information for a specified Toutiao video using its post identifier. Useful for retrieving metadata and content status from Toutiao posts.
[
{
"data": {
"data": null,
"err_no": 10400,
"err_tips": "在这个星球中找不到",
"message": "rpc err"
}
}
]Select an example to load its inputs and result into the playground.
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.
group_id values before you call comment or article APIs.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.
| Name | Type | Required | Description |
|---|---|---|---|
group_id | string | Yes | Post ID, can be obtained from the link |
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"
}
| Field | Meaning |
|---|---|
data | Holds the video information when the lookup works. It is null when the post is not found, as in the sample call for 7431543350882206242. |
err_no | Numeric error code. The sample call returned 10400, which came with data set to null. |
err_tips | Short error text for the failed lookup. The sample call returned 在这个星球中找不到. |
message | Status message for the call. The sample call returned rpc err. |
group_id from the Toutiao video link. It is a long numeric string, for example 7431543350882206242.err_no and whether data is null before you read any video fields.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/toutiao/app/video-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"group_id": "7431543350882206242"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
group_idstringrequiredPost ID, can be obtained from the link
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"data": null,
"err_no": 10400,
"err_tips": "在这个星球中找不到",
"message": "rpc err"
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Toutiao Video InformationThis API Toutiao | $0.001 per call | JSON |
Toutiao | $0.001 per call | JSON |
Toutiao | $0.001 per call | JSON |
Toutiao | $0.001 per call | JSON |
Toutiao | $0.001 per call | JSON |
Toutiao | $0.071429 per call | JSON |
Questions
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.
$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.
Required: group_id (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
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.