BBC Programmes API

BBC programme records by programme id (pid): title, type, short and long synopsis, first broadcast date, categories, episode counts, channel and image link. Give one pid or a comma-separated list.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 13 fieldsv1.0

Data from bbc.co.uk/programmes/%7Bpid%7D.json

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Pid
BBC programme id, such as b006qykl, or several ids separated by commas.
Example: b006qykl,b006q2x0,b006qsq5

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/bbc-programmes/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/bbc-programmes/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"pid":"b006qykl,b006q2x0,b006qsq5"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

pidtextrequired
BBC programme id, such as b006qykl, or several ids separated by commas.
example: b006qykl,b006q2x0,b006qsq5

What's in each record

13 fields: 12 here, 1 technical one under Technical details.

Basics

  • Pid

    The BBC programme id (pid).

    Example b006qykl

  • Programme title

    Example In Our Time

  • Type

    Kind of programme, such as brand, series or episode.

    Example brand

  • Short synopsis

    One-sentence synopsis.

    Example Misha Glenny and guests discuss the ideas, people and events that have shaped our world.

  • Long synopsis

    Full synopsis in plain text.

    Example A world-class seminar, every week. In Our Time explores the ideas, people and discoveries that have shaped our world,…

  • Channel

    The BBC service that owns it, such as BBC Radio 4.

    Example BBC Radio 4

  • Categories

    Genre, format and subject category names.

    Example Discussion & Talk, History

  • Expected child count

    Number of episodes or clips the BBC expects, when it says.

  • Aggregated episode count

    Number of episodes below it, counting all series.

    Example 1,288

Dates

  • First broadcast date

    When it was first broadcast (UTC).

    Example Oct 15, 1998

Pictures and media

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idThe BBC programme id (pid).

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
pidtextPid3 of 3
urllinkLink3 of 3
titletextProgramme title3 of 3
typetextType3 of 3
short_synopsistextShort synopsis3 of 3
long_synopsistextLong synopsis1 of 3
first_broadcast_datedate and timeFirst broadcast date3 of 3
channeltextChannel3 of 3
categorieslistCategories3 of 3
expected_child_countnumberExpected child count0 of 3
aggregated_episode_countnumberAggregated episode count3 of 3
imagelinkImage3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordProgramme titlePidTypeShort synopsisLong synopsisChannelCategoriesExpected child countAggregated episode countFirst broadcast dateLinkImage
1In Our Timeb006qyklbrandMisha Glenny and guests discuss the ideas, people and events that have shaped our world.A world-class seminar, every week. In Our Time explores the ideas, people and discoveries that have shaped our world, spanning history, philosophy, religion, science, literature, art and culture. On Thursdays, hear brand-new episodes hosted by Misha Glenny and leading academics.…BBC Radio 4Discussion & Talk, History, Podcasts—1,288Oct 15, 1998bbc.co.uk/programmes/b006qyklichef.bbci.co.uk/images/ic/640x360/p0p7k696.jpg
2Doctor Who (2005–2022)b006q2x0brandAdventures in Space and Time.—BBC OneSciFi & Fantasy—186Mar 26, 2005bbc.co.uk/programmes/b006q2x0ichef.bbci.co.uk/images/ic/640x360/p0gpxrx6.jpg
3Front Rowb006qsq5brandLive magazine programme on the worlds of arts, literature, film, media and music—BBC Radio 4Arts, Culture & the Media, Magazines & Reviews—4,930Dec 28, 1998bbc.co.uk/programmes/b006qsq5ichef.bbci.co.uk/images/ic/640x360/p0m1wzf0.jpg

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • One request per programme id, so a run returns one record for each pid you give (up to 100); there is no search, you need the pid from the programme's BBC web address.
  • BBC programme data is served publicly but the BBC's site terms are non-commercial: check them before you resell or republish it.
  • Ids the BBC does not know are skipped. Counts, first broadcast date and channel are empty for some programmes, and expected_child_count is often empty.
  • Requests are spaced about one second apart, so 100 ids take a couple of minutes.
  • Synopses are kept to 2,000 characters.

Version history

A run uses the live version unless the request names another one with version.