Government · head-to-head
Data.parliament.uk vs Food Standards Agency
The Dataset Explorer's underlying Linked Data API, hosted at `lda.data.parliament.uk`, is still live: a keyless GET against `bills.json` returned real, paginated bill records (2,000+ results) with a wildcard `Access-Control-Allow-Origin` header, and `endpoints.json` lists dozens of other datasets (committees, attendance, members) served the same way. It's a legacy platform, though — Parliament now also runs newer per-domain REST APIs (`members-api.parliament.uk`, `bills-api.parliament.uk`) that cover the same ground with a modern interface and are worth checking first for new integrations.
The Food Hygiene Rating Scheme API returns FHRS/FHIS inspection ratings for food businesses across the UK, filterable by local authority, name, and location. A live keyless query against `api.ratings.food.gov.uk/Establishments` (with the mandatory `x-api-version: 2` header) returned real establishment JSON with a wildcard `Access-Control-Allow-Origin` header. The stored `/open-data/en-GB` path now 404s after the host moved fully to HTTPS; the API itself needs no key, only the version header.
| Data.parliament.uk | Food Standards Agency | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON, XML, RDF/XML | JSON, XML |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
Data.parliament.uk supports 3 response formats, while Food Standards Agency offers fewer — pick Data.parliament.uk for more integration flexibility.