Skip to main content

Papasamyam — Malefic Planet Compatibility

Computes Papasamyam between two natal charts. Scores each person based on Sun, Mars, Saturn, Rahu, Ketu in houses 1, 2, 4, 7, 8, 12 from Lagna, Moon, and Venus (#105). Compatible if score difference ≤ 11. person1 = groom, person2 = bride.

Endpoint

POST /v1/astro/matchmaking/papasamyam

Request parameters

FieldTypeRequiredDescription
person1objectYes
person1.locationstring | nullNoCity name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
person1.namestringNoPerson name associated with the birth record
person1.datestringYesBirth date in YYYY-MM-DD format
person1.timestring | nullNoBirth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
person1.latitudenumber | nullNoLatitude. Required if location not provided.
person1.longitudenumber | nullNoLongitude. Required if location not provided.
person1.timezonestring | nullNoIANA timezone. Required if location not provided.
person1.ayanamsastringNoSidereal ayanamsa mode used in calculations
person2objectYes
person2.locationstring | nullNoCity name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
person2.namestringNoPerson name associated with the birth record
person2.datestringYesBirth date in YYYY-MM-DD format
person2.timestring | nullNoBirth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
person2.latitudenumber | nullNoLatitude. Required if location not provided.
person2.longitudenumber | nullNoLongitude. Required if location not provided.
person2.timezonestring | nullNoIANA timezone. Required if location not provided.
person2.ayanamsastringNoSidereal ayanamsa mode used in calculations

Example request

curl -X POST "https://api.asterwise.com/v1/astro/matchmaking/papasamyam" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"person1":{"date":"1985-11-12","time":"06:45","latitude":19.076,"longitude":72.8777,"timezone":"Asia/Kolkata"},"person2":{"date":"1988-03-24","time":"14:30","latitude":28.6139,"longitude":77.209,"timezone":"Asia/Kolkata"}}'

Example response

{
"success": true,
"message": "success",
"data": {
"person1": {
"lagna_score": 3.5,
"moon_score": 3.5,
"venus_score": 3.5,
"total_score": 10.5,
"effective_score": 10.5,
"cancellation": false,
"breakdown": [
{
"planet": "Ketu",
"house_lagna": 1,
"house_moon": 1,
"house_venus": 1,
"weight_lagna": 0.5,
"weight_moon": 0.5,
"weight_venus": 0.5,
"score": 1.5
},
{
"planet": "Saturn",
"house_lagna": 2,
"house_moon": 2,
"house_venus": 2,
"weight_lagna": 1.0,
"weight_moon": 1.0,
"weight_venus": 1.0,
"score": 3.0
},
"... and 3 more items"
]
},
"person2": {
"lagna_score": 3.0,
"moon_score": 2.0,
"venus_score": 0.5,
"total_score": 5.5,
"effective_score": 5.5,
"cancellation": false,
"breakdown": [
{
"planet": "Ketu",
"house_lagna": 2,
"house_moon": 3,
"house_venus": 5,
"weight_lagna": 1.0,
"weight_moon": 0.0,
"weight_venus": 0.0,
"score": 1.0
},
{
"planet": "Saturn",
"house_lagna": 6,
"house_moon": 7,
"house_venus": 9,
"weight_lagna": 0.0,
"weight_moon": 1.0,
"weight_venus": 0.0,
"score": 1.0
},
"... and 3 more items"
]
},
"score_difference": 5.0,
"compatible": true,
"compatibility_level": "Good",
"threshold": 11.0
}
}

Response fields

FieldTypeDescription
successbooleanTrue if the request succeeded
messagestringHuman-readable status message
dataobject
data.person1object
data.person2object
data.score_differencenumber
data.compatibleboolean
data.compatibility_levelstring
data.thresholdnumber

Errors

CodeDescriptionReference
authentication_failedMissing or invalid API key.authentication_failed
ephemeris_unavailableUpstream ephemeris service error.ephemeris_unavailable
insufficient_tierAPI key tier does not include this endpoint.insufficient_tier
internal_errorUnexpected server error.internal_error
ip_rate_limit_exceededToo many requests in a short window.ip_rate_limit_exceeded
payload_too_largeRequest body exceeds the size limit.payload_too_large
resource_not_foundReferenced resource was not found.resource_not_found
validation_errorRequest body failed schema validation.validation_error