PubChem is a public resource containing over 100 million unique chemical structures and 268 million bioactivity outcomes from assays. It aggregates data from over 750 sources and contains extensive information on chemical properties, biological activities, and related literature and patents. Users can search and access this data interactively through web interfaces or programmatically. As an example, bioactivity data from PubChem was used to develop predictive models for small molecule interactions with the retinoid X receptor alpha protein, achieving AUC scores over 0.7.