{"uid":"cap_GV-oegYRQafi3fTXJHE1q","slug":"nasa-exoplanets-earth-comparison-calculator-41277101","name":"NASA Exoplanets: Earth Comparison Calculator","description":"Planet size, mass, density, gravity and escape speed as ratios to Earth, with insolation if luminosity and orbit are given.","url":"https://exoplanets-nasa.x402tookit.com/earth-comparison?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["radiusEarth"],"properties":{"orbitAu":{"type":"number","description":"Semi-major axis in AU (with luminositySolar)"},"massEarth":{"type":"number","description":"Planet mass in Earth masses, 0.001 to 20000"},"radiusEarth":{"type":"number","description":"Planet radius in Earth radii, 0.05 to 30"},"luminositySolar":{"type":"number","description":"Star luminosity in solar units (with orbitAu)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"mass":{"type":["null","number"]},"radius":{"type":["null","number"]},"source":{"type":["null","string"]},"density":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"formulas":{"type":["null","string"]},"sizeClass":{"type":["null","string"]},"densityGcc":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"radiusEarth":{"type":["null","number"]},"surfaceGravity":{"type":["null","number"]},"escapeVelocityKmS":{"type":["null","number"]},"escapeVelocityRatio":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IEh4YSAkEke3XPi7_4Ni0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes planet size, mass, density, surface gravity, and escape velocity as ratios to Earth, plus insolation if luminosity and orbital distance are provided.","exampleAgentPrompt":"What are the Earth-relative size, gravity, and escape velocity for a planet that's 1.6 Earth radii and 4.2 Earth masses, orbiting a star with 1.2 solar luminosities at 0.9 AU?","exampleUseCases":[{"title":"Characterizing a newly confirmed super-Earth","prompt":"I just found a confirmed exoplanet that's 1.8 Earth radii and 6 Earth masses — can you calculate its surface gravity, escape velocity, and density compared to Earth, and tell me what size class it falls into?"},{"title":"Estimating insolation alongside physical properties","prompt":"For a planet with radius 2.3 Earth radii and mass 10 Earth masses orbiting a star with 0.8 solar luminosities at 0.7 AU, give me all its Earth-comparison ratios including insolation."},{"title":"Screening a gas dwarf candidate","prompt":"Can you run Earth-comparison calculations for a planet that's 4 Earth radii and 15 Earth masses? I want to see its density and gravity ratio to understand if it could be rocky or gaseous."}],"resultDescription":"Returns a structured object with the planet's radius, mass, density (as ratio and in g/cc), surface gravity, escape velocity (as ratio and in km/s), size class label, a plain-language summary and verdict, and optionally insolation data if luminosity and orbit inputs were provided. Also includes the formulas used, any caveats, and flags for degraded or unchecked parameters.","failureModes":["Missing required radiusEarth parameter returns a validation error","radiusEarth outside range 0.05–30 may return an out-of-bounds error","massEarth outside range 0.001–20000 may be rejected","Providing orbitAu without luminositySolar (or vice versa) may result in insolation fields being null","Invalid numeric types for query params cause schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need normalized, Earth-relative physical property comparisons for an exoplanet — specifically size, mass, density, gravity, and escape velocity as dimensionless Earth ratios. It is ideal for quickly characterizing newly discovered planets, building intuition about habitability or composition, or populating educational or research summaries. Prefer it over the habitable-zone or equilibrium temperature endpoints when the primary question is about physical properties rather than orbital climate context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:44.270Z","isFirstParty":false,"canonicalSlug":"nasa-exoplanets-earth-comparison-calculator-41277101"}