api scoring