Variety API endpoint
Lists the 24 Variety verticals accepted by `variety-headlines`, such as `film`, `tv`, `music`, `biz`, `awards`, `legit` and `voices`. Each has a `slug`, a display `name` and a `url`. Takes no parameters.
/variety/sectionsReturns the public Variety vertical taxonomy accepted by variety-headlines: artisans, awards, biz, data, digital, dirt, film, gaming, global, legit, music, politics, scene, shopping, sports, streaming, theater, tune-in, tv, video, vintage, vip, vivant, voices.
| Field | Filled in, of 24 checked | Values in the sample |
|---|---|---|
| slug | 24 | |
| name | 24 | “Artisans” and 23 other values |
| url | 24 | variety.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/variety/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "film",
"name": "Film",
"url": "https://variety.com/v/film/feed/"
}
]
}
}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/variety/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"