The API backend