2021 State of the API Report
A Day, Week, or Year in the Life
Time spent with APIs
When it comes to the amount of time developers are spending with APIs, we saw some shifts this year. In 2021, 39% of respondents spent 10-20 hours per week working with APIs, compared to 36% in 2020; 28% of respondents in this year's survey spent 20 or more hours per week working with APIs, compared to just shy of 25% in 2020.
API time allocation
When asked how individuals allocate the time they spend with APIs, more than two-thirds of their time was allocated to activities other than coding/programming APIs.
Within primary job functions, developers spend more time coding and programming APIs than those in other job functions—39% for full stack and backend developers, 31% for frontend developers. Quality engineers spend more time on automated testing (31%) and debugging (31%). Something that came as a bit of surprise is that even senior technical leaders spend substantial time coding and programming APIs: VPs of product, VPs of engineering, SVPs of engineering, and CTOs reported spending 29%, 31%, 32%, 37% respectively.
Due to rounding, percentages may not add up to 100%.
I spend most of my work time focusing on integrating API data changes into networked systems for further data processing. Also, a big part of my work is to verify that APIs have not changed/broken connected systems and to ensure APIs perform fast and reliably.
API time allocation: ideal state
We also asked participants where they thought they should spend their time with APIs. As we saw in 2020, the biggest difference between actual time spent and ideal time spent: debugging, 16% versus 10%, respectively.
Within primary job functions, developers—including backend, frontend, and full stack—and quality engineers alike felt that they should be spending more time on automated testing than they do today.
Due to rounding, percentages may not add up to 100%.
API development effort
When asked to rate the percentage of their organization's development effort spent working with APIs, 49% of respondents said that more than half of their organization's development effort is spent on APIs—compare that to just over 40% last year.
Due to rounding, percentages may not add up to 100%.
Number of developers in the organization
We continue to find an interesting dichotomy in the number of developers at organizations. Respondents from organizations with more than 500 developers were most common, at 24%; however, the next largest category—those with fewer than 10 developers—accounted for 23% of respondents. In general, when compared to last year's data, there was a notable shift toward larger organizations.