Skip to content
96Astro API

Utilities

Available

Compare Methods API

Runs one capability under two to seven values of one of its option fields (a method, an ayanamsha, a school) and returns every result side by side with the top-level fields that differ, e.g. Chara dasha by the standard rule and by K.N. Rao's.

  • POST /v1/utilities/compare-methods
  • 3 credits
Request
curl https://api.96astroapi.com/v1/utilities/compare-methods \  -H "Authorization: Bearer $ASTRO_API_KEY" \  -H "Content-Type: application/json" \  -d '{
      "capability": "chara-dasha",
      "field": "method",
      "values": [
        "standard",
        "kn_rao"
      ],
      "input": {
        "datetime": "1990-10-18T14:30:00",
        "timezone": "Asia/Kolkata",
        "latitude": 28.6139,
        "longitude": 77.209,
        "depth": "mahadasha"
      }
    }'

Overview

Runs one capability under two to seven values of one of its option fields (a method, an ayanamsha, a school) and returns every result side by side with the top-level fields that differ, e.g. Chara dasha by the standard rule and by K.N. Rao's.

Call it with POST /v1/utilities/compare-methods. Input: specific input. Output: JSON, as a direct response. Each successful call costs 3 credits.

  • POST /v1/utilities/compare-methods
  • 3 credits
  • Specific input

Try it

Runs the real calculation, free and without a key, a few times a minute. For more, and for AI readings, get a free sandbox key.

Response

Ready when you are

Press Run it to see the live response here.

Example response

Fields in dataMeasured from 3 real answers to different inputs: a required field was in every one.

  • capabilitystring
  • fieldstring
  • valuesarray of string
  • differing_fieldsarray of string
  • same_fieldsarray of string
  • runsarray of object
200Example response

Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and images are replaced by a placeholder.

Loading the example…

Request schema and every field: the Utilities reference.

FAQ

Compare Methods API: common questions

4answers

Ask the team
01What does the Compare Methods API return?

Runs one capability under two to seven values of one of its option fields (a method, an ayanamsha, a school) and returns every result side by side with the top-level fields that differ, e.g. Chara dasha by the standard rule and by K.N. Rao's. The response's data object includes capability, field, values, differing_fields, same_fields and runs. See the reference for an example response.

02What input does Compare Methods need?

Specific input.

03How much does a Compare Methods call cost?

3 credits per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.

04Can I try it before paying?

Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.