Most auspicious time of the day
curl -X POST "https://api.vedika.io/v2/astrology/abhijit-muhurta" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"datetime": "1990-05-15T10:30:00+05:30",
"latitude": 28.6139,
"longitude": 77.2090
}'
| Parameter | Type | Required | Description |
|---|---|---|---|
datetime |
string | Yes | Moment to compute for. Accepted: 1990-05-15T10:30:00+05:30 (ISO-8601 with offset), 1990-05-15T10:30:00, 1990-05-15T10:30 or 1990-05-15. Alternatively send date (YYYY-MM-DD) plus time (HH:MM). |
latitude |
number | Yes | Birth location latitude (-90 to 90) |
longitude |
number | Yes | Birth location longitude (-180 to 180) |
{
"success": true,
"data": {
// Endpoint-specific response data
},
"metadata": {
"requestId": "req_123456",
"timestamp": "2026-01-07T00:00:00Z",
"cost": 0.001
}
}
{
"success": false,
"error": "Invalid birth datetime: Unparseable datetime: \"2026-09-06T00:00:00+05:30T12:00:00\". Accepted: \"1990-05-15T10:30:00+05:30\" (ISO-8601 with offset), \"1990-05-15T10:30:00\", \"1990-05-15T10:30\" or \"1990-05-15\" — or send `date` (YYYY-MM-DD) with `time` (HH:MM) instead.",
"code": "INVALID_BIRTH_DETAILS",
"expected_format": {
"datetime": "1990-06-15T14:30:00",
"latitude": 28.6139,
"longitude": 77.209,
"timezone": "Asia/Kolkata"
},
"docs": "https://vedika.io/docs#birth-chart-endpoints"
}
error is a flat string and the machine-readable code is the
top-level code; there is no nested error object and no
details key. Nothing is charged on a 400. Put a full timestamp
in datetime, never in date — date
is a bare YYYY-MM-DD calendar day.
const vedika = require('@vedika-io/sdk');
const client = new vedika.VedikaClient({ apiKey: 'YOUR_API_KEY' });
const result = await client.astrology.abhijit_muhurta({
datetime: '1990-05-15T10:30:00+05:30',
latitude: 28.6139,
longitude: 77.2090
});
from vedika import VedikaClient
client = VedikaClient('YOUR_API_KEY')
result = client.astrology.abhijit_muhurta(
datetime='1990-05-15T10:30:00+05:30',
latitude=28.6139,
longitude=77.2090
)
Get your API key and start building astrology features today.