Equinoxes and solstices
curl -X POST "https://api.vedika.io/v2/astrology/solstice" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"year": 2026
}'
| Parameter | Type | Required | Description |
|---|---|---|---|
datetime |
string | Yes | Birth date/time in ISO 8601 format |
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.002
}
}
{
"success": false,
"error": {
"code": "INVALID_DATETIME",
"message": "Invalid datetime format. Use ISO 8601.",
"details": { ... }
}
}
const { VedikaClient } = require('@vedika-io/sdk');
const client = new VedikaClient({ apiKey: 'YOUR_API_KEY' });
async function main() {
const result = await client.post('/v2/astrology/solstice', {
year: 2026
});
console.log(result);
}
main().catch(console.error);
from vedika import VedikaClient
client = VedikaClient(api_key="YOUR_API_KEY")
result = client.request("POST", "/v2/astrology/solstice", json={
"year": 2026
})
print(result)
Get your API key and start building astrology features today.