2022 State of the API Report

Postman State Of The API Report Postmanauts researching ontop of graphs. Illustration.

API Technologies

Architectural style

While REST remains the most-used API architecture by far, it lost a bit of ground to newcomers. Some 89% of survey takers selected it, down from 92% last year. Gaining popularity this year were Webhooks (35% versus 33% last year), GraphQL (28% versus 24%), and gRPC (11% versus 8%). Their growth in popularity comes as gRPC is used for internal microservices and GraphQL for stitching together disparate data sources.

REST: 89%
Webhooks: 35%
SOAP: 34%
GraphQL: 28%
Websockets: 26%
gRPC: 11%
MQTT: 9%
AMQP: 8%
Server-Sent Events: 6%
EDI: 4%
EDA: 3%
Other: 1%

Multiple choices allowed

Specifications

We also asked folks which API specifications they use and love. JSON Schema was by far the most popular choice, used by 72% of respondents. The next most popular were Swagger 2.0 (55%) and OpenAPI 3.x (39%).

Never heard of it
Aware but don't use it
Use it
Use it and love it

Due to rounding, percentages may not add up to 100%.

Future technologies

For a third year, respondents were more excited about working with microservices and Kubernetes than any other technology in the coming 12 months.

Participants are also discovering that microservices can bring challenges. As noted elsewhere in this report, about one in four respondents cite the proliferation of microservices as an obstacle to consuming and producing APIs.

This year we offered Web3 as a future technology choice. About one in three respondents said they were excited about working with it.

Microservices: 56%
Kubernetes: 48%
Serverless Architecture: 41%
Containers: 41%
GraphQL: 36%
Web3: 31%
HTTP/2: 30%
Event-Driven: 28%
Pub/Sub: 20%
Service Mesh: 12%
Other: 1%

Multiple choices allowed

Learning about API technologies

We asked survey takers where they gained most of their knowledge about APIs. The most popular answer was on the job or from coworkers (63%), followed by documentation (59%) and online classes (54%). This ranking held true across generations except for Gen Z (younger than 25), which ranked the three sources as equally popular.

On the job or from colleagues: 63%
Published API documentation: 59%
Online resources/classes: 54%
Online communities/discussion forums: 43%
In-person coding schools/coding camps: 26%
Blogs: 25%
Books on APIs: 20%
Webinars: 18%
Conferences: 13%
Livestreams: 10%
Other: 1%

Multiple choices allowed

Postman logo lockup horizontal. Illustration.

Join API leaders and Postman experts from around the globe at POST/CON 24. Gain new skills through hands-on workshops, in-depth presentations, and conversations about the future of software in an API-first world.