Page History
The catalog web service allows you to submit a query, both through an online form and programmatically. You can access the Guide Star Catalog(s) as well as a number of other catalogs available from MAST.
Excerpt | ||
---|---|---|
| ||
Summary of access methods |
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
On this page...
|
Web-forms
These web forms were built on a publicly accessible API, which you can use to perform your own queries.
API
The API endpoint is: https://gsss.stsci.edu/webservices/vo/CatalogSearch.aspx?Parameters
To perform a query, you'll need to fill in the Parameters with your desired search criteria.
Warning | ||
---|---|---|
| ||
Do not place quotes around any of the parameter values, or your query will fail. Additionally, the parameters are both case-insensitive and order-insensitive. |
Note | ||
---|---|---|
| ||
At a minimum, you must create a query in the style of one of the four following: |
Search Type | Required Parameters | Example (using optional parameter defaults : CATALOG=GSC242GSC30, FORMAT=VOTABLE) | ||
---|---|---|---|---|
VO Cone Search | RA=ra(deg) &DEC=dec(deg) &SR=search radius(deg) |
| ||
Box Search | BBOX=raMin(deg), decMin(deg), raMax(deg), decMax(deg) |
| ||
STCS Search | STCS=Space Time Coordinate System shape (CIRCLE or POLYGON) Note that a STCS=CIRCLE is the same as a VO ConeSearch |
| ||
ID Search | ID=catID |
|
You do not need to include these parameters in your search, but you can use them you further filter your results. Some options, like filename and format, alter the results returned to you.
Optional Parameters | Examples | ||
---|---|---|---|
CATALOG=code (Default if omitted is GSC242GSC30) For clarity this is a recommended parameter. It WILL change as newer versions of GSC are released |
| ||
EPOCH=yyyy.y (Updates ra/dec using proper motion and parallax IF AVAILABLE in catalog) |
| ||
FORMAT= VOTABLE(default) | HTML | KML | CSV | TSV | JSON | TEXT Note: TEXT is only supported for GSC1, GSC2 and HLA catalogs for backwards compatibility with other services and is NOT recommended |
| ||
FILENAME=outputname (directs output to file) |
| ||
MAXOBJ=n (limits number of entries returned by brightest magnitude) |
| ||
MAGRANGE=bright,faint (limits number of entries returned by limits) |
| ||
MINDET=n (minimum number of detections PanSTARRS only) |
|