Limited-time launch offer: 30% off the first year of every Panchang API plan. See plans ↗
ॐ VEDIC ASTRONOMY · DEVELOPER API

Vedic Panchang & Astrology API

Build Panchang apps, astrology platforms and developer tools with sunrise-anchored calculations delivered as clean JSON. One API key, three core routes, and a shared engine for 20+ Vedic tools.

✓ Free evaluation tier ✓ No SDK or OAuth required ✓ JavaScript, PHP & Python examples
REST · JSON
BASE URL
https://api.gopixel.in/api/v1
REQUEST
GET
x-api-key: YOUR_KEY
 
RESPONSE · illustrative, abridged

    
Illustrative values; see the API reference for exact fields. Use your own key from the API dashboard and never publish a private key in client-side code.
20+Vedic tools
±2 minPublished Sun & Moon timing accuracy
±0.1°Published Mercury–Saturn position accuracy
<150 msTypical response time listed by the store page
99.9%Uptime figure listed on the store page; Enterprise SLA terms apply separately
WHY GOPIXEL PANCHANG API

One engine for everyday Panchang and deeper Jyotish

Use the calculations in your own interface. The API runs server-side, returns JSON, and includes rate-limit and usage information in responses.

☼

Location-aware Panchang

Daily tithi, nakshatra, yoga, karana, sunrise, sunset and Rahu Kaal, using the location coordinates you supply.

✧

Graha positions

Nine planetary positions, retrograde flags and next sign-change information through the /graha route.

◷

Daily timing tools

Hora, Choghadiya, Rahu Kaal, Yama and Gulik periods, Panchak, Bhadra and Gandmool data.

☾

Vrat and festival calendars

Ekadashi with Parana, Pradosh, Sankashti, yearly festival data and date-range Muhurat search.

⌘

Kundali and Dasha

Kundali D1/D9, Ashtakoota matching, Vimshottari Dasha, Sade Sati and Naam Akshar.

◎

World Panchang

Per-city sunrise, tithi and nakshatra using city names and latitude/longitude coordinates.

☄

Astronomy and other tools

Eclipse visibility and Sutak, Hindu calendar, Samvat, Horoscope, Dosha analysis and Numerology.

▤

Developer-friendly JSON

Formatted IST time alongside Julian Day and ISO values, so your application can format the result as needed.

API SURFACE

Three core routes. 23 listed endpoints/tools.

Use the core routes below, then consult the official reference for exact tool names, required parameters, request methods and response schemas.

GET

/panchang

Daily Panchang bundle: tithi, nakshatra, yoga, karana, sunrise/sunset and Rahu Kaal.

Parameters: date=YYYY-MM-DD, lat, lon
Reference ↗
GET

/graha

Nine planetary positions, retrograde flags and next sign-change information.

Parameters: date, hour (IST; defaults to 12 in the docs)
Reference ↗
GET / POST

/tool

Shared route for the other tools, selected with the name parameter. The documentation uses JSON bodies for tools that need structured or personal data.

Supported method and parameters depend on the selected tool.
Tool reference ↗

Time and daily calculations

hora, choghadiya, rahu, yama, gulik, panchak, gandmool and Bhadra-related periods.

Calendar and location

world, hindu, samvat, monthGrid, vratYear, vratToday, vratUpcoming, festival and muhurat.

Astrology and personal charts

horoscope, dosha, numerology, sadesati, matching, kundali, navamsa, dasha and naam.

Eclipses and celestial events

grahan returns eclipse data, visibility and Sutak; check the reference for the year and coordinates required.

Integration tip: The published docs group several tools under the shared /tool route. Do not assume every tool uses the same parameters or request method—check its entry in the official reference before shipping.
DEVELOPER QUICKSTART

Make your first request

Base URL and authentication header from the published documentation. Replace YOUR_KEY with your own key.

BASE URLhttps://api.gopixel.in/api/v1
HEADERx-api-key: YOUR_KEY
JavaScript · FetchGET /panchang
const KEY = process.env.PANCHANG_API_KEY;

const url = new URL("https://api.gopixel.in/api/v1/panchang");
url.search = new URLSearchParams({
  date: "2026-10-14",
  lat: "26.8467",
  lon: "80.9462"
}).toString();

const response = await fetch(url, {
  headers: { "x-api-key": KEY }
});

if (!response.ok) {
  throw new Error(`API request failed: ${response.status}`);
}

const data = await response.json();
console.log(data.tithi.name, data.sunrise.ist);
PHP · cURL
<?php
$key = getenv('PANCHANG_API_KEY');
$url = 'https://api.gopixel.in/api/v1/panchang'
     . '?date=2026-10-14&lat=26.8467&lon=80.9462';

$ch = curl_init($url);
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => ['x-api-key: ' . $key],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

