API working with some methods