API for race app