BBC Sport News
BBC Sport News is used to fetch content list data from BBC Sport pages.
- Fetch BBC Sport list content by sport category
- Support region-based requests
- Return articles, videos, live items, and other content cards
- Suitable for fetching the homepage feed or a specific sport topic page
Use XCrawl to Fetch BBC Sport News
Usage
curl -s -X POST 'https://run.xcrawl.com/v1/data' \
-H 'Authorization: Bearer $XCRAWL_API_KEY'\
-H 'Content-Type: application/json' \
-d '{
"engine": "bbc_sport_news",
"location": "US",
"sport_type": "football"
}'Request parameter notes:
enginemust bebbc_sport_newslocationspecifies the target regionsport_typespecifies the sport category, such asfootball,cricket, orformula1
Response Example
{
"result": [
{
"url": "https://www.bbc.com/sport/",
"topic_title": "BBC Sport",
"description": "Sports news and live sports coverage including scores, results, video, audio and analysis...",
"item_count": 72,
"video_count": 20,
"live_count": 3,
"results": [
{
"position": 1,
"headline": "Premier League news conferences: Slot 'feels support'; Howe '100% committed'",
"summary": "All the latest from Premier League managers...",
"url": "https://www.bbc.com/sport/football/live/cy41pmdnwwlt",
"content_type": "live",
"attribution": "Football",
"image_url": "https://ichef.bbci.co.uk/ace/standard/480/..."
}
]
}
]
}Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
location | string | Specifies the target region. |
sport_type | string | Specifies the sport category. |
Parameter Notes
locationdefaults toUSlocationsupports multiple region values such asUS,HK,CA,GB, andJPsport_typesupportsfootball,cricket,formula1,rugby-union,rugby-league,tennis,golf,boxing, andathletics
Response Fields
| Field | Type | Description |
|---|---|---|
url | string | Fetched BBC Sport page URL. |
base_url | string | Base site URL used to normalize relative links. |
page_title | string | Page title. |
canonical_url | string | Canonical URL declared by the page. |
route | string | Internal page route value. |
page_path | string | Normalized page path. |
sport_key | string | Current sport section key. |
topic_title | string | Page title or topic title. |
description | string | Page-level description text. |
language | string | Page language code. |
item_count | number | Total number of returned items. |
video_count | number | Number of video items. |
live_count | number | Number of live items. |
result_count | number | Number of parsed result objects. |
meta | object | Page-level metadata. |
results | array | Content card list. |
Result Item Fields
Each item in results[] typically includes:
| Field | Type | Description |
|---|---|---|
position | number | One-based result position. |
source_kind | string | Source container type. |
group_key | string | Content container key. |
group_title | string | Content container title. |
headline | string | Content headline. |
summary | string | Content summary. |
url | string | Content URL. |
path | string | Relative content path. |
content_type | string | Content type such as article, video, or live. |
promo_type | string | Original promo type. |
item_type | string | Original item type. |
service | string | Service value, typically sport. |
urn | string | Content resource identifier. |
content_title | string | Separate content title field. |
is_live | boolean | Whether the item is live content. |
last_published | string | Raw publish time string. |
duration_seconds | number | Video duration in seconds. |
subitem_count | number | Number of subitems. |
attribution | string | Attribution label such as sport category. |
attribution_url | string | Attribution link URL. |
posted_label | string | Publish timing label. |
posted_text | string | Compact publish timing text. |
posted_alt_text | string | Expanded publish timing text. |
comments | number | Comment count. |
comments_url | string | Comment link URL. |
image_url | string | Primary image URL. |
image_alt | string | Image alt text. |
image_width | number | Image width. |
image_height | number | Image height. |
image_loading | string | Image loading strategy. |
image_tracking_id | string | Image tracking identifier. |
image_srcset | string | Responsive image srcset value. |
