All data on the PurpleAir map comes from PurpleAir sensors. For help accessing sensor data through the API, you can view our guide here: Making API Calls with the PurpleAir API. The documentation is available here: https://api.purpleair.com/. You can download data in both JSON and CSV format with the API.