An API security checklist is a list of yes-or-no checks that shows whether an API handles authorization, authentication, rate limits, configuration, inventory and third-party data safely. The best starting point is the OWASP API Security Top 10 2023, backed by NIST SP 800-228, which recommends basic controls immediately and advanced controls by risk — and the single most important test is whether user A can read or change user B's data.
Key takeaways
- Three of the ten OWASP API risks are authorization failures — test object, property and function access first.
- NIST SP 800-228 splits controls into pre-runtime and runtime, basic and advanced, and says to act on basic controls immediately.
- A checklist only works if it is tested: two user accounts, a second role and a rate-limit probe catch most gaps.
APIs are the front door to most modern software — and the door most teams forget to lock. An API exposes application logic and sensitive data by design, which is why OWASP and NIST both treat API security as its own discipline, not a footnote to web security. This checklist turns their guidance into 30 checks you can run this week.
What is an API security checklist?
An API security checklist is a list of yes-or-no checks that shows whether an API handles authorization, authentication, rate limits, configuration, inventory and third-party data safely. The 30 checks below sit in five areas, each mapped to the OWASP API Security Top 10 2023, with a test for every area.
The checklist is written for teams that run a public, partner or internal API — including the API behind a mobile app or a single-page web app — and for founders whose backend was partly written by an AI tool. It is not a penetration testing tutorial. The aim is to find and close the gaps that show up again and again in real breaches.
Two references anchor it. The OWASP API Security Top 10 2023 ranks the ten failure types. NIST SP 800-228-upd1, published in June 2025 and updated on 13 March 2026, turns the same problems into 26 numbered recommendations, REC-API-1 to REC-API-26, split into basic and advanced controls, before runtime and at runtime.
What is the OWASP API Security Top 10 2023?
The OWASP API Security Top 10 2023 is the second edition of OWASP's list of the most critical risks specific to APIs, after the 2019 edition, and as of November 2026 it is the latest OWASP lists. Three of the ten are authorization failures, more than any other kind — which is why authorization gets the most attention in this checklist.
| Risk | What goes wrong | Checklist area |
|---|---|---|
| API1 Broken Object Level Authorization | A user changes an ID and reads or edits someone else's record | Authorization |
| API2 Broken Authentication | Logins, tokens or password resets can be guessed, forged or replayed | Authentication |
| API3 Broken Object Property Level Authorization | Responses expose fields the user should not see, or updates set fields they should not control | Authorization |
| API4 Unrestricted Resource Consumption | Requests have no limit on rate, size or cost | Limits and abuse |
| API5 Broken Function Level Authorization | A regular user can call an administrative function | Authorization |
| API6 Unrestricted Access to Sensitive Business Flows | A flow such as buying or booking can be automated in a way that harms the business | Limits and abuse |
| API7 Server Side Request Forgery | The API fetches a URL a user supplied and reaches somewhere it should not | Outbound calls |
| API8 Security Misconfiguration | Defaults, missing encryption, loose cross-origin rules or verbose errors open a door | Configuration |
| API9 Improper Inventory Management | Old versions, test hosts or undocumented endpoints stay exposed | Inventory |
| API10 Unsafe Consumption of APIs | Data from third-party APIs is trusted without validation | Outbound calls |
OWASP calls the list an awareness document: it ranks what goes wrong, it is not a standard to certify against. Use it to prioritize, then use NIST's controls to fix what you find.
Authorization: checks 1–9 (API1, API3, API5)
Authorization is where most API breaches start. Authentication proves who is calling; authorization proves they may touch this object, this field and this function. Check all three, on every endpoint, on every request — not once at login.
- Every endpoint checks object ownership. A user who changes an ID in the path, query, header or body must not reach another user's record (API1).
- Authorization is enforced server-side, every time. Never rely on the client hiding a button or a field.
- Responses use an allowlist of fields per role. A response must not include fields the caller should not see, such as
is_adminor internal notes (API3). - Updates reject fields the caller should not control. Mass assignment — sending
role: adminin a profile update — must fail (API3). - Admin functions check role, not just login. A regular user must not call an administrative endpoint (API5).
- Roles and groups are clearly separated. If the access policy is unclear, the flaw will follow.
- IDs are not guessable where it matters. Sequential IDs make API1 trivial to probe; use unpredictable IDs for sensitive objects, and still check ownership.
- Automated authorization tests exist. At minimum: user A cannot read user B's data, and a regular user cannot call an admin endpoint.
- Authorization failures are logged and alerted. Repeated 403s from one account are a probing signal, not noise.
Test it: create two ordinary accounts. Log in as A, request B's order, invoice or profile by changing the ID, and confirm you get a 403 or 404 — never B's data. Then try an admin endpoint as a regular user.
Authentication: checks 10–15 (API2)
Broken authentication lets attackers assume another identity, often by guessing, forging or replaying tokens. NIST's guidance asks for robust authentication and, specifically, protection of the token lifecycle.
- OAuth flows follow RFC 9700. Use the authorization code flow with PKCE, exact redirect-URI matching and audience-restricted tokens. The IETF's RFC 9700 is the current best practice for OAuth 2.0 security, published in 2025.
- Tokens are short-lived and validated. Check expiry, signature and algorithm on every request; reject tokens signed with a weak or unexpected algorithm.
- Refresh tokens rotate and can be revoked. A stolen refresh token must not work forever.
- Login, password reset and token endpoints are rate-limited. Brute force and credential stuffing need a locked door, not just a strong password policy.
- API keys are not the only check for sensitive data. Keys identify a project, not a person; rotate them, scope them, and never accept them as proof of a user.
- Secrets are never in URLs, logs or client code. Keys and tokens in a query string end up in logs, browser history and referrer headers.
Test it: paste a token into our free JWT decoder to check its claims and expiry, then try replaying an expired token and a token with a tampered signature — both must be rejected.
Limits and abuse: checks 16–20 (API4, API6)
Unrestricted resource consumption can cause a denial of service or a surprise bill: every request costs CPU, memory, bandwidth or a paid third-party call. Sensitive business flows can also be abused by automation even when the code is correct.
- Per-user and per-key rate limits exist on every endpoint, with stricter limits on login, search and other expensive operations (API4).
- Payload sizes are capped, page sizes have a maximum, and file uploads have a size and type limit.
- Expensive operations are bounded. Timeouts, pagination limits and cost caps stop one request from running up a cloud or SMS bill.
- Sensitive business flows have abuse controls. Buying, booking, posting, voting and password resets need bot detection, step-up checks or per-account velocity limits (API6).
- Rate-limit responses are honest. Return 429 with a retry hint, and log repeated limit hits as a possible abuse signal.
Test it: send a burst of requests from one account and confirm the limit bites; then try paging with a huge page size and uploading an oversized file — both must be refused.
Configuration and inventory: checks 21–25 (API8)
Security misconfiguration is the quietest risk: insecure defaults, verbose errors, loose cross-origin rules and unencrypted traffic. Inventory is its twin — you cannot secure an endpoint you do not know exists.
- HTTPS everywhere, with TLS 1.2 as the minimum and 1.3 preferred. Check your setup with our free SSL checker.
- Security headers are set on API responses, including strict transport security and a restrictive content type policy.
- Error messages do not leak internals. No stack traces, database errors or file paths in production responses.
- CORS is an allowlist, not a wildcard. Do not reflect arbitrary origins with credentials allowed.
- Defaults are hardened. Debug mode off, sample endpoints removed, default credentials changed, and the framework's secure settings enabled.
Test it: request a non-existent route and a bad payload, and read the error body. If it names your framework, database or file paths, fix it before launch.
Inventory and outbound calls: checks 26–30 (API7, API9, API10)
APIs expose more endpoints than traditional web applications, so a current inventory is a security control in its own right. Outbound calls are the other half: data you fetch from a third party, or a URL a user supplies, can reach places it should not.
- There is a current inventory of every API, version and host, with an owning team for each (API9).
- Deprecated versions have a retirement date — and are actually retired. Old versions are where old flaws live.
- Debug, test and shadow endpoints are not exposed in production. If it is not in the inventory, it should not be reachable.
- Server-side request forgery is blocked. User-supplied URLs are validated against an allowlist, and private IP ranges are unreachable (API7).
- Third-party API data is validated like user input. Never trust a response from an integrated service without checking its shape and content (API10).
Test it: ask the API to fetch an internal address such as http://169.254.169.254/ and confirm it is refused, then compare your inventory against what a scan of your hosts actually finds.
How does NIST SP 800-228 fit the checklist?
NIST SP 800-228 separates controls into pre-runtime and runtime, and into basic and advanced. Pre-runtime controls include threat-modeling new endpoints, keeping an API specification, writing automated authorization tests and scanning dependencies in the pipeline. Runtime controls include enforcing authentication, rate limits and payload limits at a gateway or service mesh, and logging authorization failures.
NIST says all organizations should act on basic controls immediately and apply advanced controls according to risk. That is a useful way to phase this checklist: checks 1–15 and 21–26 are the basic core; the abuse controls, SSRF allowlisting and full inventory work are the advanced layer. The NIST announcement summarizes the document's three aims: identify risks, recommend controls across the lifecycle, and compare implementation patterns.
One NIST rule is worth memorizing: authenticate, authorize, then validate, in that order. Validating input before checking authorization can leak whether an object exists, and authorizing before authenticating is meaningless.
What are the most common API security mistakes?
The same five mistakes appear in almost every API review. They are cheap to fix before launch and expensive to fix after a breach.
- Checking login, not ownership. The endpoint knows the user is logged in, but never asks whether the record belongs to them.
- Returning the whole database row. The frontend only shows three fields, but the API returns thirty, including internal ones.
- Trusting the client. Hiding an admin button in the app is not access control; the endpoint must enforce it.
- No rate limits on expensive endpoints. Search, export and report endpoints are the ones attackers abuse first.
- Forgotten versions. Version 1 was deprecated in a slide deck but never switched off, and it still accepts the old, weaker authentication.
The bottom line
Work the checklist in order: authorization first, then authentication, then limits, then configuration and inventory. Two user accounts, a second role and a rate-limit probe will catch most of the gaps that matter — and they take an afternoon, not a quarter.
Run the full 30 checks before launch, after any major change, and at least once a year.
You can start the configuration half now with the free security headers checker.
Frequently asked questions
What is an API security checklist?
It is a list of yes-or-no checks that shows whether an API handles authorization, authentication, limits, configuration, inventory and third-party data safely. This article has 30 checks in five areas, each mapped to the OWASP API Security Top 10, with a test for every area that a small team can run.
What is the OWASP API Security Top 10?
It is OWASP's list of the ten most critical risks specific to APIs, last revised in 2023. It runs from broken object level authorization (API1) to unsafe consumption of APIs (API10). OWASP calls it an awareness document: it ranks what goes wrong, it is not a standard to certify against.
What is NIST SP 800-228?
NIST Special Publication 800-228, Guidelines for API Protection for Cloud-Native Systems, was published in June 2025 and updated on 13 March 2026. It identifies risks during API development and at runtime, recommends 26 numbered controls from REC-API-1 to REC-API-26, and compares implementation patterns such as gateways and service meshes.
What is the most common API vulnerability?
Broken object level authorization, API1 in the OWASP list, is first for a reason: an attacker changes an object ID in a request and reads or edits someone else's record because the server only checked that the caller was logged in. Test it with two user accounts before anything else.
Should APIs use API keys or OAuth?
API keys identify a project, not a person, and they are easy to leak. Use OAuth 2.0 with the authorization code flow and PKCE for user access, following RFC 9700, and short-lived tokens with narrow scopes. Reserve API keys for low-risk server-to-server calls, rotate them, and never accept them as the only check for sensitive data.
How often should an API security checklist be run?
Run the full checklist before launch, after any major change, and at least once a year. Run the authorization and rate-limit tests on every release that adds or changes an endpoint, and re-check the inventory whenever a version is deprecated.
Do internal APIs need the same security as public APIs?
Yes. Internal APIs are reached by compromised accounts, insider mistakes and supply-chain software, and they often carry the same sensitive data. NIST SP 800-228 applies to internal and external APIs alike, and it recommends authenticating and authorizing every API communication.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the OWASP API Security Top 10 2023, NIST SP 800-228-upd1 and IETF RFC 9700.
How we write and fact-check →