32trust / 100

Host Star Planets

by NASA Exoplanets in Other

x402 APIFailing, checked 21 h ago

All confirmed planets of a host star by name, with star properties and each planet's period, size and habitable-zone position.

GET
https://exoplanets-nasa.x402tookit.com/host-star-planets
Price
$0.02
per call in USDC
Uptime
50.0%
last 30 days
Response time
547 ms
823 ms slowest 5%
Last check
Failed
21 h ago, next in 2 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 21 h ago: Expected HTTP 402, got 530

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://exoplanets-nasa.x402tookit.com/host-star-planets

Each call costs $0.02 in USDC on Polygon, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://exoplanets-nasa.x402tookit.com/host-star-planets?star=TRAPPIST-1

Parameters

ParameterTypeRequiredDescription
starstringYesHost star name, for example TRAPPIST-1, Kepler-90 or Proxima Cen

Example response

The provider's example. We can't check it without paying.

Example response, 64 lines
{
  "asOf": "2026-10-11T08:48:43.760Z",
  "conservativeZoneCount": 3,
  "degraded": false,
  "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
  "notChecked": [
    "planets not yet confirmed or not yet discovered: a short list does not mean a short system",
    "companion stars' own planets (each host star is listed separately by the archive)",
    "…2 more"
  ],
  "planetCount": 7,
  "planets": [
    {
      "discoveryMethod": "Transit",
      "discoveryYear": 2016,
      "equilibriumTempK": 397.6,
      "habitableZonePosition": "TOO_HOT_INSIDE_OPTIMISTIC_INNER_EDGE",
      "host": "TRAPPIST-1",
      "insolationEarth": 4.153,
      "massEarth": 1.374,
      "massIsMinimum": false,
      "name": "TRAPPIST-1 b",
      "orbitalPeriodDays": 1.510826,
      "radiusEarth": 1.116,
      "semiMajorAxisAu": 0.01154,
      "sizeClass": "Earth-size"
    },
    {
      "discoveryMethod": "Transit",
      "discoveryYear": 2016,
      "equilibriumTempK": 339.7,
      "habitableZonePosition": "TOO_HOT_INSIDE_OPTIMISTIC_INNER_EDGE",
      "host": "TRAPPIST-1",
      "insolationEarth": 2.214,
      "massEarth": 1.308,
      "massIsMinimum": false,
      "name": "TRAPPIST-1 c",
      "orbitalPeriodDays": 2.421937,
      "radiusEarth": 1.097,
      "semiMajorAxisAu": 0.0158,
      "sizeClass": "Earth-size"
    }
  ],
  "reasons": [
    "Habitable-zone position is a screen of orbit against the Kopparapu 2013 climate model, not a habitability claim.",
    "Archive lists 7 planet(s) in the system and 7 returned."
  ],
  "source": "NASA Exoplanet Archive (Caltech/IPAC)",
  "sourceUrl": "https://exoplanetarchive.ipac.caltech.edu",
  "star": {
    "ageGyr": 7.6,
    "distanceLightYears": 40.54,
    "distanceParsecs": 12.42988881,
    "luminosityLog10Solar": -3.25727,
    "massSolar": 0.0898,
    "name": "TRAPPIST-1",
    "radiusSolar": 0.1192,
    "spectralType": "M8.0 V",
    "starsInSystem": 1,
    "temperatureK": 2566
  },
  "summary": "TRAPPIST-1 has 7 confirmed planet(s) in the archive and is 40.5 light-years away; 3 orbit(s) in the conservative habitable zone (TRAPPIST-1 e, TRAPPIST-1 f, TRAPPIST-1 g).",
  "verdict": "SYSTEM_FOUND"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://exoplanets-nasa.x402tookit.com/host-star-planets?star=TRAPPIST-1'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://exoplanets-nasa.x402tookit.com/host-star-planets?star=TRAPPIST-1' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fexoplanets-nasa.x402tookit.com%2Fhost-star-planets
const res = await pay("https://exoplanets-nasa.x402tookit.com/host-star-planets?star=TRAPPIST-1");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://exoplanets-nasa.x402tookit.com/host-star-planets?star=TRAPPIST-1")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
21 h agoExpected HTTP 402, got 530530132 ms-
2 days agoExpected HTTP 402, got 530530120 ms-
3 days agoExpected HTTP 402, got 53053095 ms-
5 days agoExpected HTTP 402, got 530530101 ms-
5 days agoExpected HTTP 402, got 53053090 ms-
Show 9 older checks
5 days agoExpected HTTP 402, got 530530229 ms-
5 days agoExpected HTTP 402, got 530530154 ms-
5 days agoPassed402509 ms$0.02
5 days agoPassed402547 ms$0.02
6 days agoPassed402613 ms$0.02
6 days agoPassed402703 ms$0.02
6 days agoPassed402474 ms$0.02
6 days agoPassed402481 ms$0.02
7 days agoPassed402823 ms$0.02