Lemon8 Fetch Post Comments
Retrieve comments for a specified Lemon8 post, one page at a time. Inputs: - group_id (required string): The post's group identifier, obtainable from its post details. - item_id (required string): The post's item identifier, obtainable from post details or an item-ID lookup. - media_id (required string): The post's media identifier, obtainable from its post details. - offset (optional string; default "0"): Pagination offset. Omit it for the first request, then use the offset returned by the previous response to request the next page. All three required identifiers must refer to the same post. The result contains the comments list for the requested page, not necessarily all comments on the post. The detailed fields of individual comments are not specified.
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 current page of comments for the specified post. Subsequent pagination requests are separate billable calls. The number of comments returned does not affect the charge per call.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
offset | string | No | 翻页参数/Pagination parameter | 0 |
item_id | string | Yes | 作品的item_id/Post's item_id | — |
group_id | string | Yes | 作品的group_id/Post's group_id | — |
media_id | string | Yes | 作品的media_id/Post's media_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_lemon8_fetch_post_comments' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"item_id": "xxx",
"group_id": "xxx",
"media_id": "xxx"
}
}'No response example available yet.

