75trust / 100

Calculations Vimshottari

by Maha Celestial Calculations in Other

x402 APIPassing, checked 23 min ago

Build a Vimshottari timing display with birth balance, nine mahadashas and nine antardashas of the active mahadasha at a reference instant. Uses actual nakshatra stay time and a 365.2425-day year; includes conventions and receipt. Public or synthetic inputs only. No event prediction or interpretation; bodies are not stored.

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

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
435 ms typical, 1.9 s slowest 5%
Last check
23 min ago
Next check
in 8 min

How to call it

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

Each call costs $0.12 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.

POST https://www.mahastrategies.com/api/v1/calculations/vimshottari
content-type: application/json

{
  "dataClass": "synthetic",
  "instantUtc": "2000-01-01T12:00:00.000Z",
  "latitudeDegrees": 0,
  "longitudeDegrees": 0,
  "referenceInstantUtc": "2026-01-01T12:00:00.000Z"
}

Parameters

ParameterTypeRequiredDescription
dataClassstringYes One of: public, synthetic.
instantUtcstringYes
latitudeDegreesnumberYes
longitudeDegreesnumberYes
referenceInstantUtcstringYes

Example response

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

Example response, 97 lines
{
  "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:42b925510ad5fd4b12a183564f801499c8c3a0ce75e9ef54310bbdc4c…",
  "offerId": "celestial-vimshottari-timing",
  "receiptDigest": "sha256:3842a7dd38637f47bb131d814fa2fe6635632468713ae6f1a18f02f19…",
  "result": {
    "referenceInstantUtc": "2026-01-01T12:00:00.000Z",
    "vimshottari": {
      "activeAntardasha": {
        "activeAtReference": true,
        "endUtc": "2026-09-11T11:50:39.821Z",
        "level": "antardasha",
        "lord": "Venus",
        "nominalYears": 3.1666666666666665,
        "parentLord": "Saturn",
        "startUtc": "2023-07-12T21:24:51.821Z"
      },
      "activeMahadasha": {
        "activeAtReference": true,
        "endUtc": "2035-09-20T19:22:11.621Z",
        "level": "mahadasha",
        "lord": "Saturn",
        "nominalYears": 19,
        "startUtc": "2016-09-20T04:47:23.621Z"
      },
      "antardashas": [
        {
          "activeAtReference": false,
          "endUtc": "2019-09-23T23:17:54.221Z",
          "level": "antardasha",
          "lord": "Saturn",
          "nominalYears": 3.0083333333333333,
          "parentLord": "Saturn",
          "startUtc": "2016-09-20T04:47:23.621Z"
        }
      ],
      "balanceAtBirthYears": 0.7195755668021349,
      "balanceMethod": "actual-nakshatra-stay-time",
      "birthNakshatraEgressUtc": "2000-01-01T13:03:23.619Z",
      "birthNakshatraIngressUtc": "1999-12-31T10:37:37.056Z",
      "mahadashas": [
        {
          "activeAtReference": false,
          "endUtc": "2000-09-20T07:40:11.621Z",
          "level": "mahadasha",
          "lord": "Rahu",
          "nominalYears": 18,
          "startUtc": "1982-09-20T22:54:35.621Z"
        }
      ],
      "moonNakshatra": {
        "fractionElapsed": 0.9600235796221036,
        "index": 15,
        "name": "Svātī"
      },
      "nextTransition": {
        "atUtc": "2026-09-11T11:50:39.821Z",
        "level": "antardasha",
        "lord": "Sun"
      },
      "sourceReferences": [
        {
          "locator": "Chapter 46, verses 14–16; Chapter 51, verses 1–2",
          "note": "Used to verify the period order, durations, birth balance, and p…",
          "title": "Bṛhat Parāśara Horā Śāstra",
          "url": "https://vedic-astro.s3.amazonaws.com/books/bhrihat_parasara_hora…",
          "usage": "calculation-convention"
        }
      ],
      "startingLord": "Rahu",
      "system": "vimshottari-120-year",
      "traditionId": "vedic-jyotisha",
      "yearLengthDays": 365.2425
    }
  },
  "version": "maha-celestial-calculations/0.1"
}

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

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://www.mahastrategies.com/api/v1/calculations/vimshottari' \
  -H 'content-type: application/json' \
  --data-raw '{"dataClass":"synthetic","instantUtc":"2000-01-01T12:00:00.000Z","latitudeDegrees":0,"longitudeDegrees":0,"referenceInstantUtc":"2026-01-01T12:00:00.000Z"}'

# 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 - -X POST 'https://www.mahastrategies.com/api/v1/calculations/vimshottari' \
  -H 'content-type: application/json' \
  --data-raw '{"dataClass":"synthetic","instantUtc":"2000-01-01T12:00:00.000Z","latitudeDegrees":0,"longitudeDegrees":0,"referenceInstantUtc":"2026-01-01T12:00:00.000Z"}' \
  | 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.12 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.12" });
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.12 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.mahastrategies.com%2Fapi%2Fv1%2Fcalculations%2Fvimshottari&method=POST
const res = await pay("https://www.mahastrategies.com/api/v1/calculations/vimshottari", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "dataClass": "synthetic",
    "instantUtc": "2000-01-01T12:00:00.000Z",
    "latitudeDegrees": 0,
    "longitudeDegrees": 0,
    "referenceInstantUtc": "2026-01-01T12:00:00.000Z"
  }),
});
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.12 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.12"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://www.mahastrategies.com/api/v1/calculations/vimshottari",
        json={
            "dataClass": "synthetic",
            "instantUtc": "2000-01-01T12:00:00.000Z",
            "latitudeDegrees": 0,
            "longitudeDegrees": 0,
            "referenceInstantUtc": "2026-01-01T12:00:00.000Z",
        },
    )
    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
23 min agoPassed402449 ms$0.12
5 h agoPassed402488 ms$0.12
9 h agoPassed402275 ms$0.12
13 h agoPassed402262 ms$0.12
16 h agoPassed402390 ms$0.12
20 h agoPassed402412 ms$0.12
24 h agoPassed402414 ms$0.12
28 h agoPassed402347 ms$0.12
32 h agoPassed402310 ms$0.12
35 h agoPassed402505 ms$0.12
39 h agoPassed4022.1 s$0.12
42 h agoPassed402418 ms$0.12
46 h agoPassed4021.9 s$0.12
2 days agoPassed402466 ms$0.12
2 days agoPassed4021.2 s$0.12