ForeignAffairs API endpoint
Returns fresh Foreign Affairs headlines from the site's public, site-wide RSS feed. Article pages and account state are not required.
/foreignaffairs/headlinesNo query parameters. Returns the newest entries from Foreign Affairs' public site-wide RSS feed. Each item includes its title, URL, summary, publication time, author, categories, and image when the feed provides them.
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| title | 20 | median 30 characters |
| url | 20 | foreignaffairs.com |
| summary | 20 | median 55 characters |
| published_at | 20 | 2026-09-30 to 2026-10-13 |
| author | 20 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/foreignaffairs/headlines" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"items": [
{
"title": "Example story",
"url": "https://www.foreignaffairs.com/united-states/example-story",
"summary": "A short summary.",
"published_at": "2026-09-19T12:34:56Z",
"author": "Alexandra Example",
"categories": [
"Diplomacy"
]
}
]
},
"msg": "OK"
}Request schema
No body schema
Response schema
#/definitions/foreignaffairs.headlinesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | foreignaffairs.HeadlinesResponse | No | ||||
| data.items | array | No | HeadlineItem record, 7 fields: author, categories, image_url, published_at, summary, title, url. Described under Foreign Affairs topic feed API. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 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/foreignaffairs/headlines" \
-H "x-api-key: $CRAWLORA_API_KEY"