{
  "info": {
    "name": "AstroNirnay Developer API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Vedic astrology calculations. Set the apiKey variable (collection Variables tab) to your key, then run any request. Calls spend credits; failed calls cost nothing. Docs: https://api.astronirnay.com/v1/docs"
  },
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.astronirnay.com/v1",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "YOUR_API_KEY",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Charts",
      "item": [
        {
          "name": "Complete birth chart",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chart",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chart"
              ]
            },
            "description": "Ascendant, all nine planets with sign, degree, nakshatra, pada, dignity, retrograde and combustion flags, the twelve houses, and optional divisional charts (`divisions`: D1, D2, D3, D4, D6, D7, D9, D10, D12, D16, D20, D24, D27, D30, D40, D45, D60).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"options\": {\n    \"house_system\": \"whole_sign\"\n  },\n  \"divisions\": [\n    \"D9\",\n    \"D10\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Planet positions",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/planets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "planets"
              ]
            },
            "description": "Sidereal positions of the Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu and Ketu.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Houses and occupants",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/houses",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "houses"
              ]
            },
            "description": "Twelve houses under `whole_sign` (default) or `equal_house`, with the planets in each.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"options\": {\n    \"house_system\": \"equal_house\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Chart image (SVG)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chart/image",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chart",
                "image"
              ]
            },
            "description": "The birth chart (or a divisional chart via `division`, e.g. \"D9\") drawn as an SVG string in North Indian (`style: \"north\"`, default) or South Indian (`\"south\"`) style, plus the houses and their planets as data.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"style\": \"north\",\n  \"division\": \"D1\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Ashtakvarga",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ashtakvarga",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ashtakvarga"
              ]
            },
            "description": "Bhinna Ashtakvarga points for Sun to Saturn in every sign and house, and the Sarva Ashtakvarga total (337 points). Set `include_contributions` true to see which contributor gave each point.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"include_contributions\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Dasha",
      "item": [
        {
          "name": "Vimshottari dasha",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/dasha/vimshottari",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "dasha",
                "vimshottari"
              ]
            },
            "description": "Balance at birth, the running mahadasha → prana chain at `at` (up to `depth` levels, default 3, max 5) and the nested period timeline (`periods_depth` 0–3, default 2) for up to 120 years.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"at\": \"2026-10-07\",\n  \"depth\": 5,\n  \"periods_depth\": 2\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Yogini dasha",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/dasha/yogini",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "dasha",
                "yogini"
              ]
            },
            "description": "The 36-year Yogini dasha from the birth nakshatra: balance at birth, running chain at `at` (`depth` 1–3, default 2) and the nested timeline (`periods_depth` 0–3, default 1) for about 120 years.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"at\": \"2026-10-07\",\n  \"depth\": 2\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Jaimini Chara dasha",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/dasha/char",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "dasha",
                "char"
              ]
            },
            "description": "Sign-based Chara dasha mahadashas from the Lagna (Gary Gomes / K.N. Rao convention, published in the response), with the running period at `at`. Antardashas are not included. `cycles` 1–3 (default 1).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"at\": \"2026-10-07\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Panchang",
      "item": [
        {
          "name": "Daily panchang",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/panchang",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "panchang"
              ]
            },
            "description": "Weekday, sunrise/sunset, moonrise/moonset, tithi, nakshatra, yoga and karana with exact start and end times (as they stand at sunrise, plus every one running during the day), Rahu kaal, Yamaganda, Gulika kaal and Abhijit muhurta.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"date\": \"2026-10-07\",\n  \"latitude\": 19.076,\n  \"longitude\": 72.8777,\n  \"timezone\": \"Asia/Kolkata\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Doshas",
      "item": [
        {
          "name": "Sade Sati and Dhaiya",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/doshas/sade-sati",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "doshas",
                "sade-sati"
              ]
            },
            "description": "Whether Saturn is currently over the 12th, 1st or 2nd sign from the natal Moon (sade sati) or the 4th/8th (dhaiya), the current period and cycle, the next cycle, and a lifetime timeline (`timeline_years`, default 90; set `include_timeline` false to skip it).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"at\": \"2026-10-07\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Manglik dosha",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/doshas/manglik",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "doshas",
                "manglik"
              ]
            },
            "description": "Mars position from Lagna, Moon and Venus, whether the chart is Manglik, severity, the cancellation rules that apply, and the Navamsa position. The rule set is published in the response (`rules`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Kaal Sarp dosha",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/doshas/kalsarpa",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "doshas",
                "kalsarpa"
              ]
            },
            "description": "Whether all seven planets lie on one side of the Rahu-Ketu axis (full) or all but one (partial), the direction, and the named type from the house of Rahu. Reports the astronomical condition only.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Matching",
      "item": [
        {
          "name": "Ashtakoot matching",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/matching/ashtakoot",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "matching",
                "ashtakoot"
              ]
            },
            "description": "Eight koota scores (36 points), percentage, verdict band, nadi and bhakoot doshas, and manglik compatibility between a groom and a bride.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"groom\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"bride\": {\n    \"date\": \"1992-08-20\",\n    \"time\": \"06:15\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Yogas",
      "item": [
        {
          "name": "Classical yogas",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/yogas",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "yogas"
              ]
            },
            "description": "Which classical yogas are present in a birth chart: the five Mahapurusha yogas, Gajakesari, Budhaditya, Chandra-Mangala, Sunapha, Anapha, Durudhara, Kemadruma, Vesi, Vosi, Ubhayachari, Adhi, Amala, the three Parivartana types, Harsha, Sarala, Vimala, Guru-Chandala, the Grahana yogas, Shrapit and Angarak, plus clearly labelled variants (counted from the Moon, Jupiter with Ketu). Each yoga lists the exact conditions met, anything that weakens or modifies it, cancellations where they apply (Kemadruma), a fixed description and its source. There is no numeric score. Set include_absent to also list the yogas that were checked and are not formed.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"include_absent\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Varshaphal",
      "item": [
        {
          "name": "Varshaphal (annual chart)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/varshaphal",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "varshaphal"
              ]
            },
            "description": "The annual chart for a year: the exact Varsha Pravesh (the instant the Sun returns to its natal sidereal longitude, in UTC and local time), the annual chart for that moment at the birth place or a place you choose, the Muntha (sign, house, lord), the five officers (Panchadhikari) with their positions, and the Mudda dasha for the year. This is Phase A: the year lord is not selected, and the Tri-rashi and Dina-ratri officers are returned as pending because authors differ and the rules await confirmation by an astrologer. The Mudda dasha year length is an input (365.25 or 360 days).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"year\": 2026,\n  \"location\": {\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"mudda_year_days\": 365.25\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Muhurta",
      "item": [
        {
          "name": "Choghadiya",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/muhurta/chaughadiya",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "muhurta",
                "chaughadiya"
              ]
            },
            "description": "The eight day and eight night choghadiyas (Udveg, Chal, Labh, Amrit, Kaal, Shubh, Rog) with exact times and their auspicious / neutral / inauspicious nature.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"date\": \"2026-10-07\",\n  \"latitude\": 19.076,\n  \"longitude\": 72.8777,\n  \"timezone\": \"Asia/Kolkata\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Hora (planetary hours)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/muhurta/hora",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "muhurta",
                "hora"
              ]
            },
            "description": "The 12 day and 12 night planetary hours with the ruling planet and exact times.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"date\": \"2026-10-07\",\n  \"latitude\": 19.076,\n  \"longitude\": 72.8777,\n  \"timezone\": \"Asia/Kolkata\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Reference",
      "item": [
        {
          "name": "Biorhythm",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/biorhythm",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "biorhythm"
              ]
            },
            "description": "Physical (23 day), emotional (28 day) and intellectual (33 day) cycle values from -100 to 100 for a date (and up to 62 days) from the birth date.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth_date\": \"1990-05-15\",\n  \"date\": \"2026-10-07\",\n  \"days\": 7\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Ayanamsha value",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ayanamsha?date=2000-01-01",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ayanamsha"
              ],
              "query": [
                {
                  "key": "date",
                  "value": "2000-01-01",
                  "description": "YYYY-MM-DD (default today)",
                  "disabled": true
                }
              ]
            },
            "description": "The Lahiri ayanamsha for a date (default today)."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Planet nature table",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/reference/planet-nature?lang=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "reference",
                "planet-nature"
              ],
              "query": [
                {
                  "key": "lang",
                  "value": "",
                  "description": "Optional response language. English values never change; with a language such as \"hi\" each name or label also gets a sibling field ending in \"_local\" (for example sign_local). Names and labels only; explanatory sentences stay in English. Supported: en, hi.",
                  "disabled": true
                }
              ]
            },
            "description": "Classical attributes of the nine planets: nature, element, friends and enemies, exaltation, own signs and more. Free."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "AI Predictions",
      "item": [
        {
          "name": "AI prediction",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai/prediction",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai",
                "prediction"
              ]
            },
            "description": "AI-written prediction for one area of life over a day, week, month or year, in any of 21 languages (en = English, hinglish = Hinglish (Hindi in Roman script), hi = Hindi, mr = Marathi, bn = Bengali, gu = Gujarati, ta = Tamil, te = Telugu, kn = Kannada, ml = Malayalam, pa = Punjabi, or = Odia, ur = Urdu, as = Assamese, ne = Nepali, sa = Sanskrit, kok = Konkani, mai = Maithili, doi = Dogri, sd = Sindhi, ks = Kashmiri). The text is written by OpenAI strictly from facts our engine calculates (returned in facts_used: chart, running dasha, sade sati, transits). Credits depend on the language (English 15, Hindi 25, Odia 55); failed generations are refunded. Not yet available: Bodo, Manipuri (Meitei), Santali. Languages marked beta in /ai/pricing have not yet been reviewed by native speakers. Areas: general, career, finance, marriage, family, education, health. Periods: today, week, month, year.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"language\": \"hi\",\n  \"area\": \"career\",\n  \"period\": \"year\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "AI ask (free-text chat Q&A)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai/ask",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai",
                "ask"
              ]
            },
            "description": "Ask any astrology question in free text and get one conversational answer, in any of 21 languages — the same persona, safety and quality rules as the AstroNirnay app's AI chat, but stateless (no account, no chat history stored on our side; optionally pass up to 10 prior turns yourself in `history`). The answer is written by OpenAI strictly from facts our engine calculates (returned in facts_used). Messages detected as self-harm/crisis ideation never reach the model: they get a static support-helpline redirect and are never charged (credits_charged: 0). Credits depend on the language (English 15, Hindi 25, Odia 55); failed generations are refunded.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"language\": \"en\",\n  \"question\": \"Will my career improve in the next few months?\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Create an AI report (PDF)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai/reports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai",
                "reports"
              ]
            },
            "description": "Starts a branded PDF report and returns 202 with a job id. Reports: sade_sati = Sade Sati report, manglik = Manglik report, roadmap_12m = 12-month roadmap, premium_kundali = Premium Personalized Kundali, career_roadmap_5yr = Career 5-Year Roadmap, wealth_roadmap_5yr = Wealth 5-Year Roadmap, love_roadmap_5yr = Love 5-Year Roadmap, marriage_roadmap_5yr = Marriage 5-Year Roadmap, health_roadmap_5yr = Health 5-Year Roadmap, business_roadmap_5yr = Business 5-Year Roadmap. Languages: en, hi, mr, ta, te (more are added after native-speaker review). Credits are charged now (sade_sati 45 in English, manglik 45 in English, roadmap_12m 60 in English, premium_kundali 155 in English, career_roadmap_5yr 40 in English, wealth_roadmap_5yr 40 in English, love_roadmap_5yr 40 in English, marriage_roadmap_5yr 40 in English, health_roadmap_5yr 40 in English, business_roadmap_5yr 40 in English; other languages cost more) and refunded automatically if the report fails. Poll GET /ai/reports/{id} until status is done (typically 30-90 seconds), then download the PDF. The PDF carries the logo and company name you saved under Branding in the dashboard. subject_name is printed on the PDF only and is never sent to the AI. Reports are kept for 30 days. At most 3 reports can be generating at once.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"report\": \"sade_sati\",\n  \"language\": \"hi\",\n  \"birth\": {\n    \"date\": \"1990-05-15\",\n    \"time\": \"10:30\",\n    \"latitude\": 19.076,\n    \"longitude\": 72.8777,\n    \"timezone\": \"Asia/Kolkata\"\n  },\n  \"subject_name\": \"Asha Kumar\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "List your recent reports",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai/reports?lang=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai",
                "reports"
              ],
              "query": [
                {
                  "key": "lang",
                  "value": "",
                  "description": "Optional response language. English values never change; with a language such as \"hi\" each name or label also gets a sibling field ending in \"_local\" (for example sign_local). Names and labels only; explanatory sentences stay in English. Supported: en, hi.",
                  "disabled": true
                }
              ]
            },
            "description": "Your 20 most recent reports with status and download links. Free."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Report status and content",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai/reports/{id}?lang=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai",
                "reports",
                "{id}"
              ],
              "query": [
                {
                  "key": "lang",
                  "value": "",
                  "description": "Optional response language. English values never change; with a language such as \"hi\" each name or label also gets a sibling field ending in \"_local\" (for example sign_local). Names and labels only; explanatory sentences stay in English. Supported: en, hi.",
                  "disabled": true
                }
              ]
            },
            "description": "Status (queued, running, done, failed), progress, and when done the report sections as JSON, the facts used, and the pdf_url. A failed report is refunded (refunded: true). Free."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Download the report PDF",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai/reports/{id}/pdf?lang=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai",
                "reports",
                "{id}",
                "pdf"
              ],
              "query": [
                {
                  "key": "lang",
                  "value": "",
                  "description": "Optional response language. English values never change; with a language such as \"hi\" each name or label also gets a sibling field ending in \"_local\" (for example sign_local). Names and labels only; explanatory sentences stay in English. Supported: en, hi.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns the branded PDF (application/pdf). 409 until the report is done, 410 after it expires. Send your API key header and save the file on your server. Free."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "AI products and credit prices",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai/pricing?lang=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai",
                "pricing"
              ],
              "query": [
                {
                  "key": "lang",
                  "value": "",
                  "description": "Optional response language. English values never change; with a language such as \"hi\" each name or label also gets a sibling field ending in \"_local\" (for example sign_local). Names and labels only; explanatory sentences stay in English. Supported: en, hi.",
                  "disabled": true
                }
              ]
            },
            "description": "Credits per language, quality flag (standard or beta) and the languages that are not available yet. Free."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Utilities",
      "item": [
        {
          "name": "Search places",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/places/search?q=Pune&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "places",
                "search"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "Pune",
                  "description": "Place name",
                  "disabled": false
                },
                {
                  "key": "limit",
                  "value": "5",
                  "description": "Number of results, 1–10 (default 5)",
                  "disabled": true
                }
              ]
            },
            "description": "Find latitude, longitude and time zone for a place name."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Time zone for coordinates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/timezone?latitude=18.52&longitude=73.85&date=1990-05-15",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "timezone"
              ],
              "query": [
                {
                  "key": "latitude",
                  "value": "18.52",
                  "description": "Latitude",
                  "disabled": false
                },
                {
                  "key": "longitude",
                  "value": "73.85",
                  "description": "Longitude",
                  "disabled": false
                },
                {
                  "key": "date",
                  "value": "1990-05-15",
                  "description": "YYYY-MM-DD (default today)",
                  "disabled": true
                }
              ]
            },
            "description": "IANA zone and UTC offset for coordinates, optionally as of a date."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Your usage this month",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/usage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "usage"
              ]
            },
            "description": "Credit balance, credits and calls used today and this month with a per-endpoint breakdown, and the credit cost of every endpoint. Free: costs no credits."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        },
        {
          "name": "Service health",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/health",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "health"
              ]
            },
            "description": "Public status check; no key required.",
            "auth": {
              "type": "noauth"
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"HTTP 200\", function () { pm.response.to.have.status(200); });",
                  "pm.test(\"success is true\", function () { pm.expect(pm.response.json().success).to.eql(true); });"
                ]
              }
            }
          ]
        }
      ]
    }
  ]
}