NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Exoplanets API

GET

Look up any confirmed exoplanet: size, mass, orbit, temperature and its host star.

Exoplanets returns NASA Exoplanet Archive data for about 6,000 confirmed planets outside the solar system. Look one up by name, list a star system, or filter by discovery method, year, planet type or habitable zone. Every plan gets the discovery facts, orbital period, radius, mass, planet type and distance. Paid plans add orbit shape, temperatures, density, sunlight received, the habitable-zone flag and host star physics.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/exoplanets?name=Kepler-22%20b
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "query": "Kepler-22 b",
    "count": 1,
    "returned": 1,
    "planets": [
      {
        "name": "Kepler-22 b",
        "hostName": "Kepler-22",
        "letter": "b",
        "discoveryMethod": "Transit",
        "discoveryYear": 2011,
        "discoveryFacility": "Kepler",
        "discoveryTelescope": "0.95 m Kepler Telescope",
        "discoveredFromSpace": true,
        "controversial": false,
        "transits": true,
        "orbitalPeriodDays": 289.863876,
        "semiMajorAxisAu": 0.812,
        "eccentricity": 0.72,
        "inclinationDeg": 89.764,
        "radiusEarth": 2.1,
        "radiusJupiter": 0.1873,
        "massEarth": 9.1,
        "massJupiter": 0.02863,
        "massSource": "Mass",
        "densityGcm3": 5.2,
        "equilibriumTempK": 279,
        "insolationEarth": 1.013,
        "transitDurationHours": 7.415,
        "ra": 289.217205,
        "dec": 47.884143,
        "distanceParsecs": 194.642,
        "vMagnitude": 11.751,
        "planetType": "super-earth",
        "inHabitableZone": true,
        "distanceLightYears": 634.84,
        "star": {
          "name": "Kepler-22",
          "spectralType": "G5 V",
          "temperatureK": 5596,
          "radiusSun": 0.869,
          "massSun": 0.857,
          "metallicity": -0.255,
          "luminosityLogSun": -0.1902,
          "ageGyr": 7,
          "surfaceGravityLog": 4.443
        },
        "system": {
          "starCount": 1,
          "planetCount": 1,
          "moonCount": 0,
          "circumbinary": false
        }
      }
    ],
    "dataAsOf": "2026-11-28"
  }
}

About the Exoplanets API

An exoplanet API for astronomy apps, classroom tools, space news sites and science quizzes. Search Kepler-22 b or Proxima Cen b by name (spacing and hyphens don't matter), pass a host star such as TRAPPIST-1 to list its planets innermost first, or filter the whole catalog by discovery method (transit, radial velocity, imaging, microlensing...), discovery year, planet type or habitable zone.

Every plan gets the planet and host star names, discovery method, year and facility, orbital period, radius and mass in Earth units, the planet type (terrestrial, super-earth, neptune-like or gas giant) and the distance in light years. Paid plans add the semi-major axis, eccentricity and inclination, radius and mass in Jupiter units, density, equilibrium temperature, the sunlight it receives relative to Earth, a habitable-zone flag, transit duration, sky position, and the host star's spectral type, temperature, radius, mass, metallicity, luminosity and age, plus up to 100 results per call.

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. Data comes from the Planetary Systems Composite Parameters table and is refreshed monthly.

How it works

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.

What people use it for

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.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Exoplanets

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Exoplanets API.

Read the docs →
How many exoplanets are covered?
Every confirmed planet in the NASA Exoplanet Archive's Planetary Systems Composite Parameters table, about 6,000 planets in 4,500 systems. Candidates that are not yet confirmed (such as unvetted TESS objects of interest) are not included. The catalog is checked monthly and new confirmations appear after the next refresh.
What does the Free plan return?
The Free plan returns each planet's name, host star, discovery method, year and facility, orbital period, radius and mass in Earth units, planet type, distance in light years and system counts, up to 10 results a call. Orbit shape, Jupiter units, density, temperatures, sunlight received, the habitable-zone flag, transit details, sky coordinates, the host star's physical properties and up to 100 results a call need a paid plan.
Where do the values come from?
From the NASA Exoplanet Archive at Caltech/IPAC. The composite table picks one value per parameter from the published solutions for each planet, so a planet's radius and mass may come from different papers. Masses marked M-R relationship in massSource are estimated from the radius rather than measured; Msini is a minimum mass from radial velocity.
How is the habitable zone decided?
inHabitableZone is true when the planet receives between 0.32 and 1.78 times the sunlight Earth does, a wide band that matches the optimistic habitable zone around Sun-like stars. It says nothing about atmosphere or surface, and it is null when the archive has no insolation value for the planet.
Which plan covers a classroom app with 20,000 lookups a month?
Starter covers it. At 2 credits per call, 20,000 lookups use 40,000 credits, or a fifth of the 200,000 credits on Starter, about $0.30 per 1,000 calls. The Free plan includes 100 calls per month.

Ready to build with Exoplanets? Start with 200 free credits — one key unlocks all 417+ APIs.

Explore the catalog

417+ APIs on the same key and the same response shape.

Browse all APIs