Docs/Sources/Exoplanet Data

Exoplanet Data

Every Confirmed Planet Beyond the Solar System

OperationalCredits 2 per callp50 145msScience

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")

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.

InputTypeWhere it goesDescription
nameOptionalstring"name", valuePlanet 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
hostOptionalstring"host", valueHost star name, e.g. TRAPPIST-1, to list every planet in that system innermost first
length 0–80
methodOptionalstring"method", valueDiscovery 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
yearOptionalinteger"year", valueDiscovery year filter, e.g. 2016
range 1989–2100
typeOptionalstring"type", valuePlanet type filter: terrestrial, super-earth, neptune-like or gas giant
length 0–20
habitableOptionalPremiumboolean"habitable", valuetrue lists only planets in the optimistic habitable zone (0.32 to 1.78 times Earth's sunlight); false only those outside it
limitOptionalPremiuminteger"limit", valueMaximum 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")

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")
Good for exploring, not for filling down

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 fieldTypeExample cell valueDescription
querystringKepler-22 bThe name or host searched for; null for a filter-only list
countnumber1Number of planets matching the search and filters
returnednumber1Number of planets in this response (capped by limit)
planetsarray[1]Matching planets: by name, a system innermost first, or newest discoveries first for filter lists
planets.0.namestringKepler-22 bPlanet name as the archive lists it, e.g. Kepler-22 b
planets.0.hostNamestringKepler-22Host star name
planets.0.letterstringbPlanet letter within its system (b, c, d...)
planets.0.discoveryMethodstringTransitHow the planet was discovered: Transit, Radial Velocity, Imaging, Microlensing...
planets.0.discoveryYearnumber2011Year the discovery was announced
planets.0.discoveryFacilitystringKeplerObservatory or mission credited with the discovery, e.g. Kepler, TESS
planets.0.discoveryTelescopePremiumstring0.95 m Kepler TelescopeTelescope used for the discovery
planets.0.discoveredFromSpacebooleantrueTrue when the discovery came from a space telescope
planets.0.controversialbooleanfalseTrue when the archive flags the planet's existence as questioned in the literature
planets.0.transitsbooleantrueTrue when the planet is seen to transit its star
planets.0.orbitalPeriodDaysnumber289.863876Time to complete one orbit, in days
planets.0.semiMajorAxisAuPremiumnumber0.812Average orbital distance from the star in astronomical units (Earth = 1)
planets.0.eccentricityPremiumnumber0.72Orbital eccentricity, 0 for a circle
planets.0.inclinationDegPremiumnumber89.764Orbital inclination to our line of sight, in degrees
planets.0.radiusEarthnumber2.1Planet radius in Earth radii
planets.0.radiusJupiterPremiumnumber0.1873Planet radius in Jupiter radii
planets.0.massEarthnumber9.1Planet mass in Earth masses (see massSource)
planets.0.massJupiterPremiumnumber0.02863Planet mass in Jupiter masses
planets.0.massSourcePremiumstringMassWhat the mass is: Mass (measured), Msini (minimum mass) or M-R relationship (estimated from radius)
planets.0.densityGcm3Premiumnumber5.2Bulk density in grams per cubic centimetre
planets.0.equilibriumTempKPremiumnumber279Equilibrium temperature in kelvin
planets.0.insolationEarthPremiumnumber1.013Sunlight received relative to Earth (1 = Earth)
planets.0.transitDurationHoursPremiumnumber7.415Length of a transit in hours, for transiting planets
planets.0.raPremiumnumber289.217205Right ascension of the system, in degrees
planets.0.decPremiumnumber47.884143Declination of the system, in degrees
planets.0.distanceParsecsPremiumnumber194.642Distance from the Sun in parsecs
planets.0.vMagnitudePremiumnumber11.751Host star's apparent V-band magnitude
planets.0.planetTypestringsuper-earthterrestrial, super-earth, neptune-like or gas giant, from mass (radius when no mass is on record)
planets.0.inHabitableZonePremiumbooleantrueTrue when the planet gets 0.32 to 1.78 times Earth's sunlight; null when unknown
planets.0.distanceLightYearsnumber634.84Distance from the Sun in light years
planets.0.starobject{…}Host star properties
planets.0.star.namestringKepler-22Host star name
planets.0.star.spectralTypePremiumstringG5 VSpectral type, e.g. G5 V
planets.0.star.temperatureKPremiumnumber5596Effective temperature in kelvin
planets.0.star.radiusSunPremiumnumber0.869Radius in solar radii
planets.0.star.massSunPremiumnumber0.857Mass in solar masses
planets.0.star.metallicityPremiumnumber-0.255Metallicity [Fe/H] in dex
planets.0.star.luminosityLogSunPremiumnumber-0.1902Luminosity as log10 of solar luminosity
planets.0.star.ageGyrPremiumnumber7Age in billions of years
planets.0.star.surfaceGravityLogPremiumnumber4.443Surface gravity, log10(cm/s²)
planets.0.systemobject{…}System counts
planets.0.system.starCountnumber1Stars in the system
planets.0.system.planetCountnumber1Confirmed planets in the system
planets.0.system.moonCountnumber0Confirmed exomoons in the system
planets.0.system.circumbinarybooleanfalseTrue when the planet orbits two stars
dataAsOfstring2026-11-28Date 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 readsWhat happened
#ERR Not connectedNo API key saved. Open the side panel and connect your account.
#ERR Replace <name> with a cell or valueA preview formula was copied as-is. Swap the placeholder for a cell reference.
#ERR No "x" in exoplanetsAn 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 creditsThe 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.

  1. Install the add-in for Google Sheets or Excel.
  2. Open the side panel and sign in, or paste a key from your dashboard.
  3. 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.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Science:

Was this page helpful?