Skip to content

Render Transit Chart (SVG) - v2

GET
/api/chart2/transit.svg

Render a transit bi-wheel chart using the new Chart2 engine as SVG.

Required parameters:

  • width, height: Chart dimensions
  • dateTime: Natal date/time (YYYY-MM-DDTHH:mm)
  • location.longitude, location.latitude, location.timezone: Natal location
  • transit.dateTime: Transit date/time (YYYY-MM-DDTHH:mm)

Optional parameters:

  • transit.timezone: Transit timezone (defaults to natal timezone)
  • transit.longitude, transit.latitude: Transit location (defaults to natal location)

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

TypeAPI Key (header: X-Api-Key)

Responses

Chart rendered successfully

image/svg+xml
JSON
[
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation