Skip to content
96Astro API

Compatibility matching

Available

Aggregate Match Statistics API

Scores up to 100 star pairs and returns the average, best and lowest, a count by verdict and every pair ranked.

  • POST /v1/matching/aggregate-match
  • 1 credit
Request
curl https://api.96astroapi.com/v1/matching/aggregate-match \  -H "Authorization: Bearer $ASTRO_API_KEY" \  -H "Content-Type: application/json" \  -d '{
      "pairs": [
        {
          "label": "candidate-1",
          "groom": {
            "nakshatra": "Rohini",
            "pada": 2
          },
          "bride": {
            "nakshatra": "Hasta",
            "pada": 1
          }
        },
        {
          "label": "candidate-2",
          "groom": {
            "nakshatra": "Rohini",
            "pada": 2
          },
          "bride": {
            "nakshatra": "Swati",
            "pada": 3
          }
        }
      ]
    }'

Overview

Scores up to 100 star pairs and returns the average, best and lowest, a count by verdict and every pair ranked.

Call it with POST /v1/matching/aggregate-match. Input: specific input. Output: JSON, as a direct response. Each successful call costs 1 credit.

  • POST /v1/matching/aggregate-match
  • 1 credit
  • 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 6 real answers to different inputs: a required field was in every one.

  • pairsnumber
  • average_totalnumber
  • maximumnumber
  • average_percentagenumber
  • bestobject
  • lowestobject
  • verdictsobject
  • rankedarray 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 image data is shortened.

Loading the example…

Request schema and every field: the Compatibility matching reference.

FAQ

Aggregate Match Statistics API: common questions

4answers

Ask the team
01What does the Aggregate Match Statistics API return?

Scores up to 100 star pairs and returns the average, best and lowest, a count by verdict and every pair ranked. The response's data object includes pairs, average_total, maximum, average_percentage, best, lowest, verdicts and ranked. See the reference for an example response.

02What input does Aggregate Match Statistics need?

Specific input.

03How much does a Aggregate Match Statistics call cost?

1 credit 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.

Send us feedback

What is it about?