This seems like the most ineffective way possible to figure out an API