TMZ API endpoint
Returns the TMZ section inventory accepted by tmz-headlines: News (the home feed) and Sports. TMZ's public site has no broader stable editorial-category taxonomy beyond its own small main navigation -- see tmz-headlines for details.
/tmz/sectionsTMZ's public site has no broader, stable editorial-category taxonomy beyond
its own small main navigation (News, Sports, Photos, Videos, Deals). Photos
and Videos are image-gallery and video-only surfaces rather than the flat-URL
text articles tmz-article parses, and Deals is an affiliate shopping
section, so neither is offered here.
| Field | Filled in, of 2 checked | Values in the sample |
|---|---|---|
| slug | 2 | |
| name | 2 | “News” and 1 other value |
| url | 2 | tmz.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/tmz/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "news",
"name": "News",
"url": "https://www.tmz.com/rss.xml"
},
{
"slug": "sports",
"name": "Sports",
"url": "https://www.tmz.com/sports/"
}
]
}
}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/tmz/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"