96Astro API

Documentation

Bundles, sections and single endpoints

Ask for everything, one section, or exactly one chart, dosha, koota or table, with the same numbers and a lower price for less.

Three levels

Every family offers its calculations at up to three levels. Pick the smallest one that answers your question.

LevelWhat you getExample
BundleEverything in one callvedic-charts/birth-chart-bundle, all 41 groups of Parashari yogas
SectionOne page's worth, sometimes narrowed with an optionvedic-charts/divisional-charts with "charts": ["D9", "D10"]
SingleExactly one thingvedic-charts/divisional-chart-d9, doshas-yogas/dosha-kemadruma, matching/koota-nadi

A single endpoint returns the same numbers as its section, because it is cut from the same calculation. A section does not drift from its singles, and you can move between levels without re-checking results. Each family page lists its single endpoints under the section they come from, and each single's own page links back to that section. A single cut from another family's section has its own card on its family's page.

Where traditions differ on a calculation, Classical methods and conventions says which one we follow and what each field means.

What they cost

A single costs one price class less than the section it is cut from, and never less than the cheapest class:

Cut fromA single costs
A heavy section (most birth-chart sections)1
A report-priced section (Lal Kitab and BNN readings, the timing and maraka parts of a report)3
A light or standard sectionthe same as the section

A chart single with its drawing ("include_image": true) costs 3, the price of chart-image-styles. Each operation in the OpenAPI document lists its prices in x-credits-by-input, and every answer states its charge in meta.credits_used.

Several singles for one birth share one calculation. The calculation behind a birth's sections is kept for 15 minutes, keyed by the exact birth and options. A page that calls ten singles for the same person pays for ten small answers but waits for one computation: the first call takes a few seconds, and the rest answer from it.

Options

Every single takes the birth (datetime, timezone or utc_offset, latitude, longitude). Where they apply, it also takes ayanamsha (any of the published variants), node (true or mean), language and labels. A single also takes the options that choose its part:

OptionValuesOn
planeta planet's name, or allplanet-position, shadbala-planet, bhinnashtakavarga, lal-kitab-planets, bnn-planet-phala
house1 to 12, or allhouse, jaimini-arudha-padas, lal-kitab-houses, personal-characteristics-house
vargaD1 to D300planet-position, house, chart-from-reference, upagraha-varga-positions
referencelagna (default), a planet (moon, sun …) or house:Nthe 23 divisional-chart-dN, planet-position, house, chart-from-reference
system, method, as_of, from, to, levela dasha system and its windowdasha-current, dasha-periods-between
mahadasha, antardashaa Vimshottari lordvimshottari-antardasha, vimshottari-pratyantardasha
viewboth, planet or housekp-significators
exceptionstrue or falsejaimini-arudha-padas
namepart of a yoga's nameyoga

reference re-counts the houses from the point you choose (Bhavat Bhavam): moon gives the Chandra Lagna and sun the Surya Lagna, and house:4 makes the 4th house the first.

Chart singles

The 23 divisional charts (divisional-chart-d1 to -d300) and the 7 special lagna charts take these options:

OptionWhat it does
include_image with image_styleAdds the drawing in north, south, east or western style. The image options (image_format, image_width, image_theme, image_delivery) apply.
image_layersMarks drawn on the image: uccha_neecha (↑ exalted, ↓ debilitated, from that chart's own dignity), vargottama (■), pushkara (✦, D1), karakas (AK … DK), hide_outer_planets, hide_degrees. It needs include_image. chart-image-styles takes the same list as layers.
markers (divisional charts)Adds to each planet its dignity in that chart (for the sixteen classical vargas), vargottama and, in D1, pushkara_navamsa and pushkara_bhaga, as data. It costs nothing extra.

The image is drawn from the lagna, so a request that combines include_image with a reference other than the lagna is refused (422, not charged). Use the data, or leave out reference.

Example

curl https://api.96astroapi.com/v1/vedic-charts/divisional-chart-d9 \
  -H "Authorization: Bearer $ASTRO_API_KEY" -H "Content-Type: application/json" \
  -d '{"datetime": "1990-10-18T14:30:00", "timezone": "Asia/Kolkata", "latitude": 28.6139, "longitude": 77.209}'
{
  "data": {
    "ayanamsha": { "id": "lahiri", "name": "N.C. Lahiri", "degrees": 23.7285, "degrees_true": 23.7321 },
    "node": "true",
    "chart": {
      "code": "D9",
      "name": "Navamsha",
      "reference": "lagna",
      "ascendant": { "sign": "Leo", "sign_number": 5, "degree": 5.0425 },
      "planets": [
        { "name": "Sun", "sign": "Libra", "sign_number": 7, "degree": 8.955, "retrograde": false, "combust": false, "house": 3 }
      ],
      "houses": [{ "house": 1, "sign": "Leo", "sign_number": 5, "planets": [] }]
    }
  }
}

The response above is shortened: the real one has every planet and all twelve houses.

Languages

A single with sentences (doshas, readings, numerology numbers, poruthams) answers in the same languages as its section. A single with only data (charts, positions, strength tables) has no sentences to translate, so it answers in English; send "labels": "<code>" to get the names of signs, planets and nakshatras in your language next to the data. See Languages.

Every family's singles

FamilySingle endpointsFor example
Vedic44divisional-chart-d1, divisional-chart-d2, divisional-chart-d3, divisional-chart-d4
Strengths & relationships28shadbala-sthana, shadbala-dig, shadbala-kala, shadbala-chesta
Dasha systems4dasha-current, dasha-periods-between, vimshottari-antardasha, vimshottari-pratyantardasha
Panchang & almanac51panchang-tithi, panchang-nakshatra, panchang-yoga, panchang-karana
Compatibility matching13koota-varna, koota-vashya, koota-tara, koota-yoni
Doshas & yogas15sade-sati-current, dhaiya, dosha-mangal, dosha-kala-sarpa
Predictions & readings2personal-characteristics-house, sarvatobhadra-chakra
Krishnamurti Paddhati (KP)4kp-cusps, kp-planets, kp-significators, kp-fortuna
Jaimini12jaimini-atmakaraka, jaimini-karakamsha, jaimini-swamsha, jaimini-arudha-lagna
Lal Kitab7lal-kitab-planets, lal-kitab-houses, lal-kitab-chalit, lal-kitab-friendship
Bhrigu Nandi Nadi (BNN)9bnn-d1-chart, bnn-chalit-chart, bnn-classical-yogas, bnn-nadi-yogas
Annual charts (Tajika)8varshaphal-muntha, varshaphal-panchadhikari, varshaphal-sahams, varshaphal-monthly-charts
Numerology12numerology-radical-number, numerology-destiny-number, numerology-name-number, lo-shu-grid
Reports7maraka-planets, marriage-timing, career-timing, career-fields
Human Design4human-design-activations, human-design-centers-channels, human-design-analysis, human-design-traits

Mistakes are free

These requests are refused before anything is charged:

  • an option the single does not take, such as charts on divisional-chart-d9;
  • a value outside its list, such as house: 13 or an unknown layer;
  • a combination that cannot be drawn, such as image_layers without include_image.

Each answers 422 with the field and the values it accepts.

On this page