PC Gamer API endpoint
Lists the eight top-level PC Gamer sections accepted by `pcgamer-headlines`: `deals`, `games`, `gaming-industry`, `guides`, `hardware`, `movies-tv`, `news` and `software`. Each entry has its `slug`, display `name` and `url`.
/pcgamer/sectionsReturns the public PC Gamer top-level editorial taxonomy accepted by pcgamer-headlines: deals, games, gaming-industry, guides, hardware, movies-tv, news, software.
| Field | Filled in, of 8 checked | Values in the sample |
|---|---|---|
| slug | 8 | |
| name | 8 | “Deals” and 7 other values |
| url | 8 | pcgamer.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/pcgamer/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "games",
"name": "Games",
"url": "https://www.pcgamer.com/games/"
}
]
}
}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/pcgamer/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"