Mashable API endpoint
Returns the public Mashable category taxonomy accepted by the headlines endpoint. Only categories that publish a working public RSS feed are listed.
/mashable/sectionsReturns the public Mashable category taxonomy accepted by mashable-headlines. Every listed category publishes a working public RSS feed (42 categories, verified against the live site); categories and topics that have no public feed are not listed. Each entry has a slug, a display name, and the feed url.
The accepted slug values are exactly: android, animals, apple, cannabis, celebrities, climate-change, covid-19, desktops, digital-culture, education, entertainment, fitness, games, gaming, gaming-consoles, gender, headphones, health-wellness, house-home, laptops, lgbtq, life, memes, mental-health, mobile, movies, podcasts, science, sex, sex-dating-relationships, smart-home, social-good, social-media, space, speakers, tablets, tech, tech-industry, transportation, tv-shows, tvs, wifirouters.
| Field | Filled in, of 42 checked | Values in the sample |
|---|---|---|
| slug | 42 | |
| name | 42 | “Android” and 41 other values |
| url | 42 | mashable.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/mashable/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "science",
"name": "Science",
"url": "https://mashable.com/feeds/rss/science"
}
]
}
}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/mashable/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"