CNN API endpoint
Returns the current CNN headline stream for one section, including title, article URL, description, publication time, and image when available.
/cnn/headlinesQuery parameters:
section (optional): CNN section. Allowed values: world, us, politics, business, health, entertainment, style, travel, sports, science, climate, weather, opinion. Defaults to world.Returns the current headline stream with each story's title, URL, description, publication time, and image when available.
| Field | Filled in, of 68 checked | Values in the sample |
|---|---|---|
| title | 68 | median 75 characters |
| url | 68 | cnn.com |
| image_url | 68 | media.cnn.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | No | CNN section. Allowed values: world, us, politics, business, health, entertainment, style, travel, sports, science, climate, weather, opinion. Default world. Allowed values: world, us, politics, business, health, entertainment, style, travel, sports, science, climate, weather, opinion. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cnn/headlines?section=world" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"section": "world",
"items": [
{
"title": "Example headline",
"url": "https://www.cnn.com/2026/08/19/africa/kenya-helicopter-crash-latam-intl",
"published_at": "2026-08-19T12:00:00Z"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/cnn.headlinesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cnn.HeadlinesResponse | No | ||||
| data.items | array | No | HeadlineItem record, 5 fields: description, image_url, published_at, title, url. Described under CNN article API. | |||
| data.section | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/cnn/headlines?section=world" \
-H "x-api-key: $CRAWLORA_API_KEY"