A CIO community thread this week asked a simple question: how many businesses have tested the resilience of their revenue-critical APIs, rather than just checking that the public website is protected? I can't count tests from the outside. Tests show up in active engagements, and I don't have enough of those yet to give a number. What I can count from passive data is the layout: which API hostnames sit behind the same CDN as the website next to them, and which answer from somewhere else.
What I measured
The starting set is the 259 companies in the DDactic industry benchmark. 149 of them had per-hostname data in their most recent passive scan. From those scans I took every hostname that resolves, and split them two ways:
- API hostnames: the first label is
api,apis,gateway,apigw,graphql,rest,ws, or carries anapi-/-apiprefix or suffix (api.example.com,payments-api.example.com). - Website hostnames: the bare domain and
wwwon the same registrable domain.
Each API hostname is paired with the website on its own registrable domain, so api.example.com is compared with example.com and www.example.com, never with a sister brand. Non-production API hosts (dev, staging, test, QA, UAT, sandbox, demo, preview, pre-prod) and documentation or portal hosts were set aside, leaving 172 production pairs across 67 domains. A host counts as CDN-fronted when DNS resolution, HTTP response headers, or a DNS check against published CDN address ranges (run 24 November 2026) shows a CDN in front of it. Each hostname is counted once, even if two company scans picked it up.
The four layouts
| Website | API hostname | Pairs |
|---|---|---|
| CDN-fronted | Not CDN-fronted | 61 |
| CDN-fronted | CDN-fronted | 37 |
| Not CDN-fronted | Not CDN-fronted | 39 |
| Not CDN-fronted | CDN-fronted | 35 |
The first row is the one the thread was asking about. Somebody decided the website deserved an edge, bought it, and configured it. The API on the same domain resolves somewhere else. Where the website is CDN-fronted, 61 of 98 production API hostnames are not.
At domain level the picture holds: of the 41 domains with a CDN-fronted website and at least one production API hostname, 24 have at least one API hostname outside the CDN.
The last row matters too. 35 pairs run the other way: the API sits behind an edge or managed gateway while the marketing site does not. Teams that put the API first usually did it on purpose, because the API is the business.
Concentration check
The gap is not spread evenly. One large SaaS vendor contributes 12 API hostnames that most likely run on its own edge by design. Without it, the share is 49 of 85, which is still 58%. A handful of domains with many API hostnames each carry a large part of the count, which is one reason the per-sector numbers below need care.
By sector
Production API hostnames not CDN-fronted, where the website on the same domain is CDN-fronted. Sample sizes are small, so read these as direction, not benchmark.
| Sector | API hosts outside the CDN |
|---|---|
| Financial services | 17 of 21 |
| Logistics | 10 of 12 |
| Gaming | 5 of 6 |
| Technology / SaaS | 15 of 20 (12 from one vendor) |
| Cybersecurity | 7 of 16 |
| Energy | 3 of 5 |
| E-commerce | 1 of 7 |
| Insurance | 0 of 6 |
The contrast between financial services and e-commerce is the interesting part. For a retailer the checkout API is the revenue, and it sits behind the same edge as the storefront. For many banks the API estate grew separately: partner integrations, open-banking interfaces, card-network connections, each with its own path to origin.
Why the API waits
None of this reads as negligence. Moving a website behind a CDN is a well-worn project. Moving an API is harder, for reasons that are mostly technical:
- Nothing to cache. A CDN earns its keep on a website by serving cached content. API calls are authenticated, personalized and dynamic, so almost every request reaches origin anyway. The business case for the edge looks weaker on paper.
- Clients you don't control. Mobile apps, partner systems and machine clients talk to the API. Changing the path in front of it means retesting every one of them, including app versions still in the field.
- Partners allowlist IP addresses. B2B integrations often allowlist the origin's IPs in both directions. Putting an edge in front changes the addresses partners see, and every allowlist change is a coordinated project.
- Mutual TLS and long-lived connections. APIs that authenticate clients with certificates, or hold WebSocket and streaming sessions, need the edge to handle those correctly before the switch is safe.
- Different owners. The website belongs to marketing or digital. The API belongs to a platform team with its own roadmap. The CDN contract was signed for the first.
So the website moves first and the API waits, sometimes for years.
What "outside the CDN" does and does not tell you
A hostname outside the CDN still has some first line of defense. Passive data can't always tell which one, so it helps to walk the layers:
- CDN: this is the layer measured here. For the 61 hostnames in the first row, it is absent.
- Scrubbing center: an always-on scrubbing service that announces the API's address space can sit in front without looking like a CDN. On-demand scrubbing is invisible to passive scanning, and on-demand means diversion by BGP or DNS after an attack starts, so the first minutes reach origin.
- On-prem appliance: a DDoS appliance or network firewall at the data center edge is mostly invisible from outside.
- Application layer: even behind an edge, what a rate rule counts decides what it catches. Counting by IP alone misses a client that paces itself per API key across many addresses. Counting keys and windows differ a lot between vendors; the per-vendor detail is in API Hardening: Per-Vendor Rate-Limit Syntax.
So the finding is narrower than "these APIs are exposed." It is: the edge that protects the website is not the edge in front of the API, and whatever stands in front of the API was a separate decision. Whether that decision holds under load is the question worth answering.
Five questions for your own estate
- Which of your API hostnames resolve to the same edge as your website, and which answer from origin or a cloud gateway?
- For the ones at origin, what absorbs volume: always-on scrubbing, on-demand scrubbing, the cloud provider's network protection, or an appliance?
- If it is on-demand, how long does diversion take, and what reaches origin before it completes?
- What do your API rate rules count by: IP, API key, session token? Over what window?
- Who knows what one hour of each API's downtime costs, and do they talk to the people who set the thresholds?
For DORA-regulated financial entities
Financial services showed the widest gap in this sample, and it is also the sector where EU regulation now expects testing on live production systems. Threat-led testing under DORA Articles 26 and 27 is where an API layout like this should get exercised, and red-team scopes usually carve denial of service out. I covered where DDoS fits in DORA and DDoS: What TLPT Actually Requires.
Limits of this data
- Passive only. On-demand scrubbing, ISP-level protection and on-prem appliances don't show. The true picture is somewhat better than these numbers.
- Naming heuristic. Only dedicated API hostnames are counted. An API served at
www.example.com/apishares the website's path and its CDN, and does not appear here. APIs on hostnames without an API-like name are missed too. - Attribution. Organization-level discovery sometimes pulls in a lookalike company's domains. Pairing within the same registrable domain keeps the host-level figure honest, but sector labels inherit any attribution error.
- Small samples. 98 hostnames in the headline, single digits in some sectors. This is a first measurement, and I'll rerun it as the scan base grows.
Scan Your Own Attack Surface
DDactic's free passive scan maps your external attack surface against our 101-vector catalog and scores your vendor coverage via the Open Protection Index. No login required, no VMs deployed, no authorization needed for the scan itself.
Run a Free Scan