  The API is a feature that allows exposure of a model outside of the project and makes it actionable. In our case, the score is not a direct output of the model (it outputs a prediction and a probability from the raw logistic regression), but the result of further computation to scale the score. To do so, we use a python function endpoint.

This function uses data that has been saved in a csv format in the [API Zone](article:24) to get all the necessary information about the scorecard and the performance. And it computes the score using a similar function as for the [credit scoring](article:22). Along with the score, information about the bins is provided and the performance of the applicants with a similar score is reported.

The API can be called through HTTP requests from other applications, including in our case from the [Webapp](article:16).


