Panchang API - Node.js

Panchang API with Node.js 🟢

Integrate Panchang API into your Node.js application.

Installation

Node.js 14 or later.

npm install @vedika-io/sdk

Example Code

const { VedikaClient } = require('@vedika-io/sdk');

const client = new VedikaClient({ apiKey: 'YOUR_API_KEY' });

async function main() {
  const result = await client.post('/v2/astrology/panchang', {
    datetime: '2026-11-01T09:00:00',
    latitude: 18.5204,
    longitude: 73.8567,
    timezone: 'Asia/Kolkata'
  });
  console.log(result);
}

main().catch(console.error);

Get Started Free

Try our sandbox API with no authentication required

Try Sandbox Read Docs