Government · head-to-head
City, New York Open Data vs Food Standards Agency
NYC Open Data runs on Socrata; a live keyless GET against the SODA endpoint for the 311 service-request dataset (`data.cityofnewyork.us/resource/erm2-nwe9.json`) returned full JSON with a wildcard `Access-Control-Allow-Origin` header, and the same resource is fetchable as CSV by swapping the file extension. Anonymous reads work without any credential; registering a free Socrata app token is optional and only raises the per-IP throttling limit.
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.
| City, New York Open Data | Food Standards Agency | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON, CSV | JSON, XML |
| CORS | yes | yes |
| HTTPS | Yes | Yes |