This article investigates how disinformation spreads on social media through application programming interfaces (APIs). It examines official and unofficial APIs, categorizes them, and develops a four-stage framework for understanding disinformation pathways, highlighted through the 2016 US presidential elections. The study provides policy recommendations for improving access and regulation of APIs to mitigate the spread of disinformation.