trying to figure out what the fuck is wrong with my api calls