TLDR Web Dev · ARTICLES & TUTORIALS

WHAT IS API LATENCY?

blog.postman.com5 min read

Summary from the TLDR Web Dev newsletter

API latency is the amount of time it takes for an API to respond to a request. Elevated API latencies are usually caused by network issues, server overload, inefficient code, third-party dependencies, and geographic location. In terms of best practices for measuring and testing API latency, it’s useful to account for both queue time and service time, consider a wide variety of scenarios, set SLAs (Service-Level Agreements), and use code profilers.