2021 State of the API Report
API-First and Other Strategies
Embracing API-first
Many teams and organizations are embracing an API-first philosophy. In fact, two-thirds of this year's survey respondents ranked themselves as a five or higher in terms of embracing API-first, while 62% ranked themselves in this way in 2020. It's clear that the industry as a whole is generally trending toward API-first, but it's only a select few who are leading the way—8% rank themselves as 9 or 10 on the scale of embracing API-first. We refer to these respondents as "API-first leaders."
Defining API-first
But we wanted to dig even deeper: What does "API-first" mean to API developers and professionals? When it comes to defining API-first, we found a variety of responses, and the industry as a whole appears to be moving toward this definition: defining and designing APIs and underlying schema before developing dependent APIs, applications, or integrations. The next favorite? A little more than 3 out of every 10 developers and API professionals preferred developing APIs before developing applications or integrations dependent on APIs. Interestingly, only 10% of respondents said that they're not sure what API-first means, down from 13% in 2020.
Due to rounding, percentages may not add up to 100%.
API-first in our organization means that we can think of what IS possible rather than what IS NOT possible when it comes to providing the best features and functionality for our products and services to our members. We no longer have the difficulties of customization or integrations with systems and applications.
Development priorities
We asked respondents to identify the top priorities for their development teams and organizations, and there was a clear winner: quality, coming in at 80%. Agility, reliability, security, and speed of development were also important to more than half of respondents. What seemed to be less of a concern? Reducing costs, cited by less than one-third of API professionals.
API-first leaders were even more likely to cite quality, reliability, agility, and security as priorities than other survey respondents.
Multiple responses allowed.
Public vs private vs partner
Respondents were asked to allocate 100 points among three API categories (public, private, and partner) to indicate the percentage of APIs in their organization for each. The leader again this year is private APIs.
Interestingly, API-first leaders reported a lower percentage of private APIs and higher percentage of public APIs, indicating that these leaders spend less time coding functionality in-house when they can rely on functionality already publicly available from others across the industry.
API design
We asked respondents at what point in a project they typically consider API design. The majority of survey-takers said that they consider API design early in a project, before development kicks off. Almost 1 in 5 consider API design even before stakeholder expectations are set, and a similar ratio considers API design in the middle of projects. Less than 10% of respondents consider API design last or aren't concerned with API design at all.
Within job functions, quality engineers were more likely to state that API design is considered early, while full stack and frontend developers were less likely to state that API design is considered early.
Due to rounding, percentages may not add up to 100%.
Factors considered: API integration
When asked what factors are considered before integrating with an API, four factors were cited by more than two-thirds of survey respondents: security, performance, reliability, and documentation. Also notable were scalability and usability, important to more than half of respondents. Interestingly customer support, provider reputation, and popularity/adoption were considered less important.
API-first leaders were more likely than other respondents to cite the top four factors: security, performance, reliability, and documentation.
Multiple responses allowed.
Factors considered: producing APIs
When asked what factors individuals consider when deciding to produce an API, the leading factor—mentioned by almost 67% of respondents—was integration between internal applications, programs, or systems. Integration with external systems, adding or enhancing functionality of internal systems, and adding or enhancing functionality for customers round out the top four—all mentioned by more than half of respondents.
API-first leaders were more likely than other respondents to cite those same top four factors: internal integration, external integration, and adding or enhancing functionality for both internal users and customers.
Multiple responses allowed.
Factors considered: consuming APIs
When asked what factors individuals consider when deciding to consume an API, the factors included in the top four remain the same as cited by individuals deciding to produce an API (see above); however, the priorities are slightly shifted. The number one factor is integration with external systems, followed by adding or enhancing functionality for customers, adding or enhancing functionality of internal systems, and integration between internal systems. One factor that takes higher precedence when consuming APIs versus producing APIs: speeding up development.
Continuing the trend we observed among those deciding to produce an API, API-first leaders were even more likely to cite these same top factors for consuming an API than other survey respondents.
Multiple responses allowed.