API reference › Numerology

Lo Shu Grid API

Lo Shu grid

POST/v1/numerology/loshu

1 credit · Secret key (test or live) · getLoShu

Request body

  • date_of_birth string (date) required

    e.g. "1990-08-13"

No other fields are accepted.

Response

JSON { data, meta, warnings }, where data is:

  • grid array of array of integer required
  • missing array of integer required
  • repeated array of integer required
  • present array of integer required
  • notes array of string required
  • arrows object required
    • strength array of LoShuArrow required
      Fields
      • line array of integer required
      • meaning string required
    • weakness array of LoShuArrow required
      Fields
      • line array of integer required
      • meaning string required
  • driver object required
    • number integer required
    • planet string required
  • conductor object required
    • number integer required
    • planet string required
  • summary string required

Errors: 400, 401, 403, 404, 422, 429, 500. See error codes.

Example request

curl -X POST 'https://api.astrologics.in/v1/numerology/loshu' \
  -H 'Authorization: Bearer al_test_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"date_of_birth":"1990-08-13"}'
Node.js
const res = await fetch("https://api.astrologics.in/v1/numerology/loshu", {
  method: "POST",
  headers: { Authorization: "Bearer al_test_YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    "date_of_birth": "1990-08-13"
  }),
});
console.log(JSON.stringify(await res.json(), null, 2));
Python
import json
import urllib.error
import urllib.request

body = {
    "date_of_birth": "1990-08-13",
}

req = urllib.request.Request(
    "https://api.astrologics.in/v1/numerology/loshu",
    method="POST",
    headers={"Authorization": "Bearer al_test_YOUR_KEY", "Content-Type": "application/json"},
    data=json.dumps(body).encode(),
)
try:
    with urllib.request.urlopen(req) as res:
        print(json.dumps(json.load(res), indent=2, ensure_ascii=False))
except urllib.error.HTTPError as err:
    print(err.code, err.read().decode())
PHP
<?php
$ch = curl_init('https://api.astrologics.in/v1/numerology/loshu');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer al_test_YOUR_KEY', 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => '{"date_of_birth":"1990-08-13"}',
    CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch), PHP_EOL;

Example response

200 OK · 1,605 characters
{
  "data": {
    "grid": [
      [
        0,
        2,
        0
      ],
      [
        1,
        0,
        0
      ],
      [
        1,
        2,
        0
      ]
    ],
    "missing": [
      2,
      4,
      5,
      6,
      7
    ],
    "repeated": [
      1,
      9
    ],
    "present": [
      1,
      3,
      8,
      9
    ],
    "notes": [
      "Missing 2: cultivate sensitivity, patience and cooperation.",
      "Missing 4: build discipline, order and practical follow-through.",
      "Missing 5: strengthen emotional balance and adaptability (5 is the centre of feeling & freedom).",
      "Missing 6: develop responsibility toward home and family.",
      "Missing 7: invite growth through learning, sacrifice or spiritual study."
    ],
    "arrows": {
      "strength": [],
      "weakness": [
        {
          "line": [
            2,
            7,
            6
          ],
          "meaning": "Practical plane (action, doing, material) — an area to consciously develop"
        },
        {
          "line": [
            4,
            5,
            6
          ],
          "meaning": "Kindness / prosperity diagonal — an area to consciously develop"
        }
      ]
    },
    "driver": {
      "number": 4,
      "planet": "rahu"
    },
    "conductor": {
      "number": 4,
      "planet": "rahu"
    },
    "summary": "You have 4/9 numbers present. Missing: 2, 4, 5, 6, 7."
  },
  "meta": {
    "request_id": "req_example",
    "api_version": "v1",
    "engine_version": "2026.10.10",
    "mode": "live",
    "credits_charged": 1
  },
  "warnings": []
}
Try it

Leave empty to use the shared demo key (limited). Test keys only: never charged. Kept in this browser tab and sent through this site to the API. Create one

More in Numerology

Get a free API key Numerology product page