Western
Chart wheel image
POST/v1/western/chart/image
The tropical chart as an SVG wheel: signs, house cusps, planets and aspect lines.
Request
| Field | Type | Description |
|---|---|---|
| datetime | stringrequired | Local birth time, YYYY-MM-DDTHH:MM[:SS] |
| lat | number | Latitude, -90 to 90 (north positive). Send lat, lon and tz, or place, or place_id |
| lon | number | Longitude, -180 to 180 (east positive) |
| tz | string | IANA zone (Asia/Kolkata) or offset (+05:30). Needed with lat and lon; filled in with a place |
| place | string | Place name instead of lat, lon and tz, for example Gorakhpur, Uttar Pradesh. If the name is not unique: ambiguous_place with choices |
| place_id | integer | The id of a place from place search, instead of lat, lon and tz |
| house_system | string | placidus (default) | koch | equal | whole_sign | regiomontanus | campanus | porphyry. Placidus and Koch fall back to porphyry inside the polar circles |
| node | string | mean (default) | true |
| aspects | boolean | Draw 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"}'Response
image/svg+xml. Real output for the example request above.
Errors use one format. See error codes. Also in openapi.json.