Get ClickBank subscription analytics
get_subscription_analyticsRetrieve ClickBank subscription analytics and trends. Choose from details, next_payment, cancel windows, by_status, or trends reports to monitor subscription performance.
Instructions
Fetch subscription details or trends. view selects the ClickBank report (details, next_payment, cancel windows, by_status, trends).
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": {
"role": "<role>",
"view": "<view>"
},
"name": "get_subscription_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. ClickBank returns 100 rows per page. Default 1. | |
| role | Yes | ||
| view | Yes | ||
| status | No | Required when view is by_status. | |
| account | No | ClickBank nickname (5-10 lowercase alphanumeric) | |
| endDate | No | Date as yyyy-MM-dd | |
| groupBy | No | ||
| orderBy | No | ||
| maxPages | No | How many consecutive pages to fetch. Default 1, max 10. | |
| productId | No | Optional product filter for trends. | |
| startDate | No | Required for next_payment, cancel_date, start_date, and trends. | |
| sortDirection | No |