An API makes it possible for partners to connect to the application and develop stuff that adds functionality to your application. In this site the API is only available for localhost. So no Partner can access the data from outside.