Polygon API endpoint
Lists the Polygon sections that `polygon-headlines` accepts, from `gaming-news` and `gaming-reviews` to `guides` and `videos`. Each entry has a `slug`, a display `name` and the section's feed `url`.
/polygon/sectionsReturns the public RSS section slugs accepted by polygon-headlines: gaming-news, gaming-reviews, gaming-previews, gaming-features, entertainment-news, movie-tv-reviews, entertainment-features, anime, horror, sci-fi, fantasy, what-to-play, what-to-watch, guides, videos.
| Field | Filled in, of 15 checked | Values in the sample |
|---|---|---|
| slug | 15 | |
| name | 15 | “Gaming News” and 14 other values |
| url | 15 | polygon.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/polygon/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "gaming-news",
"name": "Gaming News",
"url": "https://www.polygon.com/feed/gaming-news/"
}
]
}
}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/polygon/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"