Yahoo News API endpoint
Returns a Yahoo News section's story stream: title, destination URL, summary, source, publish time, comment count, and thumbnail images for each story. Sourced from Yahoo News's own server-rendered section pages.
/yahoo-news/categoryQuery parameters:
category (required) — the Yahoo News section. One of us, world,
politics, science, weather-news, originals.Notable response behavior:
health, entertainment,
business, and technology 404 upstream); any other value returns
400.originals is a curated cross-section collection (its stories can carry
any category, e.g. "Lifestyle" or "Entertainment" alongside "U.S.")
rather than a single-topic section like the other five.published_at, summary, source, source_url, authors, and
thumbnail_url are omitted when Yahoo did not include them for a given
story. Category feeds frequently omit published_at even when the
homepage feed includes it for the same story.503.| Field | Filled in, of 4 checked | Values in the sample |
|---|---|---|
| id | 4 | |
| title | 4 | median 70 characters |
| url | 4 | yahoo.com |
| summary | 4 | median 140 characters |
| source | 4 | “Yahoo News” and 2 other values |
| source_url | 4 | yahoo.com and 2 other hosts |
| authors | 4 | median 1 entry |
| comment_count | 4 | 0 |
| thumbnail_url | 4 | d29szjachogqwa.cloudfront.net and 1 other host |
| images | 4 | median 6 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| category | string | Yes | Yahoo News section Allowed values: us, world, politics, science, weather-news, originals. | politics | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-news/category?category=politics" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"category": "politics",
"items": [
{
"id": "1bfd4c19-ae78-369c-a4cb-8489000ca9d7",
"title": "Hegseth criticized for locking Democrats out of closed-door defense budget talks",
"url": "https://www.yahoo.com/news/politics/articles/hegseth-criticized-locking-democrats-closed-150610567.html",
"summary": "Republican lawmakers express concern after US defense secretary repeatedly excluded Democrats from briefings",
"source": "The Guardian",
"source_url": "https://www.theguardian.com/international",
"authors": [
"Joseph Gedeon in Washington"
],
"category": "Politics",
"comment_count": 0,
"thumbnail_url": "https://media.zenfs.com/en/the_guardian_765/b0019faf1c513b027cd3fd20004640f3.jpg"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/yahoonews.categoryResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoonews.CategoryResponse | No | ||||
| data.category | string | No | ||||
| data.items | array | No | StreamItem record, 15 fields: authors, category, comment_count, id, images, published_at, source, source_url, summary, thumbnail_url, title, url. Described under Yahoo News Home API. | |||
| 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 |
| 500 | Internal Server Error | #/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/yahoo-news/category?category=politics" \
-H "x-api-key: $CRAWLORA_API_KEY"