Reuters API endpoint
Lists the top-level Reuters sections accepted by the `section` parameter of `/reuters/section`, returned under `items`. Each entry has a `slug`, a display `name` and the landing-page `url`. Takes no parameters.
/reuters/sectionsTakes no parameters.
Lists every top-level Reuters section accepted by /reuters/section, with its slug, display name, and landing-page url. It is the discovery source for that endpoint's section parameter and enumerates the full accepted value space.
| Field | Filled in, of 19 checked | Values in the sample |
|---|---|---|
| slug | 19 | |
| name | 19 | “World” and 18 other values |
| url | 19 | reuters.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/reuters/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"items": [
{
"slug": "world",
"name": "World",
"url": "https://www.reuters.com/world/"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/reuters.sectionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | reuters.SectionsResponse | No | ||||
| data.items | array | No | ||||
| data.items[].name | string | No | ||||
| data.items[].slug | string | No | ||||
| data.items[].url | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 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/reuters/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"