Vanity Fair API endpoint
Returns the Vanity Fair section inventory: Hollywood (plus its Movies, Television, and Award Season sub-verticals), Arts & Culture, Politics, Business, and Style (plus its Beauty, Fashion, and Royals sub-verticals), each linking to its public listing page.
/vanityfair/sectionsReturns the Vanity Fair section slugs accepted by vanityfair-headlines: the
site's own current primary-navigation verticals plus each vertical's own
in-page sub-navigation --
hollywood, movies, television, award-season, what-is-cinema,
culture, politics, business, style, beauty, fashion, and royals.
| Field | Filled in, of 12 checked | Values in the sample |
|---|---|---|
| slug | 12 | |
| name | 12 | “Hollywood” and 11 other values |
| url | 12 | vanityfair.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/vanityfair/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "hollywood",
"name": "Hollywood",
"url": "https://www.vanityfair.com/hollywood"
}
]
}
}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/vanityfair/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"