ProPublica API endpoint
Lists the 33 topics from ProPublica's Browse Topics menu that `propublica-headlines` accepts. Each entry has a stable `slug`, a display `name` and the topic's feed `url`. Takes no parameters.
/propublica/sectionsReturns ProPublica's complete public "Browse Topics" inventory (33 topics, live-verified against the site's own homepage topic-browse widget), the value space accepted by /api/v1/propublica/headlines.
Each topic includes a stable slug, display name, and the public upstream RSS feed url for that topic.
| Field | Filled in, of 33 checked | Values in the sample |
|---|---|---|
| slug | 33 | |
| name | 33 | “Abortion” and 32 other values |
| url | 33 | propublica.org |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/propublica/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "politics",
"name": "Politics",
"url": "https://www.propublica.org/topics/politics/feed"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.sectionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.SectionsResponse | No | ||||
| data.sections | array | No | ||||
| data.sections[].name | string | No | ||||
| data.sections[].slug | string | No | ||||
| data.sections[].url | string | No |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/propublica/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"