Post stats (batch)
get_post_statsLike, comment and view counts for 1 to 20 posts in one call. Pass shortcodes or ids, comma-separated, in ids. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "get_post_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 1 to 20 posts, comma-separated (shortcodes or ids). | |
| fresh | No | true skips the cache and fetches live data (full price). Default false. |