The Data API and Realm Web SDK should have similar performance for read operations; the primary benefit of the Web SDK is automation and built-in authentication whereas the Data API provides a RESTful API interface, making it easy to interact with MongoDB through HTTP endpoints and a standardized API that follows REST principles.
GraphQL would be the slowest because it has to generate schemas, so I would recommend one of the above offerings.
Thanks for answering it.
Also is there a performance difference in using data API’s built-in post endpoint vs creating a custom GET endpoint to read the data from the same collection?