Government and public sector
New UK legislation feed
Every piece of UK legislation as it is published, as an Atom feed — with the legislation itself available as XML behind each entry.
legislation.gov.uk is one of the best public XML estates in existence: the law is published as structured data, not as PDFs, and the feed is the front door to it.
The entries use Atom's extension points heavily, which makes this a good document for seeing what a feed looks like when someone uses the format properly rather than minimally.
- Publisher
- The National Archives
- Host
www.legislation.gov.uk- Format
- Atom 1.0
- Root when listed
- feed (2026-08-18)
- Size when listed
- 49.6 KB
What the last check saw
Fetched and parsed, 49.6 KB.Checked 2026-08-18 16:02 UTC
Structure
- Root element
feed- Detected as
- atom
- Nodes
- 608
- Namespaces
http://www.w3.org/2005/Atomhttp://www.legislation.gov.uk/namespaces/legislationhttp://www.legislation.gov.uk/namespaces/metadatahttp://www.legislation.gov.uk/namespaces/themehttp://a9.com/-/spec/opensearch/1.1/http://a9.com/-/spec/opensearch/extensions/parameters/1.0/
/feed×1/feed/id×1/feed/link×4/feed/updated×1/feed/title×1/feed/openSearch:Query×1/feed/openSearch:itemsPerPage×1/feed/openSearch:startIndex×1/feed/leg:page×1/feed/leg:morePages×1/feed/leg:facets×1/feed/leg:facets/leg:facetTypes×1
Recent checks
- ok2026-08-18 16:02 UTC
- ok2026-08-18 16:01 UTC
Where it reaches
- FormatsAtom 1.0The format this feed is written in.
- ToolsRSS & Atom feed validatorCheck it against RFC 4287 for yourself.
Also in this category
- Federal Register documentsRules, proposed rules and notices from US federal agencies, published continuously as RSS.
- Most-viewed billsWhat people are actually reading on congress.gov this week, as a small, well-behaved RSS feed.
- European Commission press releasesPress releases, statements and speeches from the Commission, with a language parameter that changes the whole feed.
- data.gov sitemapThe sitemap for the US open data catalogue — a plain urlset rather than an index, which is unusual at this scale.
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.