api attempt