How To Access MAST Data
There are several ways to search for and retrieve MAST data. You can use the Portal search engine, one of our APIs for programmatic access, or use the Virtual Observatory to download data from lots of astronomy data services.
MAST API Suite
A streamlined interface for Python users to access data in MAST. Replicates most functions of the MAST Portal web interface. Access MAST queries using the same function conventions and return types available for all Astroquery services. Integrate easily with Astropy functionality and other Python analysis tools.
Programmatic access to MAST data through HTTPS requests. The most direct way to programmatically access data in MAST, it is language agnostic, requiring only the ability to send/receive HTTPS requests.
Search MAST using HTTP GET requests. The results can be returned in a variety of formats including HTML, VOTable XML format, Excel spreadsheet, and comma-separated values, which can simplify ingesting results into user-written programs.