Skip to main content
v2026.11,986 entries · CC-BY 4.0

Gaia Archive: ADQL Queries, Data Releases and Citation

Search the Gaia Archive, choose DR4 tables, retrieve data with ADQL or astroquery, and record the release and citations for research reuse.

Written and maintained by CASRAI Editorial Board

Published

On this page

The Gaia Archive is ESA’s online service for searching and downloading Gaia astronomical catalogues and related observation products. Researchers can use its web forms, ADQL queries or Python access through astroquery. A reproducible extraction needs the data release, exact table and selection query: Gaia DR4 changes both the main catalogue’s construction and how sources should be matched to earlier releases.

What the Gaia Archive is

The Gaia ESA Archive provides access to measurements and derived results from ESA’s Gaia mission. Its query service uses TAP+, an extension of the International Virtual Observatory Alliance’s Table Access Protocol. ADQL, the Astronomical Data Query Language, supplies database queries with astronomical operations such as angular-distance searches. The web interface and a Python client are different ways of reaching the archive’s data.

What is the Gaia catalog?

The Gaia catalogue is a release-specific collection of source measurements and derived parameters, rather than one permanent spreadsheet. It includes positions, parallaxes, proper motions, photometry and, for subsets of sources, radial velocities, spectra and astrophysical characterisation. The documentation distinguishes source-level summaries from individual observations collected at different times.

That distinction matters when specifying an analysis. A mean brightness from a catalogue table and a light curve retrieved as an epoch product answer different questions. A statement that a study “used Gaia” does not identify either product. For the broader observational setting, see the overview of astronomy and its research areas.

Who runs it and what it covers

ESA operates the main archive at the European Space Astronomy Centre, while the Gaia Data Processing and Analysis Consortium, DPAC, processes the observations into published data products. Partner data centres provide additional access. AIP’s own catalogue service identifies itself as a partner and states that its complete DR4 content is identical to the data distributed by ESAC.

What is Gaia’s mission?

Gaia’s mission is to map the positions and motions of stars with high precision to investigate the structure, origin and evolution of the Milky Way. Its published products also cover extragalactic sources and Solar System objects. The research archive is therefore broader than a list of nearby stars, although coverage differs between products.

Gaia DR4 became available on 2 December 2026. The 2022 release is DR3, published on 13 June 2022; it remains available for reproducing earlier work. ESA’s DR4 documentation describes observations spanning 66 months, from July 2014 to January 2020, with a reference epoch of J2017.5. The reference epoch identifies the time to which astrometric parameters refer; it is different from the full observation interval and the release date.

DR4 includes roughly 2.8 billion processed sources, but its gaiadr4.gaia_source table contains a high-quality subset of about 2 billion. Parameters in that table are consolidated across processing modules, potentially using a binary-star model instead of a single-star model. The all_source_astrometry, all_source_photometry and all_source_rvs tables retain outputs from their respective processing pipelines; all_source_flags provides flags. These are substantive differences, not interchangeable table names.

Asteroid research follows another path: ESA states that Solar System objects have dedicated processing and do not appear in gaia_source. Start with the release’s sso_source and related Solar System products. The data table below compiles product choices, access routes and checks from the release and client documentation.

How to search the Gaia Archive

ESA’s data-extraction tutorial documents the following workflow. The Basic form supports initial exploration; the Advanced (ADQL) form exposes the query and supports more complex work.

  1. Choose the catalogue explicitly. Open the Search tab and use Basic for an initial positional search. Select the intended catalogue from the catalogue drop-down. Previous releases and other hosted catalogues remain searchable, so record the selected table rather than relying on the default.
  2. Specify a target or position. In Basic > Position, put an object identifier or ICRS coordinates into the Name box. The documentation explains that object names are resolved to coordinates. A positional result is a search around those coordinates, so inspect the returned neighbours before identifying a counterpart.
  3. Set the search radius and units. Use the Radius box and its associated unit selector. Preserve both values in the research record. A radius of five arcminutes and five degrees defines very different samples even when the same numeral appears in the form.
  4. Select output columns. Open Display columns and choose the fields the analysis needs. Include identifiers and the measurements needed to interpret selection criteria. ESA recommends selecting required columns instead of routinely retrieving every field with SELECT *.
  5. Add explicit conditions. Extra conditions allows restrictions on catalogue fields. Record each threshold and how conditions are combined. These filters define the sample; a tutorial’s parallax or magnitude restriction should not become a universal quality requirement.
  6. Inspect the query and submit it. Show Query displays the ADQL representation, while Submit Query runs the search. Use Advanced (ADQL) for complex or long queries. ESA documents a 2,000-source output limit for Basic queries, so a full-looking results screen can still represent a limited extraction.
  7. Save the result and its query together. Inspect Query Results and use Show query in ADQL form to recover the executed statement. Available download formats include VOTable, FITS, CSV and eCSV. Keep the table name, conditions, output format and query alongside the downloaded file.

