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 Portal

MAST Portal

The MAST Portal lets you search multiple collections of astronomical data-sets from one place. Use this tool to find astronomical data, including images, spectra, catalogs, timeseries, publication records and more.

Search MAST Portal

MAST API Suite

Astroquery API

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.

Webservice API

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.

Classic API

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.

More Search Options

Virtual Observatory

The Virtual Observatory (VO) seamlessly incorporates astronomical data from active missions, archives, and other institutional resources worldwide.

exo.MAST

Search by exoplanet name to find data, parameters, visualizations, and MAST holdings like Kepler, K2, Hubble, TESS and JWST. Easily find the data taken during the transit, interact with folded light curves, and view or download published spectroscopy.

Mission Specific Search Forms

MAST provides web forms to search for data from individual missions.

MAST CASJobs

A website for running SQL queries on MAST catalogs and tables. Long and complex queries are supported, and users can store the output in a user database.

HLSP Search

HLSPs are observations, catalogs, or models that complement, or are derived from, MAST-supported missions. They can include images, spectra, light curves, maps, source catalogs, simulations, observations from other telescopes, or data that have been processed in a way that differs from what's available in the originating archive.

Catalogs

Catalogs.MAST provides access to tabular measurements of astronomical objects from the Hubble Space Telescope and other missions.

Contribute

GitHub
GitHub

MAST has a thriving open source community. We would love for you to be a part of it. Check out some of our public repositories that may be of interest here: