[SWISS EPHEMERIS]full double-precision calculations

The astrology engine for developers

78 precise endpoints across Vedic and Western astrology — planets, dashas, doshas, panchanga, natal charts, synastry, chart images. One call, one calculation, one request. 21 languages, one subscription.

5,000 requests or 14 days · no credit card

123456789101112AsJuMoRaMaSaKeSuMeVe

SVG rendered by the same API — themed, in one call

POST /v1/planets

$ curl -X POST https://api.astroask.app/v1/planets \

-H "X-API-Key: ak_live_…" \

-d '{"date":"1990-01-15T10:30:00","lat":28.61,"lng":77.21}'

{
  "success": true,
  "data": {
    "planets": [
      {
        "planet": "Moon",
        "signName": "Leo",
        "degreeInSign": 20.12728979397164,
        "nakshatra": "Purvaphalgini",
        "house": 6,
        "dignity": "Friendly Sign"
      },
      /* …8 more grahas, full precision */
    ]
  }
}
Swiss Ephemeris78 endpoints1 call = 1 request21 languages

[WHY ASTROASK]

One question, one call, one request

Ask precisely, pay precisely

Every endpoint computes exactly one thing, and every call costs exactly one request — /moon-sign, /shadbala, /western/synastry, all the same price. No credit weights, no endpoint tiers, no bill you have to model in a spreadsheet.

Vedic + Western, unified

Dashas, doshas, and panchanga next to natal charts, aspects, and synastry. One provider, one schema, one subscription — every endpoint on every plan.

Full precision, real types

Longitudes as actual JSON numbers at full double precision — never rounded, never stringified. Real HTTP status codes, structured errors, rate-limit headers. Engineering you can build on.

[STRUCTURED DATA]

Data you can branch on

The same planet, from two astrology APIs. One of these responses can go straight into your matching engine, research pipeline, or model. The other has to be parsed, coerced, and second-guessed first.

[ASTROASK]

POST /v1/planets
{
  "planet": "Mars",
  "longitude": 235.98352051331312,
  "speed": 0.7117720663103958,
  "isRetrograde": false,
  "nakshatra": "Jyeshtha",
  "house": 9,
  "dignity": "Own Sign"
}

Real numbers at full double precision, real booleans, stable field names. Round on your side if you want — we never throw information away.

[ELSEWHERE]

a leading competitor
{
  "name": "Mars",
  "full_degree": "235.9835",
  "norm_degree": "25.9835",
  "speed": "0.9614368",
  "is_retro": "false",
  "sign": "Scorpio",
  "house": "9"
}

"false" is truthy in JavaScript. String-typed booleans are bugs waiting to happen — every AstroAsk value is a real JSON type.

[WE SHOW OUR WORK]

Verdicts with the reasoning attached

Ask a typical API whether a chart is Manglik and you get {"manglik_dosha": "No"}. Ask us and you get the verdict and the working: which reference points trigger the dosha, which classical cancellation rules apply, and what the answer is after they do.

Every field is machine-readable, so your product can explain itself to users — or apply a stricter school of rules than ours by reading references[] directly.

POST /v1/dosha/manglik
{
  "success": true,
  "data": {
    "isManglik": true,
    "severity": "Mild",
    "references": [
      { "reference": "fromLagna", "house": 9,  "triggers": false },
      { "reference": "fromMoon",  "house": 4,  "triggers": true  },
      { "reference": "fromVenus", "house": 11, "triggers": false }
    ],
    "cancellations": [{
      "id": "mars-in-own-sign",
      "name": "Mars in its own sign (Aries or Scorpio)",
      "cancels": ["fromLagna", "fromMoon", "fromVenus"]
    }],
    "isCancelled": true
  }
}

[ENDPOINTS]

Every calculation you'll need

Each endpoint does one calculation and does it exactly. Need several? Bundle up to 50 of them into a single HTTP request with /batch.

/planets

All nine grahas — longitude, nakshatra, house, dignity — in one call.

/moon-sign

One question, one answer, one request. Precision by default.

/dasha/current

The running maha, antar and pratyantar dasha right now.

/panchanga

Tithi, nakshatra, yoga, karana for any day and place.

/dosha/manglik

Manglik verdict with severity and cancellation rules.

/compatibility

Ashtakoot milan — 36-point guna breakdown with insights.

/transits

Sade sati and live transits against the natal chart.

/shadbala

Six-fold planetary strength, every component numeric.

/western

Tropical natal chart with aspects, houses, patterns.

/western/synastry

Relationship aspects with four continuous theme scores.

/chart/north-indian

The chart as a themed SVG or PNG image, one call.

/batch

Up to 50 calls in one HTTP request — a full chart in one round trip.

[BATCH]

The full chart, one round trip

Building a complete birth chart? Put the pieces — /ascendant, /planets, /houses/vedic, /navamsa and friends — into one POST /batch. Up to 50 calls travel in a single HTTP request and come back in order, each in its own envelope.

Each item costs one request — one call's convenience, honest per-item pricing. One bad item fails alone; the rest of the batch still succeeds. Direct-channel exclusive.

six calculations, one request body
POST /v1/batch                    // 1 HTTP call
{
  "requests": [
    { "path": "/ascendant",    "body": { …birth } },
    { "path": "/planets",      "body": { …birth } },
    { "path": "/houses/vedic", "body": { …birth } },
    { "path": "/navamsa",      "body": { …birth } },
    { "path": "/panchanga",    "body": { …birth } },
    { "path": "/yogas",        "body": { …birth } }
  ]
}
// → 6 results, in order, one envelope each.
//   6 items = 6 requests. Nothing weighted.

[CHART IMAGES]

Charts your users can actually see

North Indian charts and Western wheels as themed SVG or PNG — rendered by the API in the same call. Every image below is live output, not an illustration.

North Indian · light

North Indian · light

North Indian · dark, with table

North Indian · dark, with table

Western wheel · aspect lines

Western wheel · aspect lines

78

precise endpoints

1 = 1

call to request — no credit math

50

calls per /batch

21

languages — a real lang param

[INTEGRATION]

Live in minutes, not months

  1. 01

    Get your key

    Sign up and your trial key is issued instantly — every endpoint, 5,000 requests, no card.

  2. 02

    Make the call

    POST birth details to /planets — all nine grahas back at full precision. OpenAPI spec and generated reference docs included.

  3. 03

    Ship

    Render chart images, run compatibility, localize in 21 languages. Go live.

curl -X POST https://api.astroask.app/api/v1/planets \
  -H "X-API-Key: ak_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "date": "1990-01-15T10:30:00",
    "lat": 28.6139,
    "lng": 77.2090,
    "lang": "en"
  }'

[PRICING]

One product. Every endpoint.

No suites, no credit weights, no per-endpoint price list. Every plan includes all 78 endpoints, and every call — /moon-sign, /shadbala, or any item inside a /batch — costs exactly one request.

Three volume tiers — Pocket at ₹799/$9, Orbit at ₹2,499/$29, and Cosmos at ₹8,999/$99 a month — launch alongside self-serve billing. Until then, the trial is the whole product. See pricing.

FREE TRIAL

5,000 requests

or 14 days — whichever comes first

  • All 78 endpoints, nothing gated
  • Key issued instantly, no card
  • Chart images, batch, 21 languages
Start free trial

Ship your astrology feature this week

No credit card · 5,000 requests or 14 days