订阅者统计
GET https://push.btools.online/api/subscribers-statistics/{website_id}
| 参数 | 详情 | 描述 |
|---|---|---|
| start_date | 必填 | 开始日期,格式为 Y-m-d。 |
| end_date | 必填 | 结束日期,格式为 Y-m-d。 |
| type | 可选 字符串 | 允许的值:overview, continent_code, country_code, city_name, os_name, browser_name, device_type, browser_language, subscribed_on_url |
curl --request GET \
--url 'https://push.btools.online/api/subscribers-statistics/{website_id}?start_date=2025-10-21&end_date=2025-12-21' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://push.btools.online/api/subscribers-statistics/{website_id}?start_date=2025-10-21&end_date=2025-12-21' \
--header 'Authorization: Bearer {api_key}' \
{
"data": [
{
"subscribers": 20,
"formatted_date": "2025-10"
},
{
"subscribers": 35,
"formatted_date": "2025-11"
},
{
"subscribers": 50,
"formatted_date": "2025-12"
}
]
}