☰ DiAstrologer API Docs

Vyapar Kundali (Business)

5 endpoint(s).

Endpoint Method Summary Auth
/api/v1/vyapar/analyze POST Analyze Business
/api/v1/vyapar/products GET Get All Products
/api/v1/vyapar/products/{planet} GET Get Planet Products
/api/v1/vyapar/score POST Get Business Score
/api/v1/vyapar/timing POST Get Business Timing

POST /api/v1/vyapar/analyze

Analyze Business

Complete Business Product Analysis (व्यापार कुंडली).

Analyzes birth chart to recommend: - SUCCESS Products: Business/products that will prosper - FAILURE Products: Business/products to avoid - TIMING: When to start/avoid specific businesses

Based on: - 10th Lord Navamsa method (Classical) - PRIMARY indicator - Yogakaraka, Atmakaraka, house lords - Dignity, combustion, retrograde states

Scoring: 0-100 scale based on classical rules

Request body (application/json)

Field Type Required Description
date string yes Birth date in YYYY-MM-DD format
time string yes Birth time in HH:MM:SS format (24-hour)
latitude number yes Birth place latitude
longitude number yes Birth place longitude
timezone string no Timezone name (e.g., Asia/Kolkata)
place_name any no Birth place name for display
name string yes Native's name (required)
email any no Email (optional, for follow-ups)
phone any no Phone (optional, for WhatsApp follow-ups)
current_location any no Current location for muhurta calculations
gender any no Gender of native (male/female)
marital_status any no Current marital status
marriage_date any no Marriage date if married (YYYY-MM-DD)
current_mahadasha any no Current Mahadasha lord (e.g., 'Sun', 'Moon', 'Rahu')
include_timing boolean no Include timing analysis in response

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/vyapar/analyze' \
  -H 'Authorization: Bearer <API_KEY>'

GET /api/v1/vyapar/products

Get All Products

Get all planet-product mappings.

Returns the complete knowledge base of planets and their associated products/businesses from classical Vedic texts.

Response 200VedicApiResponse

Example

curl -X GET 'https://api.example.com/api/v1/vyapar/products' \
  -H 'Authorization: Bearer <API_KEY>'

GET /api/v1/vyapar/products/{planet}

Get Planet Products

Get products associated with a specific planet.

Returns grains, metals, gems, items, and modern business types for the requested planet.

Valid planets: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu

Param In Type Required Description
planet path string yes

Response 200VedicApiResponse

Example

curl -X GET 'https://api.example.com/api/v1/vyapar/products/${planet}' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/vyapar/score

Get Business Score

Get overall business success score only (quick analysis).

Returns a 0-100 score indicating overall business potential without detailed product analysis. Useful for quick assessment.

Request body (application/json)

Field Type Required Description
date string yes Birth date in YYYY-MM-DD format
time string yes Birth time in HH:MM:SS format (24-hour)
latitude number yes Birth place latitude
longitude number yes Birth place longitude
timezone string no Timezone name (e.g., Asia/Kolkata)
place_name any no Birth place name for display
name string yes Native's name (required)
email any no Email (optional, for follow-ups)
phone any no Phone (optional, for WhatsApp follow-ups)
current_location any no Current location for muhurta calculations
gender any no Gender of native (male/female)
marital_status any no Current marital status
marriage_date any no Marriage date if married (YYYY-MM-DD)

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/vyapar/score' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/vyapar/timing

Get Business Timing

Get timing analysis for a specific planet's products.

Returns: - Best periods: Dashas favorable for starting that business - Worst periods: Dashas to avoid for that business - Current favorability: Based on current Mahadasha

Request body (application/json)

Field Type Required Description
date string yes Birth date in YYYY-MM-DD format
time string yes Birth time in HH:MM:SS format (24-hour)
latitude number yes Birth place latitude
longitude number yes Birth place longitude
timezone string no Timezone name (e.g., Asia/Kolkata)
place_name any no Birth place name for display
name string yes Native's name (required)
email any no Email (optional, for follow-ups)
phone any no Phone (optional, for WhatsApp follow-ups)
current_location any no Current location for muhurta calculations
gender any no Gender of native (male/female)
marital_status any no Current marital status
marriage_date any no Marriage date if married (YYYY-MM-DD)
planet string yes Planet to analyze timing for
current_mahadasha any no Current Mahadasha lord

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/vyapar/timing' \
  -H 'Authorization: Bearer <API_KEY>'