Time to circle the wagons and protect the core business. Collecting information and selling ads is their bread and butter. Giving third parties access to that data in order to build things gave them great marginal gains on their way to the top (sort of like Twitter), but in the current political climate the risks far outweigh whatever incremental gains they could realize going forward.
Don't expect the API back any time soon.