78trust / 100

Calculations Positions

by Maha Celestial Calculations in Weather & location

x402 APIPassing, checked 3 h ago

Build an astronomy or astrology tool with seven classical-body geocentric longitudes at one UTC instant, Tropical and versioned Lahiri Sidereal frames, conventions and a deterministic receipt. Public or synthetic inputs only. No interpretations, forecasts or predictive certification. Request and result bodies are not stored.

POST https://www.mahastrategies.com/api/v1/calculations/positions

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
622 ms typical, 1.3 s 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://www.mahastrategies.com/api/v1/calculations/positions" \
  -H "content-type: application/json" \
  -d '{"dataClass":"synthetic","instantUtc":"2000-01-01T12:00:00.000Z"}'
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%2Fwww.mahastrategies.com%2Fapi%2Fv1%2Fcalculations%2Fpositions
const res = await pay("https://www.mahastrategies.com/api/v1/calculations/positions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"dataClass":"synthetic","instantUtc":"2000-01-01T12:00:00.000Z"}),
});
console.log(await res.json());

Example input

{
  "dataClass": "synthetic",
  "instantUtc": "2000-01-01T12:00:00.000Z"
}

Example output

{
  "boundaries": [
    "Calculation and convention evidence only; no forecasting narrati…"
  ],
  "conventions": {
    "ayanamsa": "maha-lahiri-j2000-iau2006/1",
    "birthBalance": "actual-nakshatra-stay-time",
    "chartVersion": "natal-chart/0.3",
    "elevationMeters": 0,
    "ephemeris": "astronomy-engine-2.1.19",
    "frames": [
      "tropical",
      "lahiri-sidereal"
    ],
    "houses": "sidereal-whole-sign",
    "inputTime": "UTC; caller resolves local time and DST",
    "nodes": "mean",
    "origin": "geocentric",
    "panchangaVersion": "panchanga/0.1",
    "timingVersion": "natal-timing/0.1",
    "yearLengthDays": 365.2425
  },
  "inputDigest": "sha256:649c719b2a97cde3110b7625358d29a1439d4ebd56326f01473819c19…",
  "offerId": "celestial-position-snapshot",
  "receiptDigest": "sha256:9b121934fd7356c688e958c3f59c296867b781cef9c04ec3958095d43…",
  "result": {
    "ayanamsaDegrees": 23.85297,
    "instantUtc": "2000-01-01T12:00:00.000Z",
    "positions": [
      {
        "body": "Sun",
        "siderealLongitude": 256.5156701608761,
        "tropicalLongitude": 280.36864016087605
      }
    ]
  },
  "version": "maha-celestial-calculations/0.1"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402692 ms$0.02
6 h agoPassed402838 ms$0.02
10 h agoPassed4021.3 s$0.02
13 h agoPassed402357 ms$0.02
17 h agoPassed402361 ms$0.02
21 h agoPassed402419 ms$0.02
24 h agoPassed402844 ms$0.02
29 h agoPassed402622 ms$0.02
32 h agoPassed402392 ms$0.02
35 h agoPassed402460 ms$0.02
40 h agoPassed4021.8 s$0.02