Calculate Astrocartography Lines (JSON)
GET
/api/astrocartography/lines
Calculate astrocartography line data without rendering.
Returns the raw line coordinates for each planet and angle type,
useful for custom rendering or integration with mapping libraries.
Required parameters:
- dateTime: Birth date/time (YYYY-MM-DDTHH:mm)
- location.longitude, location.latitude, location.timezone: Birth location
Authorizations
ApiKeyAuth
API key for authentication. Get your API key from the dashboard.
Type
API Key (header: X-Api-Key)
Parameters
Query Parameters
dateTime*
Birth date/time (YYYY-MM-DDTHH:mm)
Type
Requiredstring
location.longitude*
Birth longitude in decimal degrees
Type
Requiredstring
location.latitude*
Birth latitude in decimal degrees
Type
Requiredstring
location.timezone*
IANA timezone identifier
Type
Requiredstring
width
Map width in pixels
Type
string
Default
"1200"height
Map height in pixels
Type
string
Default
"600"projection
Map projection type
Type
string
Valid values
"equirectangular""naturalEarth1""mercator"Default
"equirectangular"showLabels
Show planet line labels
Type
string
Default
"true"showLegend
Show planet legend
Type
string
Default
"true"showGraticule
Show grid lines
Type
string
Default
"true"backgroundColor
Background color (hex)
Type
string
landColor
Land color (hex)
Type
string
oceanColor
Ocean color (hex)
Type
string
borderColor
Country border color (hex)
Type
string
graticuleColor
Graticule grid line color (hex)
Type
string
lineWidth
Line width in pixels
Type
string
Responses
Astrocartography lines calculated successfully
application/json
JSON "data": { "lines": [ { "planetId": "string", "angleType": "string", "points": [ [ ] ] } ] }
{
}