The final step is an editorial recommendation for reproducibility: a result file alone cannot explain why a source was included or omitted. The query provides that selection history, while the release documentation explains what its columns mean.

An ADQL and astroquery example

This illustrative adaptation of ESA’s documented Large Magellanic Cloud cone search selects up to 100 DR4 sources within five arcminutes of the stated coordinates. The cap keeps the example small; it does not define a complete scientific sample. No result count or scientific finding is implied.

SELECT TOP 100
  source_id, ra, dec, phot_g_mean_mag, parallax,
  DISTANCE(81.28, -69.78, ra, dec) AS ang_sep
FROM gaiadr4.gaia_source
WHERE DISTANCE(81.28, -69.78, ra, dec) < 5.0/60.0
  AND phot_g_mean_mag < 20.5
  AND parallax IS NOT NULL
ORDER BY ang_sep ASC

The centre and radius follow ESA’s example. The magnitude restriction and non-null parallax condition deliberately exclude some sources. Ordering by angular separation puts the nearest returned positions first; it does not establish physical membership in the cloud. Decimal division is deliberate: ESA warns that integer division in ADQL can turn expressions such as 5/60 into zero.

The same statement can be supplied as the string query to the documented Python interface:

from astroquery.gaia import Gaia

job = Gaia.launch_job_async(query)
results = job.get_results()

The astroquery Gaia module documentation describes asynchronous jobs and retrieval with get_results(). It also provides load_tables(only_names=True) and load_table() for inspecting metadata. Use those methods to identify the available table and column definitions before adapting an older script.

Explicit ADQL table names avoid ambiguity about client defaults. Convenience searches also have a configurable Gaia.ROW_LIMIT; inspect that setting when using them. Record the installed client version with the query. The wider astroquery guide explains the package’s role across astronomy services.

Strengths and limits

The archive combines catalogue discovery, server-side selection and access to related products. ADQL lets researchers extract selected columns and populations before transferring results. DR4 extends the available material beyond source summaries to epoch astrometry, photometry, spectra and images, as described in its release documentation.

Those capabilities do not make every table suitable for every analysis. ESA says the DR4 source list must be treated as independent of DR3, DR2 and DR1: identifiers can change or disappear between releases. Its query examples use a precomputed DR3–DR4 neighbourhood table to connect releases. Joining solely on equal identifiers can therefore lose or misidentify associations.

Astrometric interpretation also requires scientific validation. DR4’s documentation explicitly notes remaining parallax systematic errors and points to the release’s zero-point correction work. A successful query is evidence that data were retrieved, not that the chosen sample meets an analysis’s uncertainty requirements.

Catalogue rows and DataLink products require separate attention. ESA’s examples check product-availability flags before retrieving epoch products. A source’s presence in the main table does not itself establish that every desired spectrum or time series is available.

Where is the Gaia spacecraft?

Gaia is in a retirement orbit around the Sun. ESA reports that the final commands were sent on 27 March 2025, shutting down its communications systems and central computer. Its former observing location near the second Sun–Earth Lagrange point should not be described as its present operational station.

Is Gaia still working?

The spacecraft is no longer operating, but the ground-based processing and scientific use of its observations continue. ESA’s final-command notice explicitly distinguishes spacecraft retirement from future catalogue work. DR4’s December 2026 publication illustrates why the end of spacecraft operations does not mean the archive has stopped releasing data.

Alternatives and other access routes

For Gaia measurements, the useful alternatives are often different access routes to the same release. The table compares documented roles; it does not rank services or imply that a Python client produces an independent catalogue.

Route Documented role Research-use distinction
ESA archive web interface Basic forms, Advanced ADQL, result inspection and downloads Provides a visual route from target selection to the generated query.
astroquery.gaia Python access to ESA’s TAP+ query service and table metadata Places the query and retrieval calls inside a recorded analysis script.
Gaia@AIP Partner data centre hosting complete DR4 and earlier releases Provides another host for Gaia products; AIP states its DR4 data content matches ESAC.

