India Today API endpoint
Lists the 35 India Today sections accepted by `indiatoday-headlines`, such as `top-news`, `south-india`, `markets`, `ott`, `elections` and `history-of-it`. Each entry has a `slug`, display `name` and the section page `url`. Takes no parameters.
/indiatoday/sectionsReturns the section slugs accepted by indiatoday-headlines: top-news, india, south-india, law, business, markets, world, us-news, sports, cricket, football, technology, science, health, environment, lifestyle, movies, bollywood, hollywood, movie-reviews, ott, television, education, elections, fact-check, opinion, trending, sunday-special, cities, auto, jobs, horoscopes, insight, data-intelligence, history-of-it.
Each section's url is the India Today section page its headlines are read from.
| Field | Filled in, of 35 checked | Values in the sample |
|---|---|---|
| slug | 35 | |
| name | 35 | “Top News” and 34 other values |
| url | 35 | indiatoday.in |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/indiatoday/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "world",
"name": "World",
"url": "https://www.indiatoday.in/world"
}
]
}
}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/indiatoday/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"