Skip to content
  1. Get your API key

    Sign in at askvedicguru.com, go to Dashboard → API Keys, and create a key.

  2. Create a profile

    A profile stores the birth data used for all calculations.

    bash
    curl -X POST https://api.askvedicguru.com/api/v1/profiles \
      -H "Content-Type: application/json" \
      -H "X-API-Key: YOUR_API_KEY" \
      -d '{
        "name": "Test Person",
        "gender": "male",
        "date": "1990-06-15",
        "time": "06:30",
        "timezone": "Asia/Kathmandu",
        "location": "Kathmandu, Nepal",
        "latitude": 27.7172,
        "longitude": 85.3240
      }'

    Response:

    json
    {
      "success": true,
      "data": {
        "id": "683abc123def456",
        "name": "Test Person",
        "date": "1990-06-15",
        "time": "06:30"
      }
    }

    Save the id — you'll use it for all calculations.

  3. Get a birth chart

    bash
    curl -X POST https://api.askvedicguru.com/api/v1/birth-chart \
      -H "Content-Type: application/json" \
      -H "X-API-Key: YOUR_API_KEY" \
      -d '{ "profileId": "683abc123def456" }'

    Response includes moon sign, ascendant, all planet positions, houses, and nakshatra.

  4. Get monthly rashifal

    bash
    curl -X POST https://api.askvedicguru.com/api/v1/rashifal \
      -H "Content-Type: application/json" \
      -H "X-API-Key: YOUR_API_KEY" \
      -d '{
        "profileId": "683abc123def456",
        "period": "monthly",
        "calendar": "bs"
      }'

Next steps