What are Composite APIs?

Mukta Sharma
2 min readNov 18, 2021

Hmm? Does it sound a new term to you ? What about Batch APIs? Does it sound new too? Okay, do not worry. Please give yourself 2 mins to understand about Composite & Batch APIs. If you like what you read, please leave a comment.

Image Credit: google

We have heard of SOAP, REST APIS until now. Have you worked on Composite APIs? Or Batch APIs? Well, to be honest with you, I have not had heard of these before until when I came across these terms recently. I decided to learn about it and then thought to share it with you. In today’s topic, we will discuss and understand what are Composite APIs & Batch APIs?

When there are multiple calls included in the sequence and send them to the server at once in a single API request and receive one response, is called as Composite APIs. Or we can say when we batch them sequentially and send them and receive one response is known as Composite APIs.

For example:

On the Amazon site, you create an account, add the product to your cart, make a payment and then check out.
Some of the steps will be needed very frequently. so, these will be grouped together in a batch API in order and sent to the server and receive one response.

Difference between Composite APIs & Batch APIs

--

--

Mukta Sharma
Mukta Sharma

Written by Mukta Sharma

Hi,I write on software testing( Manual testing,Automation,API,Mobile,InterviewQ&A etc.). My YT link :https://www.youtube.com/channel/UCppaYb_VotTvHxb6b3pE_5Q

Responses (1)