Skip to content

Số học ​

Tính toán hồ sơ số học bao gồm đường đời, biểu đạt, mong muốn tâm hồn, tính cách và các con số tương hợp.

Module Bắt buộc

Tất cả các endpoint số học yêu cầu module module:numerology được kích hoạt cho tổ chức của bạn.

Hồ sơ Đầy đủ ​

Tính toán hồ sơ số học hoàn chỉnh cho một người dựa trên ngày sinh và tên đầy đủ của họ:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/profile" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "dateTime": "1990-06-15T14:30",
    "fullName": "Jane Elizabeth Smith",
    "language": "en",
    "includeText": true
  }'
javascript
const response = await fetch("https://api.astroapi.cloud/api/numerology/profile", {
    method: "POST",
    headers: {
        "X-Api-Key": "your-api-key",
        "Content-Type": "application/json"
    },
    body: JSON.stringify({
        dateTime: "1990-06-15T14:30",
        fullName: "Jane Elizabeth Smith",
        language: "en",
        includeText: true
    })
});
const data = await response.json();

Tham số ​

Tham sốKiểuBắt buộcMô tả
dateTimestringCóNgày và giờ sinh theo định dạng YYYY-MM-DDTHH:mm
fullNamestringCóTên đầy đủ khi sinh (như trên giấy khai sinh)
languagestringKhôngMã ngôn ngữ cho văn bản giải thích (mặc định: "en")
includeTextbooleanKhôngBao gồm văn bản giải thích (mặc định: false)

Phản hồi ​

json
{
    "data": {
        "lifePathNumber": {
            "value": 7,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 34,
            "calculation": "1+9+9+0+0+6+1+5 = 31, 3+1 = 4... (full reduction)",
            "text": "The Life Path 7 is the path of the seeker..."
        },
        "expressionNumber": {
            "value": 11,
            "isMasterNumber": true,
            "isKarmicDebt": false,
            "reducedFrom": 11,
            "calculation": "J(1)+A(1)+N(5)+E(5)+... = 47, 4+7 = 11",
            "text": null
        },
        "soulUrgeNumber": {
            "value": 6,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 15,
            "calculation": "Vowels: A(1)+E(5)+E(5)+I(9)+... = 24, 2+4 = 6",
            "text": null
        },
        "personalityNumber": {
            "value": 5,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 23,
            "calculation": "Consonants: J(1)+N(5)+... = 23, 2+3 = 5",
            "text": null
        },
        "birthdayNumber": {
            "value": 6,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 15,
            "calculation": "Day: 15, 1+5 = 6",
            "text": null
        },
        "personalYear": {
            "value": 3,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 12,
            "calculation": "6+15+2024 reduced",
            "text": null
        },
        "personalMonth": {
            "value": 9,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 9,
            "calculation": "Personal year (3) + current month (6) = 9",
            "text": null
        },
        "personalDay": {
            "value": 4,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 13,
            "calculation": "Personal month (9) + current day (13) = 22, 2+2 = 4",
            "text": null
        },
        "karmicDebtNumbers": [13, 16],
        "masterNumbers": [11]
    }
}

Đối tượng NumerologyNumber ​

TrườngKiểuMô tả
valuenumberSố học cuối cùng
isMasterNumberbooleanLiệu đây có phải là số chủ (11, 22, 33)
isKarmicDebtbooleanLiệu đây có phải là số nợ nghiệp (13, 14, 16, 19)
reducedFromnumberSố trước khi rút gọn cuối cùng
calculationstringGiải thích tính toán từng bước
textstring | nullVăn bản giải thích (chỉ nếu includeText: true)

Số Đường Đời ​

Tính toán số đường đời từ ngày sinh:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/life-path" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "dateTime": "1990-06-15T14:30",
    "language": "en",
    "includeText": true
  }'

Tham số ​

Tham sốKiểuBắt buộcMô tả
dateTimestringCóNgày và giờ sinh theo định dạng YYYY-MM-DDTHH:mm
languagestringKhôngMã ngôn ngữ cho văn bản giải thích
includeTextbooleanKhôngBao gồm văn bản giải thích

Số Biểu đạt ​

Tính toán số biểu đạt từ tên đầy đủ bằng số học Pythagore:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/expression" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "fullName": "Jane Elizabeth Smith",
    "language": "en",
    "includeText": true
  }'

Tham số ​

Tham sốKiểuBắt buộcMô tả
fullNamestringCóTên đầy đủ khi sinh
languagestringKhôngMã ngôn ngữ cho văn bản giải thích
includeTextbooleanKhôngBao gồm văn bản giải thích

