CNET API endpoint
Lists the 51 CNET topics accepted by `cnet-headlines`: top-level and second-level topics with a recently updated feed, plus `ai`, `deals` and `tv-and-movies`. Each has a `slug`, a display `name` and the feed `url`. Deeper sub-topics are not separate sections; `internet` means Home Internet and `security` means Home Security.
/cnet/sectionsReturns the public CNET topic taxonomy accepted by cnet-headlines. Each entry has a slug, a display name, and the public feed url. The accepted slugs are: ai, aircraft, auto-tech, automobiles, biology, car-accessories, car-apps, car-industry, car-news, climate, computing, culture, deals, electric-vehicles, energy-and-utilities, entertainment, fashion, fitness, gaming, health, home, home-entertainment, internet, kitchen-and-household, live-blog, medical, mental, mobile, motorcycles, news, nutrition, parenting, personal-care, personal-finance, personal-mobility, privacy, rideshare, roadshow, science, security, services-and-software, sleep, smart-home, social-media, space, sports, tech, tech-industry, tv-and-movies, watercraft, yard-and-outdoors.
This is the set of top-level and second-level CNET topics whose public feed was live and recently updated when the list was last verified, plus the nav-level topics ai, deals, and tv-and-movies. Deeper sub-topics (for example phones or laptops) are not separate sections; use the parent topic (mobile, computing) instead. Note that internet is the Home Internet topic, and security is Home Security.
| Field | Filled in, of 51 checked | Values in the sample |
|---|---|---|
| slug | 51 | |
| name | 51 | “AI” and 50 other values |
| url | 51 | cnet.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/cnet/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "tech",
"name": "Tech",
"url": "https://www.cnet.com/rss/tech/"
}
]
}
}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/cnet/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"