/rfi/podcasts/episodes

POST /api/rfi/podcasts/episodes

Price: 1 credit

List the episodes of one RFI radio programme, newest first, as deep into the archive as the requested count needs. Long-running programmes hold years of broadcasts. Each entry carries the episode title, its teaser, publication time, cover art, the page URL, whether RFI publishes a player for it and — this being radio — the episode's own playable MP3 with its running time in seconds and the full broadcast record behind it.

How to use it

Walk the archive of one RFI radio programme, and the only RFI listing that returns playable audio: a whole back catalogue of MP3s comes back without a second call per episode. podcast takes the programme slug ('spotlight-africa', 'international-report', 'culture-france'), or the full programme URL, in which case lang is ignored; rfi/podcasts reports how many episodes the archive holds, so read that before choosing a count. Each edition files its programmes under its own path segment and lang picks it, so pass the bare slug rather than a hand-built path. An episode usually sits under a different slug from the programme page, so follow the returned web_url and never compose one. Read is_playable rather than inferring from a null audio_url: RFI publishes no player for some older episodes and says so. Feed web_url into rfi/articles for the episode's written body, tags and images. The walk stops after 400 listing pages, so a count beyond that comes back short rather than erroring.

Parameters

Request body

Response

Errors

Response headers