API reference › Panchang & muhurat

Muhurat Activities API

Supported muhurat activities

GET/v1/muhurat/activities

0 credits · Secret or publishable key · listMuhuratActivities

Response

JSON { data, meta, warnings }, where data is:

  • activities array of object required
    • id string required
    • label string required

Errors: 400, 401, 403, 404, 422, 429, 500. See error codes.

Example request

curl 'https://api.astrologics.in/v1/muhurat/activities' \
  -H 'Authorization: Bearer al_test_YOUR_KEY'
Node.js
const res = await fetch("https://api.astrologics.in/v1/muhurat/activities", {
  headers: { Authorization: "Bearer al_test_YOUR_KEY" },
});
console.log(JSON.stringify(await res.json(), null, 2));
Python
import json
import urllib.error
import urllib.request

req = urllib.request.Request(
    "https://api.astrologics.in/v1/muhurat/activities",
    method="GET",
    headers={"Authorization": "Bearer al_test_YOUR_KEY"},
)
try:
    with urllib.request.urlopen(req) as res:
        print(json.dumps(json.load(res), indent=2, ensure_ascii=False))
except urllib.error.HTTPError as err:
    print(err.code, err.read().decode())
PHP
<?php
$ch = curl_init('https://api.astrologics.in/v1/muhurat/activities');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer al_test_YOUR_KEY'],
    CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch), PHP_EOL;

Example response

200 OK · 912 characters
{
  "data": {
    "activities": [
      {
        "id": "marriage",
        "label": "Marriage / engagement"
      },
      {
        "id": "griha-pravesh",
        "label": "Griha pravesh (house warming)"
      },
      {
        "id": "business",
        "label": "Business / shop opening"
      },
      {
        "id": "vehicle",
        "label": "Buying a vehicle"
      },
      {
        "id": "travel",
        "label": "Starting a journey"
      },
      {
        "id": "education",
        "label": "Starting education (vidyarambha)"
      },
      {
        "id": "namkaran",
        "label": "Naming a child (namkaran)"
      },
      {
        "id": "property",
        "label": "Buying land or property"
      }
    ]
  },
  "meta": {
    "request_id": "req_example",
    "api_version": "v1",
    "engine_version": "2026.10.10",
    "mode": "live",
    "credits_charged": 0
  },
  "warnings": []
}
Try it

Leave empty to use the shared demo key (limited). Test keys only: never charged. Kept in this browser tab and sent through this site to the API. Create one

More in Panchang & muhurat

Get a free API key Panchang & muhurat product page