Tom's Hardware API endpoint
Lists the 20 Tom's Hardware top-level sections that `tomshardware-headlines` accepts, including `3d-printing`, `cpus`, `gpus`, `monitors`, `news` and `reviews`. Each section carries its `slug`, display `name` and page `url`. Takes no parameters.
/tomshardware/sectionsReturns the public Tom's Hardware top-level editorial taxonomy accepted by tomshardware-headlines: 3d-printing, best-picks, cpus, deals, desktops, features, gpus, laptops, maker-stem, monitors, networking, news, news-analysis, pc-components, peripherals, phones, reviews, service-providers, software, tech-industry.
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| slug | 20 | |
| name | 20 | “3D Printers” and 19 other values |
| url | 20 | tomshardware.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/tomshardware/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "desktops",
"name": "Desktops",
"url": "https://www.tomshardware.com/desktops"
}
]
}
}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/tomshardware/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"