# api.ons.gov.uk

## In short (as of 26 Nov 2026)

api.ons.gov.uk answered with application/json, not HTML.

- Behind Cloudflare (AS13335 Cloudflare, Inc.), certificate from Google Trust Services.
- The domain ons.gov.uk was registered on 1 Jan 1970 through Office for National Statistics.
- Mail for ons.gov.uk is received via Microsoft 365.
- Observed once, on 26 Nov 2026.

The public xpaling record of api.ons.gov.uk: 1 observation since 26 Nov 2026. Page: https://xpaling.com/host/api.ons.gov.uk

## Found and changed on api.ons.gov.uk
Timeline (1 observation, newest first)

- **26 Nov 2026** — [report](https://xpaling.com/host/api.ons.gov.uk/rep/jyjc9ps58p) — First observation · 3 findings

## Findings of api.ons.gov.uk
Findings (as of 26 Nov 2026)

- 2 IPv4 addresses outside Cloudflare. 2 host names under ons.gov.uk answer from 2 addresses outside Cloudflare (a Cloudflare-fronted site). — first seen 26 Nov 2026
  
  
    What to do: Proxy every subdomain through the CDN, restrict the origin firewall to CDN IP ranges, send mail through a third-party provider and use a separate certificate on the origin.
- The response has no Referrer-Policy, X-Frame-Options, Permissions-Policy, X-Content-Type-Options, Content-Security-Policy (Strict-Transport-Security max-age=31536000; includeSubDomains) — first seen 26 Nov 2026
  What to do: Send the missing headers from the server or the CDN, starting with Strict-Transport-Security and Content-Security-Policy.

1 more common finding, each seen on a quarter or more of the hosts xpaling has observed (share as of 4 Dec 2026), not specific to this host:

- 2 subdomains named like admin, staging or database hosts resolve (on 26% of observed hosts) What to do: Put management and staging hosts behind VPN or IP allow-lists, or remove their public DNS records.

### Facts and the date each was first recorded (as of 26 Nov 2026)

- All 2 cookies carry Secure and HttpOnly (__cf_bm, _cfuvid) — first seen 26 Nov 2026
- Technology: [Cloudflare](https://xpaling.com/tech/cloudflare) (header cf-ray) — first seen 26 Nov 2026
- The certificate is issued by [Google Trust Services](https://xpaling.com/cert/4d605ac7aaa76cc33177d77bc589401746faa2d0df85028d9989882c90436ae0), valid until 4 Feb 2027, TLS 1.3 (SAN 1 · api.ons.gov.uk · 4d605ac7aaa7…) — first seen 26 Nov 2026
- IPs [104.16.68.85](https://xpaling.com/ip/104.16.68.85), [104.16.69.85](https://xpaling.com/ip/104.16.69.85) belong to [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335), behind [Cloudflare](https://xpaling.com/cdn/cloudflare) (104.16.64.0/20 · RPKI valid) — first seen 26 Nov 2026
- Traffic passes through [Cloudflare](https://xpaling.com/cdn/cloudflare) first (WAF / DDoS scrubbing in front): DDoS protection included, WAF included, platform-level protection with no published figure (Cloudflare DDoS protection); some subdomains answer from addresses outside the edge; routing: prefix 104.16.64.0/20 has a valid RPKI ROA (www.cloudflare.com/plans/) — first seen 26 Nov 2026
- Name servers ns0.bt.net, ns1.bt.net, ns2.bt.net, no CAA record, DNSSEC not signed (apex A 18.169.209.99 · www CNAME www.ons.gov.uk.cdn.cloudflare.net · TXT Microsoft 365, Airtable, Apple, Atlassian) — first seen 26 Nov 2026
- Mail is received via [Microsoft 365](https://xpaling.com/mail/microsoft-365); SPF authorises [Microsoft 365](https://xpaling.com/saas/microsoft-365), Mailchimp, 3 other includes to send (~all); DMARC p=reject, reporting to dmarc.service.gov.uk; DKIM selectors k2, ms, selector1 (MX ons-gov-uk.mail.protection.outlook.com · v=spf1 include:extspf.ons.gov.uk include:spf.protection.outlook.com… · v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc-rua@dmarc.s…) — first seen 26 Nov 2026
- Domain ons.gov.uk was registered on 1 Jan 1970 through [Office for National Statistics](https://xpaling.com/registrar/office-for-national-statistics), expires 1 Feb 2027 (active · changed 22 Jul 2026) — first seen 26 Nov 2026

## Hostnames under ons.gov.uk

The hostnames of ons.gov.uk are listed on the page of www.ons.gov.uk: https://xpaling.com/host/www.ons.gov.uk#subdomains. This host's own row is below.

| Host name | Type | IP | CNAME | In front | First seen | Last seen |
| --- | --- | --- | --- | --- | --- | --- |
| api.ons.gov.uk (this host) | API | 104.16.68.85, 104.16.69.85 | api.ons.gov.uk.cdn.cloudflare.net | Cloudflare | 26 Nov 2026 | 27 Nov 2026 |

## Cookies and storage of api.ons.gov.uk

- Cookie `__cf_bm` (199 characters) — .ons.gov.uk · Secure · HttpOnly · SameSite=None · persistent
- Cookie `_cfuvid` (114 characters) — .ons.gov.uk · Secure · HttpOnly · SameSite=None · session

## Scripts and behaviour of api.ons.gov.uk

Technology:

- Cloudflare

## Network and DNS of api.ons.gov.uk

- Address: 104.16.68.85, 104.16.69.85 in AS13335 Cloudflare, Inc. · prefix 104.16.64.0/20 · RPKI valid
- In front: Cloudflare (api.ons.gov.uk.cdn.cloudflare.net → Cloudflare)
- Apex ons.gov.uk (the registered domain): A 18.169.209.99
- www.ons.gov.uk (of ons.gov.uk): CNAME www.ons.gov.uk.cdn.cloudflare.net · A 104.16.68.85, 104.16.69.85
- Name servers (of ons.gov.uk): ns0.bt.net, ns1.bt.net, ns2.bt.net · DNSSEC unsigned
- CAA (of ons.gov.uk): no CAA record
- Verified with (TXT records of ons.gov.uk): Microsoft 365, Airtable, Apple, Atlassian, Google (Search Console / Workspace), Miro
- Takeover: none: every CNAME target resolves
- Header age: `0`
- Header vary: `Accept-Encoding, User-Agent`
- Header server: `cloudflare`
- Header content-type: `application/json;charset=utf-8`
- Header cf-cache-status: `HIT`
- Header content-encoding: `gzip`
- Header Strict-Transport-Security: `max-age=31536000; includeSubDomains`

## Mail for ons.gov.uk

- MX: ons-gov-uk.mail.protection.outlook.com (Microsoft 365)
- SPF: v=spf1 include:extspf.ons.gov.uk include:spf.protection.outlook.com include:servers.mcsv.net ~all
- DMARC: v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc-rua@dmarc.service.gov.uk
- DKIM: k2, ms, selector1, selector2

## Domain and certificate of api.ons.gov.uk

- Domain ons.gov.uk · registered 1 Jan 1970 (20,783 days before the latest scan) through Office for National Statistics · expires 1 Feb 2027
- Certificate: Google Trust Services · valid until 4 Feb 2027 · covers api.ons.gov.uk

## Related hosts of api.ons.gov.uk

- 1,853,821 other hosts in [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335); 124,566 receiving mail via [Microsoft 365](https://xpaling.com/mail/microsoft-365); 6 other hosts on IP [104.16.68.85](https://xpaling.com/ip/104.16.68.85) — first seen 26 Nov 2026

## Scan history of api.ons.gov.uk

### Record

- Cite: xpaling, api.ons.gov.uk, 26 Nov 2026, https://xpaling.com/host/api.ons.gov.uk
- This record as Markdown: https://xpaling.com/host/api.ons.gov.uk.md · JSON: https://xpaling.com/host/api.ons.gov.uk.json
- Latest report (26 Nov 2026): https://xpaling.com/host/api.ons.gov.uk/rep/jyjc9ps58p · https://xpaling.com/host/api.ons.gov.uk/rep/jyjc9ps58p.md · https://xpaling.com/host/api.ons.gov.uk/rep/jyjc9ps58p.json
- Submitted URL: https://api.ons.gov.uk/
- Archive: desktop screenshot https://xpaling.com/i/api.ons.gov.uk/2026-11-26-36b40cf49c3600aa7ca89cff856e68dca3cc4bd93cc743d97d39ce480b76199b.webp · phone screenshot https://xpaling.com/i/api.ons.gov.uk/2026-11-26-2ca8ee17bd66a35de8800173729242e5ee771e06c3827e1faff68fd4042fb5b1.webp · OG https://xpaling.com/og/jyjc9ps58p.png
- Records are observations, not verdicts. Corrections within two working days: https://xpaling.com/corrections
