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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Link
Link to the programme's page on bbc.co.uk.
Example bbc.co.uk/programmes/b006qykl
Pictures and media
- Image
Link to the programme's image (640 pixels wide).
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
pid | text | Pid | 3 of 3 |
url | link | Link | 3 of 3 |
title | text | Programme title | 3 of 3 |
type | text | Type | 3 of 3 |
short_synopsis | text | Short synopsis | 3 of 3 |
long_synopsis | text | Long synopsis | 1 of 3 |
first_broadcast_date | date and time | First broadcast date | 3 of 3 |
channel | text | Channel | 3 of 3 |
categories | list | Categories | 3 of 3 |
expected_child_count | number | Expected child count | 0 of 3 |
aggregated_episode_count | number | Aggregated episode count | 3 of 3 |
image | link | Image | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Programme title | Pid | Type | Short synopsis | Long synopsis | Channel | Categories | Expected child count | Aggregated episode count | First broadcast date | Link | Image |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | In Our Time | b006qykl | brand | Misha 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 4 | Discussion & Talk, History, Podcasts | — | 1,288 | Oct 15, 1998 | bbc.co.uk/programmes/b006qykl | ichef.bbci.co.uk/images/ic/640x360/p0p7k696.jpg |
| 2 | Doctor Who (2005–2022) | b006q2x0 | brand | Adventures in Space and Time. | — | BBC One | SciFi & Fantasy | — | 186 | Mar 26, 2005 | bbc.co.uk/programmes/b006q2x0 | ichef.bbci.co.uk/images/ic/640x360/p0gpxrx6.jpg |
| 3 | Front Row | b006qsq5 | brand | Live magazine programme on the worlds of arts, literature, film, media and music | — | BBC Radio 4 | Arts, Culture & the Media, Magazines & Reviews | — | 4,930 | Dec 28, 1998 | bbc.co.uk/programmes/b006qsq5 | ichef.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.