Build an astronomy or astrology tool with seven classical-body geocentric longitudes at on
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.
20000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-13
updated
Provider
www.mahastrategies.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"dataClass": "synthetic",
"instantUtc": "2000-01-01T12:00:00.000Z"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"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"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"dataClass": {
"enum": [
"public",
"synthetic"
],
"type": "string"
},
"instantUtc": {
"type": "string"
}
},
"required": [
"dataClass",
"instantUtc"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"boundaries": {
"type": "array"
},
"conventions": {
"type": "object"
},
"inputDigest": {
"type": "string"
},
"offerId": {
"const": "celestial-position-snapshot"
},
"receiptDigest": {
"type": "string"
},
"result": {
"type": "object"
},
"version": {
"const": "maha-celestial-calculations/0.1"
}
},
"required": [
"version",
"offerId",
"inputDigest",
"result",
"conventions",
"boundaries",
"receiptDigest"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"declaration-integrity": {
"canonicalResource": "https://www.mahastrategies.com/api/v1/calculations/positions",
"declarationDigest": "sha256:27ed6593a086f5e949aa4fb3a2ef093eedad9fed724c4693202792d23e992392",
"metadataVersion": "2026-08-10"
},
"maha-offer": {
"amount": "20000",
"asset": "USDC",
"assetDecimals": 6,
"canonicalResource": "https://www.mahastrategies.com/api/v1/calculations/positions",
"declarationInline": "compact",
"declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/celestial-position-snapshot",
"fullSourceTextStored": false,
"maxRequestBytes": 2048,
"method": "POST",
"network": "eip155:8453",
"offerId": "celestial-position-snapshot",
"payableInProduction": true,
"status": "available",
"verbatimExcerptsRetained": false
}
}Use it
curl
curl "https://www.mahastrategies.com/api/v1/calculations/positions" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://www.mahastrategies.com/api/v1/calculations/positions");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://www.mahastrategies.com/api/v1/calculations/positions")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1421.json, and this resource appears in /discovery/resources and /discovery/search.