Số Mong muốn Tâm hồn ​

Tính toán số mong muốn tâm hồn (khao khát của trái tim) từ các nguyên âm trong tên:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/soul-urge" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "fullName": "Jane Elizabeth Smith"
  }'

Số Tính cách ​

Tính toán số tính cách từ các phụ âm trong tên:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/personality" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "fullName": "Jane Elizabeth Smith"
  }'

Số Sinh nhật ​

Tính toán số sinh nhật từ ngày sinh:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/birthday" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "dateTime": "1990-06-15T14:30"
  }'

Chu kỳ Cá nhân ​

Tính toán chu kỳ năm, tháng và ngày cá nhân để lập kế hoạch và định thời:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/personal-cycles" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "dateTime": "1990-06-15T14:30",
    "currentDate": "2024-06-15"
  }'

Tham số ​

Tham sốKiểuBắt buộcMô tả
dateTimestringCóNgày và giờ sinh theo định dạng YYYY-MM-DDTHH:mm
currentDatestringKhôngNgày tham chiếu theo định dạng YYYY-MM-DD (mặc định: hôm nay)

Phản hồi ​

json
{
    "data": {
        "personalYear": {
            "value": 3,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 12,
            "calculation": "birth month (6) + birth day (15 → 6) + current year (2024 → 8) = 20, 2+0 = 2... reduced to 3",
            "text": null
        },
        "personalMonth": {
            "value": 9,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 9,
            "calculation": "Personal year (3) + current month (6) = 9",
            "text": null
        },
        "personalDay": {
            "value": 4,
            "isMasterNumber": false,
            "isKarmicDebt": false,
            "reducedFrom": 13,
            "calculation": "Personal month (9) + current day (15 → 6) = 15, 1+5 = 6... reduced to 4",
            "text": null
        }
    }
}

Tương hợp ​

Tính toán tương hợp số học giữa hai người dựa trên số đường đời của họ:

bash
curl -X POST "https://api.astroapi.cloud/api/numerology/compatibility" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "dateTime1": "1990-06-15T14:30",
    "dateTime2": "1988-03-22T09:15"
  }'
javascript
const response = await fetch("https://api.astroapi.cloud/api/numerology/compatibility", {
    method: "POST",
    headers: {
        "X-Api-Key": "your-api-key",
        "Content-Type": "application/json"
    },
    body: JSON.stringify({
        dateTime1: "1990-06-15T14:30",
        dateTime2: "1988-03-22T09:15"
    })
});
const data = await response.json();

Tham số ​

Tham sốKiểuBắt buộcMô tả
dateTime1stringCóNgày và giờ sinh của người thứ nhất theo định dạng YYYY-MM-DDTHH:mm
dateTime2stringCóNgày và giờ sinh của người thứ hai theo định dạng YYYY-MM-DDTHH:mm

Phản hồi ​

json
{
    "data": {
        "person1LifePath": 7,
        "person2LifePath": 3,
        "compatibilityScore": 72,
        "relationship": "good",
        "description": "Life Path 7 and Life Path 3 can form a complementary partnership. The 7 brings depth and introspection while the 3 adds creativity and social energy..."
    }
}

Xếp hạng Tương hợp ​

Xếp hạngPhạm vi ĐiểmMô tả
"excellent"85–100Số đường đời tương hợp cao
"good"65–84Tương hợp tốt với năng lượng bổ sung
"moderate"45–64Tương hợp vừa phải, cần hiểu biết
"challenging"0–44Năng động thách thức, phát triển qua tương phản

Số Chủ ​

Số chủ (11, 22, 33) không được rút gọn thêm trong tính toán chuẩn. Chúng mang năng lượng và ý nghĩa được khuếch đại.

Số Chủ

Khi một tính toán cho kết quả 11, 22 hoặc 33, cờ isMasterNumber được đặt thành true và giá trị được giữ nguyên. Trường reducedFrom sẽ bằng value trong trường hợp này.

Số Nợ Nghiệp ​

Số nợ nghiệp (13, 14, 16, 19) chỉ ra các bài học được mang từ những kiếp trước. Khi có mặt, cờ isKarmicDebt được đặt thành true.

Số NghiệpRút gọn thànhChủ đề
134Làm việc chăm chỉ và kỷ luật
145Sử dụng tự do có trách nhiệm
167Buông bỏ cái tôi và tăng trưởng tâm linh
191Độc lập và tự lực

AstroAPI Documentation