This really depends on a number of factors including the architecture the app is using. Generally speaking, adding an extra service tier always will usually have a negative effect on speed. However, there are certain cases such as types of architecture, where using a REST API can improve speed due to shared caching.