82trust / 100

Debris Collision

by space.halowerk.com in Productivity & SaaS

x402 APIPassing, checked 3 h ago

Propagates two caller-supplied Cartesian states with constant velocity, analytically finds the clamped time of closest approach, and compares miss distance with combined hard-body radius. It ignores gravity, covariance, maneuver uncertainty, tracking error, and nonlinear dynamics and is not an operational conjunction assessment.

POST https://space.halowerk.com/v1/debris-collision

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
139 ms typical, 139 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://space.halowerk.com/v1/debris-collision" \
  -H "content-type: application/json" \
  -d '{"horizon_seconds":1800,"primary_position_km":{"x":7000,"y":0,"z":0},"primary_radius_m":5,"primary_velocity_km_s":{"x":0,"y":7.5,"z":0},"secondary_position_km":{"x":7000.08,"y":-1.2,"z":0.03},"secondary_radius_m":2,"secondary_velocity_km_s":{"x":-0.0001,"y":7.501,"z":0}}'
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fspace.halowerk.com%2Fv1%2Fdebris-collision
const res = await pay("https://space.halowerk.com/v1/debris-collision", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"horizon_seconds":1800,"primary_position_km":{"x":7000,"y":0,"z":0},"primary_radius_m":5,"primary_velocity_km_s":{"x":0,"y":7.5,"z":0},"secondary_position_km":{"x":7000.08,"y":-1.2,"z":0.03},"secondary_radius_m":2,"secondary_velocity_km_s":{"x":-0.0001,"y":7.501,"z":0}}),
});
console.log(await res.json());

Example input

{
  "horizon_seconds": 1800,
  "primary_position_km": {
    "x": 7000,
    "y": 0,
    "z": 0
  },
  "primary_radius_m": 5,
  "primary_velocity_km_s": {
    "x": 0,
    "y": 7.5,
    "z": 0
  },
  "secondary_position_km": {
    "x": 7000.08,
    "y": -1.2,
    "z": 0.03
  },
  "secondary_radius_m": 2,
  "secondary_velocity_km_s": {
    "x": -0.0001,
    "y": 7.501,
    "z": 0
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402139 ms$0.004