---
title: "Announcements - feed"
method: GET
path: "/announcements/{type}.xml"
---

# Announcements - feed

`GET /announcements/{type}.xml`

## Request

- Base URL: `https://api.coronavirus.data.gov.uk/generic`
- URL: `https://api.coronavirus.data.gov.uk/generic/announcements/{type}.xml`
- Auth: none declared. Required headers: `Accept`
- TypeScript: <https://skmtc.dev/uk-health-security-agency/apis/generic-api/docs/announcements/:type.xml/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns either an atom or rss feed of announcements.

## Path parameters

- `type` 'atom' | 'rss', required

## Headers

- `Accept` 'application/xml' | 'text/xml' | 'application/atom+xml' | 'application/rss+xml', required

## Response `200`

## Other responses

- `400`: Bad request. Reason provided in response body where possible.
- `404`: Not found.
- `429`: Too many requests - request has been throttled.
- `500`: Server error

## Changes

- **2021-11-22** `5e256a1f0f74`: 2 breaking, 1 warning
  - the mandatory response header `phe-website-request` removed for the status `200`
  - the mandatory response header `x-phe-media-type` removed for the status `200`
  - the optional response header `phe-server-loc` removed for the status `200`
- **2021-11-22** `44611f090a79`: 2 breaking, 1 warning
  - the mandatory response header `ukhsa-website-request` removed for the status `200`
  - the mandatory response header `x-ukhsa-media-type` removed for the status `200`
  - the optional response header `ukhsa-server-loc` removed for the status `200`
- **2021-11-22** `5894ea78dfb2`: 2 breaking, 1 warning
  - the mandatory response header `phe-website-request` removed for the status `200`
  - the mandatory response header `x-phe-media-type` removed for the status `200`
  - the optional response header `phe-server-loc` removed for the status `200`
- **2021-08-17** `d337e9406cb2`: 1 breaking, 4 info
  - added the new required `header` request parameter `Accept`
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - …1 more

[Operation history](https://skmtc.dev/uk-health-security-agency/apis/generic-api/changes/announcements/:type.xml/get.md)

---

[API](https://skmtc.dev/uk-health-security-agency/apis/generic-api.md) - [All operations](https://skmtc.dev/uk-health-security-agency/apis/generic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uk-health-security-agency/apis/generic-api/revisions/ac434e5ddc2c?raw)
