API Security in Large Enterprises: Leveraging Machine Learning for Anomaly Detection
Open accessThe DOI matches its Crossref record; 16 of the 16 references it cites were found in a registry or an index.
Abstract
Large enterprises offer thousands of micro-services applications to support their daily business activities by using Application Programming Interfaces (APIs). These applications generate huge amounts of traffic via millions of API calls every day, which is difficult to analyze for detecting any potential abnormal behaviour and application outage. This phenomenon makes Machine Learning (ML) a natural choice to leverage and analyze the API traffic and obtain intelligent predictions. This paper proposes an ML-based technique to detect and classify API traffic based on specific features like bandwidth and number of requests per token. We employ a Support Vector Machine (SVM) as a binary classifier to classify the abnormal API traffic using its linear kernel. Due to the scarcity of the API dataset, we created a synthetic dataset inspired by the real-world API dataset. Then we used the Gaussian distribution outlier detection technique to create a training labeled dataset simulating real-world API logs data which we used to train the SVM classifier. Furthermore, to find a trade-off between accuracy and false positives, we aim at finding the optimal value of the error term (C) of the classifier. The proposed anomaly detection method can be used in a plug and play manner, and fits into the existing micro-service architecture with little adjustments in order to provide accurate results in a fast and reliable way. Our results demonstrate that the proposed method achieves an F1-score of 0.964 in detecting anomalies in API traffic with a 7.3% of false positives rate.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Other lightweight approaches include SVMs for API traffic [95], randomized matrix sketching for streaming data [118], and regression-based models such as Syslrn [70] that reduce data requirements through offline feature selection.”
From Anomaly detection and root-cause identification in microservices: a survey (2026) · cites this paper as [95]
In the citing paper
“many systems monitor CPU and memory utilization [93,94], network traffic [95], cache metrics, and I/O operations [14,44,96]”
From Anomaly detection and root-cause identification in microservices: a survey (2026) · cites this paper as [95]
In the citing paper
“Based on the analysis of the individual anomaly detection methods, we can determine the top five methods: • Tree-matching [14] (Precision: 97%, Recall: 99%, F1-Score: 98%); • Deep Variational Bayesian networks [78] (Precision: 98%, Recall: 97%, F1-Score: 97%); • Support Vector Machine [95] (F1-Score: 96.4%); • Variational graph auto-encoder and an LSTM autoencoder [11] (Precision: 97.6%, Recall: 9”
From Anomaly detection and root-cause identification in microservices: a survey (2026) · cites this paper as [95]
Citations
Cites
1 retracted
Retracted: Network Anomaly Traffic Detection Method Based on Support Vector Machine
Yan, G. (2016) · International Conference on Smart City and Systems Engineering · doi:10.1109/icscse.2016.0011 · Cited by 26
RetractedA survey of network anomaly detection techniques
Ahmed, M., Naser Mahmood, A., & Hu, J. (2016) · Journal of Network and Computer Applications · doi:10.1016/j.jnca.2015.11.016 · Cited by 1,750
A Deep Learning Approach for Network Intrusion Detection System
Javaid, A., Niyaz, Q., Sun, W., & Alam, M. (2016) · Proceedings of the 9th EAI International Conference on Bio-inspired Information and Communications Technologies (formerly BIONETICS) · doi:10.4108/eai.3-12-2015.2262516 · Cited by 1,274
Deep Learning for Anomaly Detection: A Survey
Chalapathy, R., & Chawla, S. (2019) · arXiv · doi:10.48550/arxiv.1901.03407 · Cited by 1,240
High-dimensional and large-scale anomaly detection using a linear one-class SVM with deep learning
Erfani, S. M., Rajasegarar, S., Karunasekera, S., & Leckie, C. (2016) · Pattern Recognition · doi:10.1016/j.patcog.2016.03.028 · Cited by 1,162
A survey of deep learning-based network anomaly detection
Kwon, D., Kim, H., Kim, J., Suh, S. C., Kim, I., & Kim, K. J. (2019) · Cluster Computing · doi:10.1007/s10586-017-1117-8 · Cited by 778
A comprehensive survey on network anomaly detection
Fernandes, G., Rodrigues, J. J. P. C., Carvalho, L. F., Al-Muhtadi, J. F., & Proença, M. L. (2019) · Telecommunication Systems · doi:10.1007/s11235-018-0475-8 · Cited by 382
Web traffic anomaly detection using C-LSTM neural networks
Kim, T.-Y., & Cho, S.-B. (2018) · Expert Systems with Applications · doi:10.1016/j.eswa.2018.04.004 · Cited by 340
A holistic review of Network Anomaly Detection Systems: A comprehensive survey
Moustafa, N., Hu, J., & Slay, J. (2019) · Journal of Network and Computer Applications · doi:10.1016/j.jnca.2018.12.006 · Cited by 317
Two-tier network anomaly detection model: a machine learning approach
Pajouh, H. H., Dastghaibyfard, G., & Hashemi, S. (2017) · Journal of Intelligent Information Systems · doi:10.1007/s10844-015-0388-x · Cited by 180
Research works printed but not linked: 5
- huizinga, 2019, Using machine learning in network traffic analysis for penetration testing auditability
- 2019, OWASP API Security Top 10the ten most critical api security risks
- 2019, Gartner’s api strategy maturity model
- 2019, State of the internet / security retail attacks and api traffic, 5
- 2020, I. S. International Business Machines, Cost of a data breach report 2020
Cited by
Security in Cloud-Native Services: A Survey
Θεοδωρόπουλος, Θ., Rosa, L., Benzaïd, C., Gray, P., Marin, E., Makris, A., Cordeiro, L., Diego, F., Sorokin, P., Girolamo, M. D., et al. (2023) · Journal of Cybersecurity and Privacy · doi:10.3390/jcp3040034 · Cited by 168
“Cloud computing security challenges and solutions: a survey [33].”
BackgroundBaye, G., Silva, P. M. D. C., Broggi, A., Fiondella, L., Bastian, N. D., & Kul, G. (2023) · IEEE/IFIP Network Operations and Management Symposium (NOMS) · doi:10.1109/noms56928.2023.10154410 · Cited by 14
“For NIDS, it is the proportion of samples correctly classified as malignant to those that are malignant [1].”
BackgroundSelf-citationAPI Traffic Anomaly Detection in Microservice Architecture
Sowmya, M., Rai, A. J., Spoorthi, V., Irfan, M., Honnavalli, P. B., & Nagasundari, S. (2023) · doi:10.1109/ccgridw59191.2023.00044 · Cited by 11
“97, the SVM-based approach is represented in green [3], the Hybrid-approach is represented in red [ 1 4 ]mentioned in the related work have F1-scores of 0.”
BackgroundMethodInfluentialvarMax: Towards Confidence-Based Zero-Day Attack Recognition
Baye, G., Silva, P. M. D. C., Broggi, A., Bastian, N. D., Fiondella, L., & Kul, G. (2024) · IEEE Military Communications Conference (MILCOM) · doi:10.1109/milcom61039.2024.10773707 · Cited by 11
Self-citationA classification-by-retrieval framework for few-shot anomaly detection to detect API injection
Aharon, U., Dubin, R., Dvir, A. Z., & Hajaj, C. (2024) · Computers & Security · doi:10.1016/j.cose.2024.104249 · Cited by 23
“…2 https://owasp.org/API-Security/editions/2023/en/ 0xaa-unsafe-consumption-of-apis/ Kharkar, Moghaddam, Mohylevskyy, Helyar, Kamal, Elka-mhawy and Sundaresan, 2023; Baye, Hussain, Oracevic, Hussain and Kazmi, 2021; Harlicaj et al., 2021), there are lingering concerns that remain unresolved.”
Method
Metadata
- Authors
- Baye, G., Hussain, F., Oracevic, A., Hussain, R., & Ahsan Kazmi, S. M.
- Affiliations
- Innopolis University (RU)
- Royal Bank of Canada (CA)
- University of Bristol (GB)
- Venue
- 2021 International Symposium on Networks, Computers and Communications (ISNCC)
- Publisher
- IEEE
- Published
- 2021-10-31
- Pages
- 1-6
- OpenAlex
- W3217504530
- Cited by
- 25
- References
- 16
- Citations by year
- 2026: 2 · 2025: 5 · 2024: 6 · 2023: 9 · 2022: 3
- FWCI
- 4.16
- Type
- conference paper
- Language
- en
- Open access
- Licence
- Locations
- International Symposium on Networks, Computers and Communications (ISNCC) (publishedVersion)
- Explore Bristol Research (submittedVersion)
- UWE Research Repository (UWE Bristol) (submittedVersion, cc-by)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Computer Networks and Communications › Network Security and Intrusion Detection
- Physical Sciences › Computer Science › Artificial Intelligence › Anomaly Detection Techniques and Applications
- Keywords
- API security, anomaly detection, microservices, support vector machine, synthetic dataset, false positive rate, large corporations
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: API Security in Large Enterprises: Leveraging Machine Learning for Anomaly Detection. https://app.cochat.ai/papers/10.1109/isncc52172.2021.9615638
- The paper
- Baye, G., Hussain, F., Oracevic, A., Hussain, R., & Ahsan Kazmi, S. M. (2021). API Security in Large Enterprises: Leveraging Machine Learning for Anomaly Detection. 2021 International Symposium on Networks, Computers and Communications (ISNCC). https://doi.org/10.1109/isncc52172.2021.9615638
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.