determining an api