Skip to the content

Scraper API

BBC

bbc.articleAvailable

BBC article

The article: headline, summary, byline with each author's role, published and updated times, section, topics, the full text with its subheadings, and the images with their descriptions and credits.

Give it the address of an article on bbc.com or bbc.co.uk.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
17 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/bbc.article/runs

{
"input": {
"url": "https://www.bbc.com/news/articles/c32l507ev4v4o"
}
}

sent, and answered

a record of the run17 fields

{
url: "https://www.bbc.com/news/articles/c32l507ev4v4o"
article_id: "c32l507ev4v4o"
kind: "article"
headline: "Inside the old gas pipeline where Ukraine is fighting an underground w…
description: "Ukrainian forces are fighting Russian troops in an old Soviet tunnel i…
byline: "Jonathan Beale"
authors: [ { "name": "Jonathan Beale", "role": "Defence correspondent, near Kupy…
published_at: "2026-11-18T17:00:04.730000Z"
updated_at: "2026-11-18T18:35:41Z"
… 8 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 17 fields are set down here; the whole record is below.

bbc.com
The page BBC article reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Give an article to a language model
The full text in paragraphs, with headline, section, topics and dates, ready for a summary, a translation or a set of notes.
Follow how a story changes
Read an article again and compare updated_at and text with the copy you hold, to see what was added or corrected.
Build a news archive
Keep one record per article with its headline, byline, section, topics, images and word count, keyed by the BBC's own article id.

What you send

The address of an article on bbc.com or bbc.co.uk. It is the one input.

urlstring Required
The article's address on bbc.com or bbc.co.uk, e.g. https://www.bbc.com/news/articles/c32l507ev4v4o or https://www.bbc.com/culture/article/20241231-how-audrey-hepburn-became-a-secret-spy-during-world-war-two.

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/bbc.article/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.bbc.com/news/articles/c32l507ev4v4o"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("bbc.article", {
    "url": "https://www.bbc.com/news/articles/c32l507ev4v4o",
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("bbc.article", {
  url: "https://www.bbc.com/news/articles/c32l507ev4v4o",
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "bbc.article", map[string]any{"url": "https://www.bbc.com/news/articles/c32l507ev4v4o"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("bbc.article", Map.of("url", "https://www.bbc.com/news/articles/c32l507ev4v4o"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run bbc.article --input url=https://www.bbc.com/news/articles/c32l507ev4v4o

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The article: headline, summary, byline with each author's role, published and updated times, section, topics, the full text with its subheadings, and the images with their descriptions and credits. A record has 17 fields. One we could not read is null, never an empty string or a zero.

A record bbc.article returned
{
  "url": "https://www.bbc.com/news/articles/c32l507ev4v4o",
  "article_id": "c32l507ev4v4o",
  "kind": "article",
  "headline": "Inside the old gas pipeline where Ukraine is fighting an underground war",
  "description": "Ukrainian forces are fighting Russian troops in an old Soviet tunnel in the Kharkiv region.",
  "byline": "Jonathan Beale",
  "authors": [
    {
      "name": "Jonathan Beale",
      "role": "Defence correspondent, near Kupyansk"
    }
  ],
  "published_at": "2026-11-18T17:00:04.730000Z",
  "updated_at": "2026-11-18T18:35:41Z",
  "section": "Europe",
  "topics": [
    "Ukraine",
    "War in Ukraine",
    "Russia"
  ],
  "text": "There's a new front in the war in Ukraine, and it is underground.\n\nFor the past seven months Ukrainian forces have been living and fighting Russian troops in an old Soviet gas pipeline in the north-eastern Kharkiv region.\n\nWith a diameter … [truncated]",
  "subheadings": [],
  "word_count": 292,
  "images": [
    {
      "url": "https://ichef.bbci.co.uk/news/1024/cpsprodpb/3c3c/live/379082f0-e35c-11f1-a094-5fdc692f3e33.png",
      "alt": "Map showing the location of a gas pipeline in north-eastern Ukraine near Kupyansk. A red line marks the pipeline running from east to west to the north of the Kupyansk. The map indicates that the area in the north east of the map is … [truncated]",
      "caption": null,
      "credit": "BBC"
    }
  ],
  "image": "https://ichef.bbci.co.uk/news/1024/branded_news/b0a9/live/16401180-e337-11f1-9479-d17d3e98c29d.jpg",
  "fetched_at": "2026-11-19T18:07:39.062533Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: text: 1,678 characters, the first 238 shown; images[0].alt: 637 characters, the first 232 shown.

The fields of a record

urlstring
The article's address on bbc.com.
article_idstring
The last part of that address: the article's id, e.g. c32l507ev4v4o, or its dated name on the feature sections.
kindstring or null
What the page is, as the site names it: article or video.
headlinestring
The headline.
descriptionstring or null
The one-line summary the page carries for search engines and link previews.
bylinestring or null
The authors' names as printed, joined with commas. Null for an article without a byline.
authorslist of objects
The byline, an entry per author. Empty for an article without one.Each holds name, role.
published_atdatetime or null
When the article was first published, in UTC.
updated_atdatetime or null
When the article was last updated, in UTC.
sectionstring or null
The section the article is filed in, e.g. US & Canada, Culture.
topicslist of strings
The topics the page lists under the article.
textstring
The article's text: its paragraphs in order, a blank line between them. A subheading is a paragraph of its own; an item of a list begins with - .
subheadingslist of strings
The subheadings inside the article, in order.
word_countinteger
The number of words in text.
imageslist of objects
The images inside the article, in order.Each holds url, alt, caption, credit.
imagestring or null
The image the page names as its own for link previews.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one article.
  • News articles, features and video pages are read; BBC Sport pages and live pages are not.
  • An article is named by its address: there is no search and no list of a section's articles.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does BBC article return?

The article: headline, summary, byline with each author's role, published and updated times, section, topics, the full text with its subheadings, and the images with their descriptions and credits. A record has 17 fields, among them url, article_id, kind, headline, description and byline. A value that could not be read is null, never an empty string or a zero.

What do I send?

The address of an article on bbc.com or bbc.co.uk. The input url is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

One run reads one article. News articles, features and video pages are read; BBC Sport pages and live pages are not. An article is named by its address: there is no search and no list of a section's articles.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id bbc.article and the same input. It costs what the same API call costs.

BBC

Articles on bbc.com: the headline, the byline, the times, the section and the full text, as the page states them.

BBC on the line-up

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.