API Class service