Toutiao Article Details
Retrieves details for a Toutiao article identified by its article ID. Use it to look up a known article for content review, archiving, or related media analysis.
/v1/toutiao/get_article_detail_v1
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
toutiao.get_article_detail_v1
Parameters
-
idstring RequiredThe unique identifier of the Toutiao article.
Code samples
curl "https://api.mofa-ai.com/v1/toutiao/get_article_detail_v1" \
-H "Authorization: Bearer $MOFA_API_KEY"
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/toutiao/get_article_detail_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/toutiao/get_article_detail_v1");
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
There is no example response for this endpoint yet.
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
More Toutiao endpoints
-
Video Details
$0.02Retrieves details for a Toutiao video identified by its video ID. Use it to look up a known video for content review, archiving, or related media analysis.
/v1/toutiao/get_video_detail_v1
-
User Profile
$0.02Retrieves a Toutiao user profile identified by user ID. Use it to look up a known account for creator research, profile review, or related article analysis.
/v1/toutiao/get_user_detail_v1
-
User ID
$0.02Resolves the user ID associated with a Toutiao profile URL. Use it to convert a known profile link into the identifier required for subsequent user-profile l…
/v1/toutiao/get_user_id_v1
-
Web Keyword Search
$0.10Searches Toutiao web articles by keyword. Use it to discover relevant articles for topic research, media monitoring, or source collection.
/v1/toutiao/search_v2