43trust / 100

Space Ephemeris

by Saylor Innovations Data Desk in Other

x402 APIFailing, checked 3 h ago

JPL Horizons sky position of the Sun, Moon, planets, Ceres or Vesta - right ascension, declination, apparent magnitude, distance in AU, range rate and elongation

GET
https://saylorinnovations.com/api/space/ephemeris
Price
$0.01
per call in USDC
Uptime
75.0%
last 30 days
Response time
206 ms
702 ms slowest 5%
Last check
Failed
3 h ago, next in 21 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 3 h ago: Expected HTTP 402, got 404

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

How to call it

GET https://saylorinnovations.com/api/space/ephemeris

Each call costs $0.01 in USDC on Base, 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://saylorinnovations.com/api/space/ephemeris?body=mars&days=3

Parameters

ParameterTypeRequiredDescription
bodystringYessun, moon, mercury, venus, mars, jupiter, saturn, uranus, neptune, pluto, ceres or vesta
daysstringNooptional 1-30, default 3

Example response

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

Example response, 77 lines
{
  "approaching": true,
  "body": "Mars",
  "days": 4,
  "ephemeris": [
    {
      "apparent_magnitude": 1.016,
      "date": "2026-Oct-17 00:00",
      "dec_deg": 18.89577,
      "distance_au": 1.55009122689896,
      "distance_million_km": 231.89,
      "elongation_from_sun_deg": 72.9096,
      "light_time_minutes": 12.89,
      "ra_deg": 133.18032,
      "ra_hours": 8.8787,
      "range_rate_km_s": -13.0795763,
      "surface_brightness": 4.543
    },
    {
      "apparent_magnitude": 0.995,
      "date": "2026-Oct-18 00:00",
      "dec_deg": 18.76489,
      "distance_au": 1.5425175893597,
      "distance_million_km": 230.76,
      "elongation_from_sun_deg": 73.3568,
      "light_time_minutes": 12.83,
      "ra_deg": 133.73946,
      "ra_hours": 8.916,
      "range_rate_km_s": -13.1484912,
      "surface_brightness": 4.532
    },
    {
      "apparent_magnitude": 0.986,
      "date": "2026-Oct-19 00:00",
      "dec_deg": 18.63331,
      "distance_au": 1.53490441159291,
      "distance_million_km": 229.62,
      "elongation_from_sun_deg": 73.8071,
      "light_time_minutes": 12.77,
      "ra_deg": 134.29516,
      "ra_hours": 8.953,
      "range_rate_km_s": -13.2165144,
      "surface_brightness": 4.533
    },
    {
      "apparent_magnitude": 0.965,
      "date": "2026-Oct-20 00:00",
      "dec_deg": 18.50108,
      "distance_au": 1.52725219646807,
      "distance_million_km": 228.47,
      "elongation_from_sun_deg": 74.2605,
      "light_time_minutes": 12.7,
      "ra_deg": 134.84738,
      "ra_hours": 8.9898,
      "range_rate_km_s": -13.2836889,
      "surface_brightness": 4.522
    }
  ],
  "evening_visible_hint": "well separated from the Sun, observable",
  "note": "JPL Horizons astrometric positions (ICRF) as seen from Earth's centre; RA in degrees and hours, distance in AU. Negative range rate means the body is getting closer.",
  "now": {
    "apparent_magnitude": 1.016,
    "date": "2026-Oct-17 00:00",
    "dec_deg": 18.89577,
    "distance_au": 1.55009122689896,
    "distance_million_km": 231.89,
    "elongation_from_sun_deg": 72.9096,
    "light_time_minutes": 12.89,
    "ra_deg": 133.18032,
    "ra_hours": 8.8787,
    "range_rate_km_s": -13.0795763,
    "surface_brightness": 4.543
  },
  "observer": "Earth geocenter",
  "source": "NASA JPL Horizons",
  "start": "2026-10-17"
}

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.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/space/ephemeris?body=mars&days=3'

# 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://saylorinnovations.com/api/space/ephemeris?body=mars&days=3' \
  | 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.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
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.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fspace%2Fephemeris
const res = await pay("https://saylorinnovations.com/api/space/ephemeris?body=mars&days=3");
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.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://saylorinnovations.com/api/space/ephemeris?body=mars&days=3")
    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
3 h agoExpected HTTP 402, got 404404219 ms-
32 h agoTimed out---
4 days agoExpected HTTP 402, got 404404272 ms-
4 days agoPassed402233 ms$0.01
5 days agoPassed402339 ms$0.01
Show 10 older checks
6 days agoPassed402173 ms$0.01
6 days agoPassed402179 ms$0.01
7 days agoPassed402192 ms$0.01
7 days agoPassed402319 ms$0.01
8 days agoPassed402304 ms$0.01
8 days agoPassed402173 ms$0.01
9 days agoPassed402484 ms$0.01
9 days agoPassed402364 ms$0.01
10 days agoPassed402188 ms$0.01
10 days agoPassed402177 ms$0.01

History

2 Nov 2026Price on Solana changed from 102061 units of So11111111111111111111111111111111111111112 to 102949 units of So11111111111111111111111111111111111111112
2 Nov 2026Price on Solana changed from 102852 units of So11111111111111111111111111111111111111112 to 102061 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102579 units of So11111111111111111111111111111111111111112 to 102852 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102775 units of So11111111111111111111111111111111111111112 to 102579 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 101697 units of So11111111111111111111111111111111111111112 to 102775 units of So11111111111111111111111111111111111111112
29 Oct 2026Price on Solana changed from 94614 units of So11111111111111111111111111111111111111112 to 97448 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95153 units of So11111111111111111111111111111111111111112 to 94614 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95078 units of So11111111111111111111111111111111111111112 to 95153 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 96020 units of So11111111111111111111111111111111111111112 to 95078 units of So11111111111111111111111111111111111111112
27 Oct 2026Price on Solana changed from 96612 units of So11111111111111111111111111111111111111112 to 96020 units of So11111111111111111111111111111111111111112
26 Oct 2026Price on Solana changed from 96383 units of So11111111111111111111111111111111111111112 to 96612 units of So11111111111111111111111111111111111111112
26 Oct 2026Price on Solana changed from 95444 units of So11111111111111111111111111111111111111112 to 96383 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 96105 units of So11111111111111111111111111111111111111112 to 95444 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 95424 units of So11111111111111111111111111111111111111112 to 96105 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 94753 units of So11111111111111111111111111111111111111112 to 95424 units of So11111111111111111111111111111111111111112