Skip to content
BestAstroAPI

Western

Chart wheel image

POST/v1/western/chart/image

The tropical chart as an SVG wheel: signs, house cusps, planets and aspect lines.

Request

FieldTypeDescription
datetimestringrequiredLocal birth time, YYYY-MM-DDTHH:MM[:SS]
latnumberLatitude, -90 to 90 (north positive). Send lat, lon and tz, or place, or place_id
lonnumberLongitude, -180 to 180 (east positive)
tzstringIANA zone (Asia/Kolkata) or offset (+05:30). Needed with lat and lon; filled in with a place
placestringPlace name instead of lat, lon and tz, for example Gorakhpur, Uttar Pradesh. If the name is not unique: ambiguous_place with choices
place_idintegerThe id of a place from place search, instead of lat, lon and tz
house_systemstringplacidus (default) | koch | equal | whole_sign | regiomontanus | campanus | porphyry. Placidus and Koch fall back to porphyry inside the polar circles
nodestringmean (default) | true
aspectsbooleanDraw major aspect lines (default true)

Example

curl -X POST "https://api.bestastroapi.in/v1/western/chart/image" \
  -H "x-api-key: $BESTASTRO_KEY" \
  -H "content-type: application/json" \
  -d '{"datetime":"2004-05-18T10:30","lat":28.6139,"lon":77.209,"tz":"Asia/Kolkata","house_system":"placidus"}'

Try it live

Sends a real request from your browser.

The response is an SVG image. It will be drawn here.

Response

Sample chart wheel

image/svg+xml. Real output for the example request above.

Errors use one format. See error codes. Also in openapi.json.

Welcome! How will you use it?

We'll show you what matters to you. You can switch any time at the top.