Toutiao Get Comments
Retrieve comments for a specified Toutiao post, one page at a time. Inputs (both required strings): - group_id: The post ID, which can be extracted from its URL. For example, https://www.toutiao.com/i7453372680222523931/ has the ID "7453372680222523931". - offset: The pagination offset. Supply "0" for the first page, then "20", "40", and so on for subsequent pages. This parameter must be supplied explicitly. Returns: A response containing comment-list data for the requested post and offset. The documented response schema does not specify individual comment fields. Example: {"group_id":"7453372680222523931","offset":"0"}.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Each call retrieves the comment list for the specified post at the requested offset. Fetching another page requires another call, charged separately.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
offset | string | Yes | 偏移量/Offset | — |
group_id | string | Yes | 作品ID/Post ID | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_toutiao_get_comments' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"offset": "xxx",
"group_id": "xxx"
}
}'No response example available yet.




