Querying for and Downloading IRSA Images
IRSA offers several program interfaces for querying and downloading images from our holdings. A brief description of each is provided below, along with links to detailed instructions and examples.
Primary Image API
| API | Data Sets Available |
IVOA Standard |
Spatial Queries? |
Relational Queries (SQL)? |
Output Formats |
Method for Downloading Images |
| Simple Image Access v2 (info) | Most Image Inventories | SIA v2 | yes | no | FITS, IPAC_TABLE, HDF5, VOTABLE, JSON, CSV, TSV, TEXT, HTML, POSTGRES, SQLITE, ORACLE, DB |
URL in results |
Primary Image API: Simple Image Access Version 2 (SIA v2)
Image Access with Python
IRSA's SIA v2 service can also be accessed from Python using the astroquery function query_sia. This function returns a table of images that meet the search criteria, which can then be downloaded, opened on-the-fly, or used to extract cutouts (without downloading the full image).
Several Jupyter Notebooks have been created to demonstrate searches of IRSA's image and catalog inventories, as well as IRSA-curated datasets available in Amazon Web Service (AWS) cloud storage buckets. Interested users are encouraged to read through the tutorials for techniques and tips.
Additional Image Access APIs
IRSA provides numerous other APIs to access our image inventories. These services, listed below, include previous implementations of the Simple Image Access API, image cutout services, mission-specific tools, and a general purpose Table Access Protocol API. Whenever possible, new queries should be written with our Simple Image Access Version 2 (SIA v2) API.
| API | Data Sets Available |
IVOA Standard |
Spatial Queries? |
Relational Queries (SQL)? |
Output Formats |
Method for Downloading Images |
| Simple Image Access v1 (info) | WISE, 2MASS, PTF | SIA v1 | yes | no | FITS, IPAC_TABLE, HDF5, VOTABLE, JSON, CSV, TSV, TEXT, HTML, POSTGRES, SQLITE, ORACLE, DB |
URL in results |
| IRSA Image Server API (info) | WISE, 2MASS, PTF | --- | yes | yes | FITS, IPAC_TABLE, HDF5, VOTABLE, JSON, CSV, TSV, TEXT, HTML, POSTGRES, SQLITE, ORACLE, DB |
must be constructed from output |
| Image Cutouts API (info) | WISE, 2MASS, PTF | --- | no | no | FITS | URL in results |
| 2MASS Image Service API (info) | 2MASS | SIA v1 | yes | no | XML | URL in results |
| WISE Image Service API (info) | WISE/NEOWISE | --- | yes | no | HTML | web page |
| Spitzer Heritage Archive API (info) | Spitzer | --- | yes | no | HTML | web page |
| Finder Chart API (info) | DSS, 2MASS, SDSS, WISE, IRAS, SEIP, AKARI | --- | yes | no | XML, HTML, FITS, PNG, PDF | directly from API; URL in results; web page |
| Atlas Image API (info) | Atlas datasets | --- | yes | no | XML, HTML | script provided in output |
| Atlas Image Cutouts API (info) | Atlas datasets | --- | yes | no | XML, HTML | script provided in output |
| Table Access Protocol (info) | Entire IRSA Inventory | TAP | yes | yes | FITS, IPAC_TABLE, VOTABLE, CSV, TSV, HTML | table dependent |