Mediaite API endpoint
Lists the 15 Mediaite category slugs accepted as `section` by `mediaite-headlines`, such as `tv`, `politics`, `opinion` and `crime`. Each entry has its `slug`, display `name` and `url`. `premium` is the Mediaite One Sheet newsletter category, and `election-2020` is a legacy category that still publishes occasionally.
/mediaite/sectionsReturns the public Mediaite category inventory accepted by /api/v1/mediaite/headlines: media, tv, news, entertainment, sports, podcasts, tech, online, politics, trump, election-2020, opinion, columnists, crime, premium.
Each section includes a stable slug, display name, and public upstream feed url. premium is the Mediaite One Sheet newsletter category; its articles are flagged paywalled by the article endpoint. election-2020 is a legacy category that still publishes occasionally.
| Field | Filled in, of 15 checked | Values in the sample |
|---|---|---|
| slug | 15 | |
| name | 15 | “Media” and 14 other values |
| url | 15 | mediaite.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/mediaite/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "tv",
"name": "TV",
"url": "https://www.mediaite.com/category/tv/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 |
| Status | Description | Schema |
|---|---|---|
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/mediaite/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"