Source basis: ESA’s extraction tutorial, the astroquery Gaia module and AIP’s catalogue listing. Select a route according to the documented task, then preserve the release and table identity. If the research question instead concerns curated exoplanet system data, the separate NASA Exoplanet Archive guide describes that repository’s purpose.

How to cite Gaia data in a paper

Use the instructions for the release actually analysed. ESA’s credits page separates release-specific citation instructions, acknowledgements and DOI information. DR4 has its own instructions; a citation copied from a DR3 tutorial does not identify a DR4 extraction.

The DR4 instructions request both the mission paper, Gaia Collaboration et al. (2016), and the DR4 content-and-properties paper, Gaia Collaboration et al. (2026). They also request relevant processing, validation and performance-verification papers for the products used. Include the prescribed acknowledgement of ESA, DPAC and its funding institutions, using the official text linked in Sources.

For the methods record, preserve the release, fully qualified tables, exact ADQL, any cross-match procedure, filters and software version. State whether the analysis used catalogue summaries or epoch products. This is an editorial reporting checklist, distinct from ESA’s formal acknowledgement wording. The Joint Declaration of Data Citation Principles provides the broader context for identifying research data.

Common mistakes to check before analysis

  • Migrating a query by changing only DR3 to DR4. Revisit the product model: DR4 consolidates parameters in gaia_source and also exposes pipeline-specific all-source tables.
  • Treating a limit as completeness. Inspect Basic-query limits, Python convenience-method limits and any explicit TOP clause before reporting a population count.
  • Ignoring the coordinate epoch. DR4 uses J2017.5, whereas DR3 uses J2016.0. ESA documents epoch propagation for positional matching when proper motions are available.
  • Searching for asteroids in the stellar main table. Solar System objects follow their own processing path and require the corresponding release products.
  • Retaining only the download. Keep the selection query and citation details with the data so collaborators can interpret the extraction.

Frequently asked questions

What is the Gaia catalog?

It is the release-specific set of Gaia source measurements and derived products. Main catalogue summaries, specialised tables and individual-observation products serve different purposes; the release and table name identify which data a study used.

Where is the Gaia spacecraft?

It is in a retirement orbit around the Sun. ESA sent its final commands on 27 March 2025 and shut down communications and the central computer.

Is Gaia still working?

The spacecraft is switched off. The archive and ground-based data-processing work continue, including publication and scientific analysis of observations already collected.

What is Gaia’s mission?

Gaia maps stellar positions and motions to investigate the Milky Way’s structure and evolution. Its released data also include Solar System and extragalactic sources, with different products covering different populations.

Sources

Primary documentation consulted 3 December 2026:

Data: Gaia DR4 product selection and reproducibility checks

Original crosswalk combining ESA DR4 product definitions and ADQL examples with astroquery access documentation. Each row pairs a research task with its archive table or product, retrieval route and a release-sensitive check; it is not a list of recommended scientific quality thresholds.

Gaia DR4 product selection and reproducibility checks
Research taskDR4 table or productAccess routeDocumented distinction to preserveEvidence
Select consolidated source parametersgaiadr4.gaia_sourceADQL through web interface or Gaia.launch_job_asyncHigh-quality subset; parameters consolidated across processing modulesESA DR4 content; Astroquery Gaia TAP+
Examine pipeline astrometrygaiadr4.all_source_astrometryADQL through web interface or Gaia.launch_job_asyncCore astrometric-pipeline results differ from the consolidated main catalogueESA DR4 content; Astroquery Gaia TAP+
Retrieve individual astrometric measurementsepoch_astrometryDataLink after source selectionTime-series measurements; check has_epoch_astrometry in all_source_flagsESA DR4 content; ESA ADQL query example 1.2
Study Solar System sourcesgaiadr4.sso_sourceADQL through web interface or Gaia.launch_job_asyncSolar System sources follow dedicated processing and are absent from gaia_sourceESA DR4 content; Astroquery Gaia TAP+
Associate sources across releasesgaiadr4.dr3_neighbourhoodADQL join using the precomputed release cross-matchDR4 source list is independent of DR3; identifiers can change or disappearESA DR4 content; ESA ADQL query example 1.3

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Gaia Archive: ADQL Queries, Data Releases and Citation

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →