trying the api