Magento 2 API offers a mobile-friendly configuration that enables better integration with mobile apps to improve user experience. By utilizing the API, developers can create responsive and optimized interfaces that adapt to various screen sizes, ensuring a smooth shopping experience on smartphones and tablets. This configuration supports functionalities like product search, checkout, ... https://webkul.com/blog/magento2-custom-rest-api/