Chart Availability

GET https://api.podengine.ai/api/v1/charts/availability

Get the earliest, latest, previous and next chart dates around a selected date

Request

Query parameters

Get the chart dates available around a selected date

The type of chart, one of apple, spotify

applespotify
categorystring

The chart category defaulting to 'top podcasts'. Apple podcasts supports the following: "top podcasts", "arts", "business", "comedy", "education", "fiction", "government", "health & fitness", "history", "kids & family", "leisure", "music", "news", "religion & spirituality", "science", "society & culture", "sports", "technology", "true crime", "tv & film"

countrystring

The country of the chart in ISO 3166-1 alpha-2 format, for example "us". Defaults to us.

datestringregex

The selected chart date in YYYY-MM-DD format. Defaults to the latest chart date.

Response

200 application/json
statusliteral: OKrequired
dataobjectrequired2 fields
optionsobjectrequired4 fields

Get the chart dates available around a selected date

The type of chart, one of apple, spotify

applespotify
categorystring

The chart category defaulting to 'top podcasts'. Apple podcasts supports the following: "top podcasts", "arts", "business", "comedy", "education", "fiction", "government", "health & fitness", "history", "kids & family", "leisure", "music", "news", "religion & spirituality", "science", "society & culture", "sports", "technology", "true crime", "tv & film"

countrystring

The country of the chart in ISO 3166-1 alpha-2 format, for example "us". Defaults to us.

datestringregex

The selected chart date in YYYY-MM-DD format. Defaults to the latest chart date.

availabilityobjectrequired6 fields
earliestChartDatestringrequirednullableregex

The date of the chart in YYYY-MM-DD format

latestChartDatestringrequirednullableregex

The date of the chart in YYYY-MM-DD format

selectedDatestringrequirednullableregex

The requested date, or the latest chart date when none was requested.

selectedDateAvailablebooleanrequired

Whether a chart exists for selectedDate.

previousChartDatestringrequirednullableregex

The latest chart strictly before selectedDate.

nextChartDatestringrequirednullableregex

The earliest chart strictly after selectedDate.