---
title: "Get WalesOnline section headlines"
method: GET
path: "/walesonline/headlines"
tags: ["WalesOnline"]
---

# Get WalesOnline section headlines

`GET /walesonline/headlines`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/walesonline/headlines`
- Auth: API key in header `x-api-key`

Lists recent WalesOnline headlines for one section, up to about 25 items. `section` is required and takes a slug such as `news/wales-news`, `news/politics`, `sport/rugby`, `sport/football` or `whats-on`; `walesonline-sections` lists all 37. Photo galleries are omitted, and an invalid value returns a 400 error.

## Query parameters

- `section` 'news' | 'news/wales-news' | 'news/uk-news' | 'news/world-news' | 'news/politics' | 'news/local-news' | 'news/education' | 'news/health' | 'news/cost-of-living' | 'news/homes-property' | 'news/motoring' | 'news/motoring/motoring-news' | 'news/news-opinion' | 'sport' | 'sport/football' | 'sport/football/football-news' | 'sport/football/transfer-news' | 'sport/rugby' | 'sport/rugby/rugby-news' | 'sport/boxing' | 'sport/other-sport' | 'sport/other-sport/athletics' | 'whats-on' | 'whats-on/whats-on-news' | 'whats-on/arts-culture-news' | 'whats-on/family-kids-news' | 'whats-on/food-drink-news' | 'whats-on/music-nightlife-news' | 'whats-on/restaurants-bars' | 'whats-on/shopping' | 'whats-on/travel' | 'lifestyle' | 'lifestyle/showbiz' | 'lifestyle/tv' | 'lifestyle/welsh-homes' | 'special-features' | 'in-your-area', required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- PublicnewsHeadlinesResponseDoc
  - `data` NewsplatformHeadlinesResponse
    - `items` NewsplatformHeadlineItem[]
      - `author` string
      - `image_url` string
      - `published_at` string
      - `summary` string
      - `title` string
      - `type` string
      - `url` string
    - `section` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
