Live Science API endpoint
Lists the 14 top-level Live Science sections accepted by `livescience-headlines`, including `animals`, `archaeology`, `human-behavior`, `physics-mathematics`, `planet-earth` and `space`. Each entry has a `slug`, display `name` and section `url`.
/livescience/sectionsReturns the public Live Science top-level editorial taxonomy accepted by livescience-headlines: animals, archaeology, chemistry, features, health, human-behavior, interviews, news, opinion, physics-mathematics, planet-earth, products, space, technology.
| Field | Filled in, of 14 checked | Values in the sample |
|---|---|---|
| slug | 14 | |
| name | 14 | “Animals” and 13 other values |
| url | 14 | livescience.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/livescience/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "space",
"name": "Space",
"url": "https://www.livescience.com/space"
}
]
}
}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/livescience/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"