80trust / 100

Space Asteroids

by Tanod skypeek in Weather & location

x402 APIPassing, checked 3 h ago

skypeek (Tanod) asteroid close approaches to Earth (NASA/JPL).

POST https://tanod.dev/v1/space/asteroids

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
271 ms typical, 305 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://tanod.dev/v1/space/asteroids" \
  -H "content-type: application/json" \
  -d '{"days":7}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fspace%2Fasteroids
const res = await pay("https://tanod.dev/v1/space/asteroids", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"days":7}),
});
console.log(await res.json());

Example input

{
  "days": 7
}

Example output

{
  "approaches": [
    {
      "abs_magnitude_h": 26.357,
      "approach_time_tdb": "2026-10-08T09:51Z",
      "approach_time_utc": "2026-10-08T09:49:50Z",
      "designation": "2026 TH2",
      "diameter_m": null,
      "distance_au": 0.010042,
      "distance_km": 1502253,
      "distance_lunar": 3.91,
      "distance_max_au": 0.0100901637988732,
      "distance_min_au": 0.00999371934159074,
      "estimated_diameter_m": {
        "max": 31.8,
        "min": 14.2
      },
      "name": "(2026 TH2)",
      "relative_velocity_km_s": 28.0098581032273
    },
    {
      "abs_magnitude_h": 28.535,
      "approach_time_tdb": "2026-10-09T04:50Z",
      "approach_time_utc": "2026-10-09T04:48:50Z",
      "designation": "2026 TB3",
      "diameter_m": null,
      "distance_au": 0.004304,
      "distance_km": 643858,
      "distance_lunar": 1.67,
      "distance_max_au": 0.00437858293059308,
      "distance_min_au": 0.00422926964256826,
      "estimated_diameter_m": {
        "max": 11.7,
        "min": 5.2
      },
      "name": "(2026 TB3)",
      "relative_velocity_km_s": 11.0421037424502
    }
  ],
  "attribution": "Data: NASA/JPL SSD",
  "cache_seconds": 3600,
  "cached": false,
  "count": 15,
  "days": 7,
  "dist_max_au": 0.05,
  "dist_max_lunar": 19.5,
  "note": "Approach times are TDB as published (approach_time_utc subtracts ~69 s). diameter_m is the published value when JPL has one, else null; estimated_diameter_m is a rough range from absolute magnitude H assuming albedo 0.25..0.05. Close approach distances are nominal; see distance_min_au / distance_max_au for the 3-sigma range. Not an impact-risk assessment.",
  "source": {
    "license": "US Government (NASA/JPL) work",
    "name": "NASA/JPL Solar System Dynamics, Close-Approach Data API",
    "notice": "Data: NASA/JPL SSD. No endorsement by NASA or JPL is implied.",
    "terms": "https://ssd.jpl.nasa.gov/api.html",
    "url": "https://ssd-api.jpl.nasa.gov/doc/cad.html"
  },
  "stale": false,
  "total_matches": 16,
  "truncated": false
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402427 ms$0.001
7 h agoPassed402280 ms$0.001
11 h agoPassed402276 ms$0.001
14 h agoPassed402264 ms$0.001
18 h agoPassed402305 ms$0.001
21 h agoPassed402266 ms$0.001
25 h agoPassed402268 ms$0.001
30 h agoPassed402271 ms$0.001