BBC API endpoint
Returns the current server-rendered text updates from one canonical BBC News live URL. It does not subscribe to updates or return broadcast, player, or stream data.
/bbc/liveQuery parameter: required canonical BBC News live url, for example https://www.bbc.co.uk/news/live/c6y8mjmnpxv0t.
Returns the text updates currently present on the page. It is a point-in-time snapshot and does not include broadcast, player, or stream data.
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| title | 20 | median 112 characters |
| timestamp | 20 | “published at 23:16 BST 27 August23:16 BST 27 August” and 19 other values |
| paragraphs | 20 | median 6 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical BBC News live URL | https://www.bbc.co.uk/news/live/c6y8mjmnpxv0t | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/bbc/live?url=https%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Flive%2Fc6y8mjmnpxv0t" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"url": "https://www.bbc.co.uk/news/live/c6y8mjmnpxv0t",
"title": "Example live page",
"posts": [
{
"title": "Update",
"paragraphs": [
"Example update."
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/bbc.liveResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | bbc.LiveResponse | No | ||||
| data.last_updated | string | No | ||||
| data.posts | array | No | ||||
| data.posts[].paragraphs | array | No | ||||
| data.posts[].timestamp | string | No | ||||
| data.posts[].title | string | No | ||||
| data.title | string | No | ||||
| data.url | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/bbc/live?url=https%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Flive%2Fc6y8mjmnpxv0t" \
-H "x-api-key: $CRAWLORA_API_KEY"