curl "https://api.particle.pro/v1/podcasts/stats"{
"episodes": {
"added": [
{
"count": 123,
"window": "24h"
}
],
"totals": [
{
"count": 123,
"transcript_status": "transcribed"
}
],
"totals_counted_at": "2023-11-07T05:31:56Z"
},
"podcasts": {
"totals": [
{
"classification": "transcribed",
"count": 123
}
]
}
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Podcasts
Get podcast catalog statistics
Returns live, catalog-wide statistics: how many podcasts the catalog covers, broken out by classification, how many episodes were added within recent trailing windows, and how many episodes are transcribed and how many more in podcasts’ back catalogues are requestable. The podcast and added counts update as new podcasts and episodes are ingested and are cached for up to a minute, so they can drive live counters; the episode totals refresh hourly. This endpoint is free and requires no API key.
GET
/
v1
/
podcasts
/
stats
curl "https://api.particle.pro/v1/podcasts/stats"{
"episodes": {
"added": [
{
"count": 123,
"window": "24h"
}
],
"totals": [
{
"count": 123,
"transcript_status": "transcribed"
}
],
"totals_counted_at": "2023-11-07T05:31:56Z"
},
"podcasts": {
"totals": [
{
"classification": "transcribed",
"count": 123
}
]
}
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Prefer the terminal? This endpoint is also a command in the Particle CLI: pick Particle CLI in the request example’s language menu. Install the Particle CLI.
Was this page helpful?