Overview
Pass `name`, `host`, or any of the filters `method`, `year`, `type` and `habitable` (paid). A name search ignores case, spaces and hyphens, so `Kepler22b` finds Kepler-22 b; a name that matches no planet but is a host star lists that system, and a partial name lists planets that start with it. `host` returns a system innermost first. Filters combine with each other and with a name or host; a filter-only call lists the whole catalog newest discoveries first. `count` is the number of matches and `returned` how many are in the response (10 on the Free plan, up to `limit` on paid plans). No match returns 404.
Data is the NASA Exoplanet Archive's Planetary Systems Composite Parameters table (pscomppars), one row per confirmed planet with a single value per parameter chosen from the published solutions. It is stored by APIVerve and checked monthly; `dataAsOf` is the date the stored catalog was last rebuilt from the archive.
`planetType` and `inHabitableZone` are computed by APIVerve. The type follows mass when the archive has one (under 2 Earth masses terrestrial, under 10 super-earth, under 50 neptune-like, otherwise gas giant), else radius (1.25, 2 and 6 Earth radii). The habitable-zone flag is true for 0.32 to 1.78 times Earth's insolation. `massSource` tells measured masses from minimum masses (Msini) and radius-based estimates (M-R relationship).
This research has made use of the NASA Exoplanet Archive, which is operated by the California Institute of Technology, under contract with the National Aeronautics and Space Administration under the Exoplanet Exploration Program.
Live Test Exoplanet Data Source →
Formula
One function covers the whole catalog: the first argument names the source, the next are its inputs, and the field after them says which single value lands in the cell. Formulas covers the grammar that applies to all of them.
=VERVE("exoplanets", "query")=VERVE.CALL("exoplanets", "query")Inputs
Required inputs are positional, in the order below, followed by the field. Everything else is passed as a "name", value pair after that — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.
| Input | Type | Where it goes | Description |
|---|---|---|---|
nameOptional | string | "name", value | Planet name, e.g. Kepler-22 b or Proxima Cen b; spacing, case and hyphens are ignored. A host star name lists its planets length 0–80 |
hostOptional | string | "host", value | Host star name, e.g. TRAPPIST-1, to list every planet in that system innermost first length 0–80 |
methodOptional | string | "method", value | Discovery method filter: transit, radial velocity (rv), imaging, microlensing, astrometry, transit timing variations, eclipse timing variations, pulsar timing, pulsation timing variations, orbital brightness modulation or disk kinematics length 0–40 |
yearOptional | integer | "year", value | Discovery year filter, e.g. 2016 range 1989–2100 |
typeOptional | string | "type", value | Planet type filter: terrestrial, super-earth, neptune-like or gas giant length 0–20 |
habitableOptionalPremium | boolean | "habitable", value | true lists only planets in the optimistic habitable zone (0.32 to 1.78 times Earth's sunlight); false only those outside it |
limitOptionalPremium | integer | "limit", value | Maximum planets to return, 1 to 100. Free plans get up to 10 range 1–100 |
Passing an option
=VERVE("exoplanets", "query", "name", "Kepler-22 b")=VERVE.CALL("exoplanets", "query", "name", "Kepler-22 b")What lands in your sheet
The field — the argument after the inputs — is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.
Seeing everything at once
Leave the field out and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.
=VERVE("exoplanets")=VERVE.CALL("exoplanets")The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.
Response fields
Paths are relative to data. Each one is exactly what the field argument accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.
| Use as the field | Type | Example cell value | Description |
|---|---|---|---|
query | string | Kepler-22 b | The name or host searched for; null for a filter-only list |
count | number | 1 | Number of planets matching the search and filters |
returned | number | 1 | Number of planets in this response (capped by limit) |
planets | array[1] | Matching planets: by name, a system innermost first, or newest discoveries first for filter lists | |
planets.0.name | string | Kepler-22 b | Planet name as the archive lists it, e.g. Kepler-22 b |
planets.0.hostName | string | Kepler-22 | Host star name |
planets.0.letter | string | b | Planet letter within its system (b, c, d...) |
planets.0.discoveryMethod | string | Transit | How the planet was discovered: Transit, Radial Velocity, Imaging, Microlensing... |
planets.0.discoveryYear | number | 2011 | Year the discovery was announced |
planets.0.discoveryFacility | string | Kepler | Observatory or mission credited with the discovery, e.g. Kepler, TESS |
planets.0.discoveryTelescopePremium | string | 0.95 m Kepler Telescope | Telescope used for the discovery |
planets.0.discoveredFromSpace | boolean | true | True when the discovery came from a space telescope |
planets.0.controversial | boolean | false | True when the archive flags the planet's existence as questioned in the literature |
planets.0.transits | boolean | true | True when the planet is seen to transit its star |
planets.0.orbitalPeriodDays | number | 289.863876 | Time to complete one orbit, in days |
planets.0.semiMajorAxisAuPremium | number | 0.812 | Average orbital distance from the star in astronomical units (Earth = 1) |
planets.0.eccentricityPremium | number | 0.72 | Orbital eccentricity, 0 for a circle |
planets.0.inclinationDegPremium | number | 89.764 | Orbital inclination to our line of sight, in degrees |
planets.0.radiusEarth | number | 2.1 | Planet radius in Earth radii |
planets.0.radiusJupiterPremium | number | 0.1873 | Planet radius in Jupiter radii |
planets.0.massEarth | number | 9.1 | Planet mass in Earth masses (see massSource) |
planets.0.massJupiterPremium | number | 0.02863 | Planet mass in Jupiter masses |
planets.0.massSourcePremium | string | Mass | What the mass is: Mass (measured), Msini (minimum mass) or M-R relationship (estimated from radius) |
planets.0.densityGcm3Premium | number | 5.2 | Bulk density in grams per cubic centimetre |
planets.0.equilibriumTempKPremium | number | 279 | Equilibrium temperature in kelvin |
planets.0.insolationEarthPremium | number | 1.013 | Sunlight received relative to Earth (1 = Earth) |
planets.0.transitDurationHoursPremium | number | 7.415 | Length of a transit in hours, for transiting planets |
planets.0.raPremium | number | 289.217205 | Right ascension of the system, in degrees |
planets.0.decPremium | number | 47.884143 | Declination of the system, in degrees |
planets.0.distanceParsecsPremium | number | 194.642 | Distance from the Sun in parsecs |
planets.0.vMagnitudePremium | number | 11.751 | Host star's apparent V-band magnitude |
planets.0.planetType | string | super-earth | terrestrial, super-earth, neptune-like or gas giant, from mass (radius when no mass is on record) |
planets.0.inHabitableZonePremium | boolean | true | True when the planet gets 0.32 to 1.78 times Earth's sunlight; null when unknown |
planets.0.distanceLightYears | number | 634.84 | Distance from the Sun in light years |
planets.0.star | object | {…} | Host star properties |
planets.0.star.name | string | Kepler-22 | Host star name |
planets.0.star.spectralTypePremium | string | G5 V | Spectral type, e.g. G5 V |
planets.0.star.temperatureKPremium | number | 5596 | Effective temperature in kelvin |
planets.0.star.radiusSunPremium | number | 0.869 | Radius in solar radii |
planets.0.star.massSunPremium | number | 0.857 | Mass in solar masses |
planets.0.star.metallicityPremium | number | -0.255 | Metallicity [Fe/H] in dex |
planets.0.star.luminosityLogSunPremium | number | -0.1902 | Luminosity as log10 of solar luminosity |
planets.0.star.ageGyrPremium | number | 7 | Age in billions of years |
planets.0.star.surfaceGravityLogPremium | number | 4.443 | Surface gravity, log10(cm/s²) |
planets.0.system | object | {…} | System counts |
planets.0.system.starCount | number | 1 | Stars in the system |
planets.0.system.planetCount | number | 1 | Confirmed planets in the system |
planets.0.system.moonCount | number | 0 | Confirmed exomoons in the system |
planets.0.system.circumbinary | boolean | false | True when the planet orbits two stars |
dataAsOf | string | 2026-11-28 | Date APIVerve last rebuilt the catalog from the archive (YYYY-MM-DD) |
When a cell doesn't fill
A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.
| Cell reads | What happened |
|---|---|
#ERR Not connected | No API key saved. Open the side panel and connect your account. |
#ERR Replace <name> with a cell or value | A preview formula was copied as-is. Swap the placeholder for a cell reference. |
#ERR No "x" in exoplanets | An option name this source does not take. The message lists the ones it does. |
#ERR No data point "…" | The field path is not in the response. Check it against the table above. |
#PREMIUM(field) | The field exists but your plan does not include it. |
#ERR Out of credits | The cycle's credits are spent. Usage resets on your billing date. |
Before the formula works
The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.
- Install the add-in for Google Sheets or Excel.
- Open the side panel and sign in, or paste a key from your dashboard.
- Type the formula above into any cell.
Use cases
- Astronomy and Stargazing Apps
- Show the planets known around a star a user points their phone at, with size, orbit and how far away they are.
- Education and Classroom Tools
- Let students compare real worlds with Earth: which planets are rocky, which sit in the habitable zone, and how each was found.
- Space News and Media
- Enrich a discovery story with the planet's measured radius, mass, orbital period and host star in one call.
- Science Quizzes and Games
- Generate questions from discovery years, methods and record-holding planets across the whole catalog.
Other ways to use Exoplanet Data
Set up Exoplanet Data on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.
Related
More in Science: