API Security: Why a WAF Alone Isn't Enough
Primary Guard · November 24, 2026 · 4 min read
API security needs more than a WAF. See which API risks a WAF can miss and what extra protection looks like for your business.
Many businesses protect their website with a WAF and assume their APIs are covered. API security is a different job. An API is the way apps, mobile apps and partners ask your systems for data. A WAF helps, but it is only one layer.
Why APIs need their own protection
Websites are built for people. APIs are built for software, so scripts and apps call them thousands of times a day.
A mobile app, a partner portal and an internal tool may all use the same API. APIs often return raw data, such as customer records. That makes them attractive to attackers.
OWASP keeps a public list of the top API risks. Its 2023 edition puts broken object level authorization first, which means one user reaching another user's data. The list also names broken authentication, unrestricted resource consumption and improper inventory management.
What a WAF does well
A web application firewall sits in front of your application. It inspects requests and blocks those that match known attack patterns. Many products now add API features too. This is valuable protection against common web attacks, and most businesses should have it.
Akamai, for example, lists WAF, API, bot and DDoS protections in App & API Protector.
API security: why a WAF alone is not enough
Many API risks do not look like attacks. A request for another customer's record can look completely normal. It uses a valid format and a valid login. Only the logic of who may see what is wrong.
Other risks are about volume and visibility. Too many calls can overload a service. An old, forgotten API can stay open while nobody watches it.
Akamai positions its API Security product as complementary to App & API Protector. The first enforces protections inline, while API Security acts as the system of record for API risk.
What extra API protection looks like
Dedicated API tools usually do four jobs. First, they find your APIs. Akamai and Cloudflare both list API discovery, and Akamai says it looks for shadow and zombie APIs.
Second, they check traffic against the expected design. Cloudflare API Shield offers schema validation, which uses an OpenAPI schema you upload.
Third, they control who can call. Cloudflare lists JSON Web Token validation and mutual TLS for this.
Fourth, they watch for abuse. Cloudflare lists volumetric abuse detection and BOLA vulnerability detection. Akamai describes runtime analysis that looks for API abuse and business logic risk.
Features differ by vendor and plan, so check current plan details before you set a budget.
Where to start
You do not need every tool on day one. Begin with an inventory of every API, public and internal. Then ask who can call each one and what limits apply. Finally, decide who watches the logs and who responds when something looks wrong.
Also review how you handle keys and logins. OWASP lists broken authentication as a top risk. Check how API keys and tokens are issued, stored and removed when staff leave.
How Primary Guard helps
Primary Guard works with Cloudflare, Akamai and bunny.net on web application security. See our Cloud WAF Malaysia and Cloudflare partner pages, or read our guide on what a cloud WAF is. Our team can review your current setup and show where API protection fits.
Not sure whether your APIs are covered? Primary Guard offers a free assessment. Contact us to start the conversation.
Frequently asked questions
What is a shadow API?
A shadow API is one that the security team does not know about, often because a developer launched it without telling anyone. A zombie API is an old one that is still running. Both are risky because nobody is protecting or updating them.
Is every Cloudflare API Shield feature on every plan?
No. Cloudflare's documentation says the full security suite is an Enterprise paid add-on and points to its plans page for feature availability. It also says anyone can set up mutual TLS with a Cloudflare-managed certificate authority.
How can I review my APIs without buying a tool?
Use the OWASP API Security Top 10 as a checklist. Ask your developers whether each of the ten risks could apply to your APIs and write down the answers. It is a free first step.
Key takeaway
A WAF blocks known attack patterns, but many API risks involve logic, volume and forgotten endpoints. Add API discovery, access control and abuse monitoring on top of it. Start with a simple inventory of your APIs and review them against the OWASP list.
Sources
OWASP, Nov 2026 | Cloudflare Docs, Nov 2026 | Akamai, Nov 2026