Direkt zum Inhalt
POST/api/astro/porutham/1 Credit

Porutham (südindischer Abgleich)

Südindische Ehekompatibilität: alle zwölf Poruthams mit einem Aufruf. Gib für beide Partner das Geburts-Nakshatra (1-27) und das Pada (1-4) an. Zu jedem Porutham kommen das traditionelle Ergebnis und die südindische Variante nebeneinander zurück. Das ist ein ANDERES System als das nordindische Ashtakoota-Gun-Milan, für das /api/astro/ashtakoota/ zuständig ist. Beide werten dieselben zwei Geburts-Nakshatras aus, gewichten aber unterschiedlich – wähle also das System deiner Tradition. Beim tamilischen, Telugu- und Kannada-Abgleich werden diese Poruthams verwendet. Geburtszeit und Geburtsort sind nicht nötig, und das ist keine Abkürzung: Das Porutham wird aus dem Nakshatra und seinem Viertel bestimmt; ein Datum wäre also eine Eingabe, die die Berechnung nie liest.

https://api.occultapi.com/api/astro/porutham/
Anfrage testen

Authentifizierung

Schick deinen Schlüssel im Header X-API-Key mit. API-Schlüssel sind Zugangsdaten für den Server: Sie gehören nie in Browser-JavaScript oder in eine mobile App.

X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/json

Felder der Anfrage

FeldTypPflichtHinweise
boy_nakshatra_numberintegerPflicht

min 1 · max 27

boy_paadham_numberintegerPflicht

min 1 · max 4

girl_nakshatra_numberintegerPflicht

min 1 · max 27

girl_paadham_numberintegerPflicht

min 1 · max 4

keysarrayoptional

Welche Berechnungen zurückgegeben werden, als Liste von Namen. Siehe die Key-Tabelle dieses Endpoints; ein unbekannter Name lässt die ganze Anfrage scheitern. Ein Aufruf kostet einen Credit, egal wie viele Keys du anforderst – fordere also alles, was du brauchst, auf einmal an, statt mehrere Aufrufe zu machen.

methodstringoptional
nakshatra_numberintegeroptional
paadha_numberintegeroptional
use_astroyogi_methodbooleanoptional

Beispielanfrage

curl -X POST https://api.occultapi.com/api/astro/porutham/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"boy_nakshatra_number":5,"boy_paadham_number":3,"girl_nakshatra_number":12,"girl_paadham_number":2}'

Antwort

{
  "data": {
    "system": "porutham",
    "count": 12,
    "poruthams": [
      {
        "porutham": "varna",
        "traditional": [
          0,
          1
        ],
        "south_indian": null,
        "has_south_variant": false
      },
      {
        "porutham": "vasiya",
        "traditional": [
          1,
          2
        ],
        "south_indian": true,
        "has_south_variant": true
      },
      {
        "porutham": "dina",
        "traditional": [
          3,
          3
        ],
        "south_indian": true,
        "has_south_variant": true
      },
      {
        "porutham": "gana",
        "traditional": [
          6,
          6
        ],
        "south_indian": false,
        "has_south_variant": true
      },
      {
        "porutham": "yoni",
        "traditional": [
          1,
          4
        ],
        "south_indian": true,
        "has_south_variant": true
      },
      {
        "porutham": "raasi_adhipathi",
        "traditional": [
          5,
          5
        ],
        "south_indian": 0,
        "has_south_variant": true
      },
      {
        "porutham": "raasi",
        "traditional": [
          7,
          7
        ],
        "south_indian": true,
        "has_south_variant": true
      },
      {
        "porutham": "naadi",
        "traditional": [
          8,
          8
        ],
        "south_indian": true,
        "has_south_variant": true
      },
      {
        "porutham": "mahendra",
        "traditional": false,
        "south_indian": false,
        "has_south_variant": true
      },
      {
        "porutham": "vedha",
        "traditional": true,
        "south_indian": true,
        "has_south_variant": true
      },
      {
        "porutham": "rajju",
        "traditional": false,
        "south_indian": false,
        "has_south_variant": true
      },
      {
        "porutham": "sthree_dheerga",
        "traditional": true,
        "south_indian": true,
        "has_south_variant": true
      }
    ]
  },
  "status": 200,
  "is_error": false,
  "message": "successful"
}

Aus einem echten Aufruf mit genau dieser Anfrage. Die Ergebnisse stehen unter data.

Fehler

Abrechnungsfehler liefern { "error": "…", "message": "<code>", "is_error": true }. Zeig deinen Nutzern error an und verzweige im Code anhand von message. Details in der Fehlerreferenz.