Render Natal Chart (SVG) - v2
GET
/api/chart2/natal.svg
Render a natal chart using the new Chart2 engine as SVG.
Required parameters:
- width, height: Chart dimensions
- dateTime: Birth date/time (YYYY-MM-DDTHH:mm)
- location.longitude, location.latitude, location.timezone: Birth location
Theme presets:
Use ?theme=<preset> to select a theme:
- default: Classic white background with colored elements
- classic: Traditional astrology chart look
- dark: Modern dark theme with vibrant colors
- minimal: Clean, less visual noise
- colorful: Vibrant planet colors
- nextgen: Modern design with curved aspect lines, glow effects, and gradients
- vintage: Old parchment/manuscript style with sepia tones
- neon: Cyberpunk style with bright neon colors on black
- pastel: Soft, calming pastel colors
- print: High contrast black/white optimized for printing
Optional theme overrides:
- theme.background: Background color
- theme.foreground: Text color
- theme.strokeOnly: Render stroke only (true/false)
- theme.symbolScale: Symbol scale factor
- theme.showDegrees: Show degree labels (true/false)
- theme.showHouseNumbers: Show house numbers (true/false)
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
[
]