Vedika is a standard REST API. If your framework can make HTTP requests, it works with Vedika. Official SDKs for JavaScript and Python. Code examples for 18+ frameworks.
const response = await fetch('https://api.vedika.io/v2/astrology/kundli', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': process.env.VEDIKA_API_KEY
},
body: JSON.stringify({
datetime: '1990-06-15T10:30:00',
latitude: 19.0760,
longitude: 72.8777,
timezone: '+05:30'
})
});
const chart = await response.json();
console.log(chart.data.planets); // Array of planetary positions
import requests
import os
response = requests.post(
'https://api.vedika.io/v2/astrology/kundli',
headers={
'Content-Type': 'application/json',
'x-api-key': os.environ['VEDIKA_API_KEY']
},
json={
'datetime': '1990-06-15T10:30:00',
'latitude': 19.0760,
'longitude': 72.8777,
'timezone': '+05:30'
}
)
chart = response.json()
print(chart['data']['planets']) # List of planetary positions
curl -X POST https://api.vedika.io/v2/astrology/kundli \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"datetime": "1990-06-15T10:30:00",
"latitude": 19.0760,
"longitude": 72.8777,
"timezone": "+05:30"
}'
Typed interfaces, auto-retry, streaming support. Works in Node.js and browsers.
Pythonic interface, async support, type hints. Works with any Python 3.8+ project.
Vedika is a standard REST API returning JSON. Any language or framework that can make HTTP POST requests works out of the box. The SDKs add convenience (typed responses, auto-retry, streaming helpers) but are entirely optional.
All requests require an API key in the x-api-key header. Get your key from the dashboard. Plans start at $12/month.
// Header format for all requests x-api-key: vk_live_your_key_here