MAST API
Tools for programmatically querying the MAST Portal.
 All Classes Namespaces Properties Pages
Services

Table of Contents

Mast.Caom.Cone

Perform a CAOM cone search. See CAOM Field documentation for the list of columns returned.

Parameters

Example (Python)

Mast.Caom.Filtered

Get MAST observations by filtering based on column (as in Advanced Search).

Parameters

Example (Python)

Mast.Caom.Filtered.Position

Get MAST observations by performing a cone search as well as filtering based on column (as in Advanced Search).

Parameters

Example (Python)

Mast.Caom.Products

Get data products for a specific observation. See Products Field documentation for the list of columns returned.

Parameters

Note: When doing a product query for HST data, there will be no indication if that data is in the queue for reprocessing. If this information is crucial, currently, one must go through the MAST Portal.

Example (Python)

Mast.Caom.Crossmatch

Perform a cross-match with all MAST data.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec colums (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Vo.Hesarc.DatascopeListable

Perform a VO cone search.

Parameters

Notes

With all return types other than csv the result will include the fields "status" and "percent complete." While the query is still running the status will be "EXECUTING" and the percent complete will reflect what percentage of the results have been returned. Once the query is finished, the status will change to "COMPLETE" and percent complete will be 1.
There is a inactivity time out of 10 minutes, which is the maximum time between requests for a query not to be aborted.

Example (Python)

Mast.Gaia.Crossmatch

Perform a cross-match with the Gaia Catalog.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.Tgas.Crossmatch

Perform a cross-match with the TGAS Catalog.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.Catalogs.Gaia.Cone

Perform GAIA catalog cone search. See Gaia Field documentation for a description of the returned columns.

Parameters

Example (Python)

Mast.Catalogs.Tgas.Cone

Perform TGAS catalog cone search. See Gaia Field documentation for a description of the returned columns.

Parameters

Example (Python)

Mast.Hsc.Db

Perform a Hubble Source Catalog cone search. See HSC Field documentation for a description of the returned columns.

Parameters

Notes

MashupRequest property pagesize rows up to nr will be returned. The MashupRequest property page should be used to get subsequent pages.

Example (Python)

Mast.HscMatches.Db

Get detailed results for an HSC match. See HSC_Matches Field documentation for a description of the returned columns.

Parameters

Example (Python)

Mast.HscSpectra.Db.All

Get all the HSC spectra. See HSC_Spectra Field documentation for a description of the returns columns.

Parameters

None, the request simply returns all the HSC spectra

Example (Python)

Mast.Hsc.Crossmatch

Perform a cross-match with the Hubble Source Catalog V1.0, MagAper2.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.Hsc.Crossmatch.MagAper2

Perform a cross-match with the Hubble Source Catalog V2.0, MagAper2.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.Hsc.Crossmatch.MagAuto

Perform a cross-match with the Hubble Source Catalog V1.0, MagAuto.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.Name.Lookup

Resolves an object name into a position on the sky.

Parameters

Example (Python)

Mast.Missions.List

Lists the missions available in CAOM.

Parameters

None, the request simple returns all CAOM missions.

Example (Python)

Mast.Galex.Crossmatch

Perform a cross-match with the GALEX Catalog.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.Sdss.Crossmatch

Perform a cross-match with the Sloan Digital Sky Surveys (SDSS) Catalog.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.2Mass.Crossmatch

Perform a cross-match with the Two Micron All Sky Survey (2MASS) Catalog.

Parameters

Notes

When using this service, a json object must be provided in the MashupRequest property "data" that at minimum contains ra and dec columns (see the python example for a minimal example of this object). If using the json result from a CAOM cone search as crossmatch input the ra/dec columns will usually be 's_ra' and s_dec.'

Example (Python)

Mast.Bundle.Request

To download data files, or a shell script to pull them.

Parameters

Example (Python)

Vo.Generic.Table

Get VO data given a url.

Parameters

Example (Python)