# api2.midnight.im

## In short (as of 27 Nov 2026)

api2.midnight.im could not be loaded (HTTP 401 with an empty body).

- Behind Cloudflare (AS13335 Cloudflare, Inc.), certificate from Google Trust Services.
- Mail for midnight.im is received via Amazon SES.
- Observed once, on 27 Nov 2026.

The public xpaling record of api2.midnight.im: 1 observation since 27 Nov 2026. Page: https://xpaling.com/host/api2.midnight.im

## Found and changed on api2.midnight.im
Timeline (1 observation, newest first)

- **27 Nov 2026** — [report](https://xpaling.com/host/api2.midnight.im/rep/1w557bx2ff) — api2.midnight.im could not be loaded (HTTP 401 with an empty body) · 4 findings

## Findings of api2.midnight.im
Findings (as of 27 Nov 2026)

- The response has no Referrer-Policy, X-Frame-Options, Permissions-Policy, X-Content-Type-Options, Content-Security-Policy, Strict-Transport-Security (none of the six security headers) — first seen 27 Nov 2026
  What to do: Send the missing headers from the server or the CDN, starting with Strict-Transport-Security and Content-Security-Policy.
- Mail is received via [Amazon SES](https://xpaling.com/mail/amazon-ses); SPF authorises Yandex, the policy of _spf.yandex.net to send; DMARC p=none (MX inbound-smtp.eu-central-1.amazonaws.com · v=spf1 redirect=_spf.yandex.net · v=DMARC1; p=none;) — first seen 27 Nov 2026
  What to do: Move DMARC from p=none to quarantine or reject once the reports show that legitimate mail passes.

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

- Server accepts a legacy TLS version (on 27% of observed hosts) What to do: Disable TLS 1.0/1.1; allow TLS 1.2+ only.
- 1 subdomain named like admin, staging or database hosts resolves (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 27 Nov 2026)

- Technology: [Cloudflare](https://xpaling.com/tech/cloudflare), [Express](https://xpaling.com/tech/express) (header cf-ray · header x-powered-by: Express) — first seen 27 Nov 2026
- The certificate is issued by [Google Trust Services](https://xpaling.com/cert/bf18c10bde41fbdbaeb8490a4a14e493f50a433e68e0330be5a54d1712c5a0fb), valid until 12 Jan 2027, TLS 1.2 (SAN 2 · midnight.im, *.midnight.im · bf18c10bde41…) — first seen 27 Nov 2026
- IPs [104.26.6.213](https://xpaling.com/ip/104.26.6.213), [104.26.7.213](https://xpaling.com/ip/104.26.7.213), [172.67.69.64](https://xpaling.com/ip/172.67.69.64) belong to [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335), behind [Cloudflare](https://xpaling.com/cdn/cloudflare) (104.26.0.0/20 · RPKI valid · 298 upstreams) — first seen 27 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); routing: prefix 104.26.0.0/20 has a valid RPKI ROA, 298 upstreams (www.cloudflare.com/plans/) — first seen 27 Nov 2026
- NS hosted by [Cloudflare](https://xpaling.com/ns/cloudflare) (chin.ns.cloudflare.com, hugh.ns.cloudflare.com), no CAA record, DNSSEC not signed (apex A 5.252.32.97 · TXT Globalsign) — first seen 27 Nov 2026

## Hostnames under midnight.im

The hostnames of midnight.im are listed on the page of docs.midnight.im: https://xpaling.com/host/docs.midnight.im#subdomains. This host's own row is below.

| Host name | Type | IP | CNAME | In front | First seen | Last seen |
| --- | --- | --- | --- | --- | --- | --- |
| api2.midnight.im (this host) | API | 104.26.6.213, 104.26.7.213, 172.67.69.64 |  | Cloudflare | 27 Nov 2026 | 27 Nov 2026 |

## Scripts and behaviour of api2.midnight.im

Technology:

- Cloudflare
- Express

## Network and DNS of api2.midnight.im

- Address: 104.26.6.213, 104.26.7.213, 172.67.69.64 in AS13335 Cloudflare, Inc. · prefix 104.26.0.0/20 · RPKI valid · 298 upstreams
- In front: Cloudflare
- Apex midnight.im (the registered domain): A 5.252.32.97
- www.midnight.im (of midnight.im): A 5.252.32.97
- Name servers (of midnight.im): chin.ns.cloudflare.com, hugh.ns.cloudflare.com (Cloudflare) · DNSSEC unsigned
- CAA (of midnight.im): no CAA record
- Verified with (TXT records of midnight.im): Globalsign
- Takeover: none: every CNAME target resolves
- Header vary: `Origin`
- Header server: `cloudflare`
- Header alt-svc: `h3=":443"; ma=86400`
- Header x-powered-by: `Express`
- Header cf-cache-status: `DYNAMIC`

## Mail for midnight.im

- MX: inbound-smtp.eu-central-1.amazonaws.com (Amazon SES)
- SPF: v=spf1 redirect=_spf.yandex.net
- DMARC: v=DMARC1; p=none;
- DKIM: no selector found

## Domain and certificate of api2.midnight.im

- Certificate: Google Trust Services · valid until 12 Jan 2027 · covers midnight.im, *.midnight.im

## Related hosts of api2.midnight.im

- midnight.im is covered by the same certificate (1 host) — first seen 27 Nov 2026
- 1,853,794 other hosts in [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335); 945,741 with NS at [Cloudflare](https://xpaling.com/ns/cloudflare); 3,885 receiving mail via [Amazon SES](https://xpaling.com/mail/amazon-ses); 42 other hosts on IP [104.26.6.213](https://xpaling.com/ip/104.26.6.213) — first seen 27 Nov 2026
- The certificate [bf18c10bde41fbdbaeb8490a4a14e493f50a433e68e0330be5a54d1712c5a0fb](https://xpaling.com/cert/bf18c10bde41fbdbaeb8490a4a14e493f50a433e68e0330be5a54d1712c5a0fb) is also on [payments.midnight.im](https://xpaling.com/host/payments.midnight.im), [api.midnight.im](https://xpaling.com/host/api.midnight.im), [test.midnight.im](https://xpaling.com/host/test.midnight.im) (4 hosts in all)

## Scan history of api2.midnight.im

### Record

- Cite: xpaling, api2.midnight.im, 27 Nov 2026, https://xpaling.com/host/api2.midnight.im
- This record as Markdown: https://xpaling.com/host/api2.midnight.im.md · JSON: https://xpaling.com/host/api2.midnight.im.json
- Latest report (27 Nov 2026): https://xpaling.com/host/api2.midnight.im/rep/1w557bx2ff · https://xpaling.com/host/api2.midnight.im/rep/1w557bx2ff.md · https://xpaling.com/host/api2.midnight.im/rep/1w557bx2ff.json
- Submitted URL: https://api2.midnight.im/
- Records are observations, not verdicts. Corrections within two working days: https://xpaling.com/corrections