if ($status >= 200 && $status < 300) {
  $data = json_decode($body, true);
  echo $data['tithi']['name'] ?? 'No tithi field';
}
?>
Python · requests
import os
import requests

url = "https://api.gopixel.in/api/v1/panchang"
params = {
    "date": "2026-10-14",
    "lat": 26.8467,
    "lon": 80.9462,
}
response = requests.get(
    url,
    params=params,
    headers={"x-api-key": os.environ["PANCHANG_API_KEY"]},
    timeout=15,
)
response.raise_for_status()
data = response.json()
print(data["tithi"]["name"], data["sunrise"]["ist"])

Protect the key. Prefer server-side requests or a small proxy such as a Cloudflare Worker. If browser calls are unavoidable, bind the key to your allowed domain; the key will still be visible to visitors in DevTools.

CURRENT PLANS

Choose a plan for your usage

Pricing and quotas below match the current GoPixel API store listing reviewed on 14 October 2026. Paid prices are shown per month but billed yearly; GST is extra. The store advertises 30% off the first year for a limited time—confirm eligibility at checkout.

Free

Evaluate the engine

₹0 forever
No card needed
  • 1,000 calls per day
  • 30 requests per minute
  • 1 allowed domain
  • Daily Panchang, Graha and Hora
  • Kundali and matching suite listed
  • Priority support listed
Start free ↗

Starter

For sites and side projects

₹499/ month*
Billed yearly · GST extra
  • 50,000 calls per day
  • 60 requests per minute
  • All 20+ tools included
  • 1 allowed domain
  • Kundali D1/D9 and matching
  • Email support
View Starter ↗

Enterprise

For platforms at scale

Custom
Tailored quota and terms
  • Custom volume and rate limits
  • Multi-domain and white-label keys
  • Written SLA with 99.9% target
  • Dedicated support channel
  • Onboarding assistance
View Enterprise options ↗

*Starter and Pro prices are monthly equivalents billed yearly, excluding GST. Plans, quotas, launch offers and domain allowances can change; the GoPixel store checkout is the final reference. The free plan's feature list is shown as currently published.

PRODUCTION NOTES

Timezone, rate limits and security

Time conventions

Times are documented as Julian Day, ISO and formatted IST (Asia/Kolkata). Panchang is sunrise-anchored, so pass the latitude and longitude of the place you want to calculate.

Calculation conventions

The documentation lists Lahiri ayanamsha, Sun and Moon timing accuracy of approximately ±2 minutes, and planetary accuracy (Mercury–Saturn) of approximately ±0.1°.

Rate-limit handling

Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-Usage-Day and Cache-Control. HTTP 429 means quota exceeded—back off before retrying.

Common HTTP errors

400 invalid parameters; 401 missing or invalid key; 403 plan or domain restriction; 429 quota exceeded.

Domain binding

Keys can be bound to one allowed domain or left open as *, according to account settings and plan. Multiple sites may require additional keys or a multi-domain arrangement.

Key rotation and uptime

If a key leaks, contact GoPixel to rotate it or regenerate it through My Account → API where available. The store lists 99.9% uptime; Enterprise plans include a written SLA and priority support.

FAQ

Developer questions, answered

Do I need an SDK, OAuth or request signing?

No SDK, OAuth flow or request signing is required by the published guide. Send your API key in the x-api-key header on every request.

Can I make API calls directly from a browser?

It is technically possible, but any key embedded in browser code is visible in DevTools. Prefer a server-side request or proxy. Domain binding can restrict where a key is used, but does not make a public browser key secret.

Which timezone should I use?

The documentation says formatted times are returned in IST (Asia/Kolkata), alongside Julian Day and ISO values. Panchang is sunrise-anchored, so pass coordinates for the relevant location.

How should my app react to a quota error?

HTTP 429 indicates the quota has been exceeded. Check usage headers, retry with backoff, and cache repeated date-and-city requests where appropriate.

Can one key be shared across several websites?

Each key can be bound to one allowed domain or configured as *. The number of allowed domains depends on the plan; the current listing shows one domain for Free and Starter, and three for Pro.

Is attribution required?

The API documentation says attribution is not required for the API itself. If you use a GoPixel white-label UI, keep its footer credit unless your plan explicitly removes it.

Is the 99.9% uptime a guaranteed SLA?

The store lists 99.9% uptime. The API documentation says Enterprise plans can include a written SLA; consult the applicable contract for binding commitments.

How do I get an API key?

Create an account through the GoPixel API store and choose a plan. The store says keys are issued instantly and appear under My Account → API. If a checkout link fails, use the store's main page to check current access.

READY TO BUILD?

Bring Vedic calculations into your product.

Start with the official documentation, check the current plan and test a request before connecting production traffic.

Prepared from the published API documentation at panchang.gopixel.in/api and the current plan listing at admin.gopixel.in, reviewed 14 October 2026. Product prices, quotas, trial terms and offers may change. Consult the official documentation and store before going live.