// JavaScript Example (Sample Only)
fetch("https://api.astroapi.io/v1/birthchart", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "Bearer YOUR_API_KEY"
  },
  body: JSON.stringify({
    date: "2000-01-01",
    time: "12:00",
    lat: 0.0,
    lon: 0.0,
    tz: "UTC"
  })
})
  .then(res => res.json())
  .then(data => console.log(data));
# Python Example (Sample Only)
import requests

url = "https://api.astroapi.io/v1/birthchart"

payload = {
    "date": "2000-01-01",
    "time": "12:00",
    "lat": 0.0,
    "lon": 0.0,
    "tz": "UTC"
}

headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer YOUR_API_KEY"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())