Salon API endpoint
Lists the 32 Salon sections that `salon-headlines` accepts, from `home` and `news-and-politics` to `working_ahead`. Each entry has a `slug`, a display `name` and the section's feed `url`. The list includes older event slugs such as `oscars_2012` and `sxsw_2013`.
/salon/sectionsReturns the public RSS section slugs accepted by salon-headlines: home, audio, blog, business, culture, economy, economy-and-innovation, elections, entertainment, food, guides, innovation, life, life-stories, media, money, news, news-and-politics, opinion, oscars_2012, politics, satire, science-and-health, sex-and-love, social, sustainability, sxsw_2013, technology, the_brief, video, vpn, working_ahead.
| Field | Filled in, of 32 checked | Values in the sample |
|---|---|---|
| slug | 32 | |
| name | 32 | “Home” and 31 other values |
| url | 32 | salon.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/salon/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "news-and-politics",
"name": "News & Politics",
"url": "https://www.salon.com/category/news-and-politics/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/salon/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"