Works with Every Framework

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.

Frontend Frameworks

React
Hooks, custom hooks, state management. Use fetch or @vedika-io/sdk.
Next.js
API routes, server components, App Router. SSR-friendly with SDK.
💚
Vue.js
Composition API, composables, reactive state. Standard fetch or axios.
🅐
Angular
HttpClient, services, RxJS observables, dependency injection.
🔥
Svelte
Stores, onMount lifecycle, minimal boilerplate. Standard fetch.
💫
Flutter
Dart http package. Works on iOS, Android, and web from one codebase.
📱
React Native
Same fetch API as React. Works on iOS and Android.
🍎
Swift / iOS
URLSession or Alamofire. JSON decoding with Codable.

Backend Frameworks

🟢
Node.js
Express, Fastify, Koa. Use @vedika-io/sdk (npm) or native fetch.
🐍
Python
requests, httpx, aiohttp. Official vedika-sdk on PyPI.
🎨
Django
Views, DRF serializers, async views. Use vedika-sdk or requests.
Flask
Blueprints, decorators, lightweight. vedika-sdk or requests.
🚀
FastAPI
Async/await, Pydantic models, automatic docs. httpx or vedika-sdk.
💎
Ruby on Rails
HTTParty, Faraday. Controller + service pattern.
👨
PHP / Laravel
Guzzle HTTP client, service classes. Blade or Livewire frontend.
🏃
Go
net/http, encoding/json. Minimal dependencies, fast.
Java / Spring Boot
RestTemplate, WebClient. Bean configuration for API client.
🔵
.NET / C#
HttpClient, System.Text.Json. ASP.NET Core service injection.

Code Examples

JavaScript (fetch)
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
Python (requests)
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
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"
  }'

Official SDKs

JavaScript SDK

Typed interfaces, auto-retry, streaming support. Works in Node.js and browsers.

npm install @vedika-io/sdk
View SDK Docs →

Python SDK

Pythonic interface, async support, type hints. Works with any Python 3.8+ project.

pip install vedika-sdk
View SDK Docs →

No SDK required

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.

Authentication

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
View Full API Docs Try Sandbox