🕰️ 15+ Muhurta APIs and ✋ Palmistry API are now live. Ship them in your app today.
Blog/Developer guide

Astrocartography API: Turn Birth Charts Into Location-Based Astrology Experiences

A guide to Astrocartography calculations, planetary lines, category-based endpoints, coordinates, and product experiences developers can build with an API.

September 18, 2026·12 min read·AstrologyAPI Team
In brief
  • Astrocartography projects planetary angularity onto global coordinates to reveal relocation, career, love, and travel themes.
  • AstrologyAPI provides three dedicated endpoints: full travel map coordinates, category-filtered locations, and single planetary line data.
  • Raw latitude and longitude coordinates allow frontend teams to render maps using Google Maps, Mapbox, Leaflet, or custom libraries.

Popular user questions Astrocartography answers:

  • “Where should I move for my career?”
  • “Which city is better for love and relationships?”
  • “Where in the world could I feel most at home?”

A traditional birth chart answers questions about who you are.

Astrocartography adds another dimension: Where in the world might different parts of that chart become more significant?

Astrocartography, also known as locational astrology, projects planetary positions from a natal chart onto a world map. The result is a network of planetary lines showing where planets were rising, setting, overhead, or beneath the Earth at the exact time of birth.

For astrology platforms, this creates something very different from another horoscope or chart screen.

It creates an interactive location experience.

Users can explore global destinations personalized for:

Career & Ambition Love & Relationships Wealth & Money Travel & Exploration Home & Relocation Creativity Spirituality Communication Personal Growth

With the AstrologyAPI Astrocartography API, developers can build these location-based features without implementing complex astronomical calculations and geographic projection systems from scratch.

What Exactly Is Astrocartography?

A natal chart normally represents planetary positions using houses, signs, aspects, and angles.

Astrocartography takes those same birth details and asks a geographical question:

“Where on Earth was each planet angular at the moment this person was born?”

For every planet, four primary angles can be projected across the globe:

ANGLE 01

AC — Ascendant

The Ascendant line represents places where a planet was rising on the eastern horizon.

Themes: Identity, self-expression, visibility, confidence, personal presence

ANGLE 02

MC — Midheaven

The Midheaven line represents where a planet was culminating directly overhead.

Themes: Career, ambitions, public reputation, achievement, professional direction

ANGLE 03

DC — Descendant

The Descendant line represents where a planet was setting on the western horizon.

Themes: Relationships, partnerships, attraction, collaboration, external connections

ANGLE 04

IC — Imum Coeli

The IC line represents the point directly beneath the Earth (nadir).

Themes: Home, family, emotional roots, privacy, inner sense of belonging

The combination of Planet + Angle gives an astrology application the precise context needed to explain what a particular location could represent for a user.

A Map Becomes Much More Useful When Users Can Ask a Question

Showing dozens of planetary lines on a world map may look impressive, but most users aren't opening an astrology app because they want to study coordinate geometry. They have a specific question.

“Where should I move for my career?”

Your application highlights career-related planetary lines (e.g. Sun-MC, Jupiter-MC).

“Where could I find better relationship energy?”

Filter and display relevant love lines (e.g. Venus-DC, Moon-DC).

“Where might I feel more at home?”

Focus on home and emotional root influences (e.g. Moon-IC, Venus-IC).

“Which places should I explore while travelling?”

Build a personalized interactive travel map directly from their birth details.

This turns Astrocartography from a complicated astrology technique into an intuitive search and discovery experience.

Example: Career Location Finder

Imagine a user opening an astrology application and selecting: Explore → Career.

Instead of receiving another paragraph of generic career advice, they see a world map highlighting locations connected with the planets and angles relevant to career—such as a Jupiter-MC line.

Career Line Analysis Breakdown:

  • Planet: Jupiter (Expansion, growth, opportunity)
  • Angle: Midheaven / MC (Career & public reputation)
  • Theme: Professional growth & opportunity zones
  • Location Interpretation: Why cities along this meridian may foster business expansion and career recognition

The map becomes an active feature rather than a static chart.

Example: Love Location Finder

The same experience can be built around relationships using category endpoints.

Select Category Explore Planetary Line Browse Nearby Cities Read Interpretation Save Destinations

AstrologyAPI’s category endpoint returns only lines associated with a chosen life theme rather than requiring your app to filter and render every planetary line.

The Three Astrocartography APIs

AstrologyAPI provides three specialized Astrocartography endpoints tailored for different levels of product exploration.

ENDPOINT 01

1. Travel — Full Astrocartography Map

POST /v1/acg/travel

Generates the user's complete Astrocartography map coordinates across all major planets and angles.

Output: AC/DC curved coordinate paths, MC/IC vertical meridians, and optional Paran latitude crossings.

Ideal for: Full relocation maps, interactive world views, and professional dashboards.

ENDPOINT 02

2. Category Based Location

POST /v1/acg/category-location/:category

Returns planetary lines filtered specifically for a selected life theme (e.g. CAREER, LOVE, MONEY).

Output: Pre-filtered planetary line coordinates relevant to the requested topic.

Ideal for: “Best places for love”, career explorers, and goal-oriented search features.

ENDPOINT 03

3. Planetary Line Report

POST /v1/acg/planetary-line/:category/:planet

Retrieves geometric data and interpretations for one precise planet + angle combination (e.g. VENUS + DC).

Output: Precise line geometry for single-line highlight or inspection.

Ideal for: Tappable map line details and focused single-line views.

API Endpoint HTTP Method & Path Key Parameters Primary Output Best Use Case
Travel API POST /v1/acg/travel Birth details, include_parans Full map coordinate arrays for all planets Interactive world maps & complete ACG analysis
Category Based Location API POST /v1/acg/category-location/:category Birth details, :category (e.g. LOVE) Filtered lines matching the selected category Topic-focused features (Career, Love, Money)
Planetary Line API POST /v1/acg/planetary-line/:category/:planet Birth details, :category, :planet Single line coordinates (AC, DC, MC, IC) Interactive line selection & detail drawers

How to Use the Three Astrocartography APIs

All three APIs accept standard birth parameters:

  • Date of birth (day, month, year)
  • Exact birth time (hour, min, optional second)
  • Timezone offset (tzone)
  • Birthplace latitude & longitude (lat, lon)
1. User Enters Birth Data 2. App Calls AstrologyAPI 3. API Calculates ACG Lines 4. App Receives Coordinates 5. Render Map & Interpretations

Example Implementation: Requesting Full Travel Map Data

Here is how an application backend can call the Travel API using standard JavaScript:

const ASTROLOGY_API_KEY = process.env.ASTROLOGY_API_KEY;

async function fetchAstrocartographyMap(userBirthData) {
  const response = await fetch('https://json.astrologyapi.com/v1/acg/travel', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'authorization': 'Basic ' + Buffer.from(ASTROLOGY_API_KEY).toString('base64'),
    },
    body: JSON.stringify({
      day: userBirthData.day,
      month: userBirthData.month,
      year: userBirthData.year,
      hour: userBirthData.hour,
      min: userBirthData.min,
      lat: userBirthData.lat,
      lon: userBirthData.lon,
      tzone: userBirthData.tzone,
      include_parans: true,
    }),
  });

  if (!response.ok) {
    throw new Error(`Astrocartography API error: ${response.statusText}`);
  }

  const data = await response.json();
  return data;
}

API 1: Travel — Build the Complete Astrocartography Map

The Travel API endpoint (POST /v1/acg/travel) calculates planetary positions and returns line paths across four angles (AC, DC, MC, IC).

AC and DC lines are returned as arrays of latitude and longitude coordinates that form curved paths over the map projection. MC and IC lines represent vertical meridians with fixed longitude values.

API 2: Category Based Location — Answer Specific User Questions

When users don't need the entire global map, request category endpoints such as /v1/acg/category-location/LOVE or /v1/acg/category-location/CAREER.

Supported categories include: Adventure, Career, Communication, Creativity, Health, Learning, Love, Money, Power, Relationship, Spirituality, Success, Transformation, Travel, Vitality, and Wealth.

API 3: Planetary Line Report — Single Line Focus

When a user taps an individual planetary line on your map (e.g. Venus Descendant), call POST /v1/acg/planetary-line/DC/VENUS to retrieve the exact line geometry and detailed thematic breakdown for that specific line.

Supported Planetary Bodies & Angles:

  • Angles: AC (Ascendant), DC (Descendant), MC (Midheaven), IC (Imum Coeli)
  • Planets: Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, North Node

How the Three APIs Work Together

Full Map View Filter Theme (Career/Love) Tap Specific Line View Cities & Interpretations

The API Returns Coordinates. You Control the Experience.

AstrologyAPI provides pure, structured latitude and longitude coordinates. This gives your frontend engineering team full freedom to render the map using your preferred library:

  • Mapbox GL JS / Mapbox Mobile SDKs
  • Google Maps JavaScript API
  • Leaflet.js
  • D3.js SVG / Canvas Projection
  • Custom native map engines

Go Beyond Planetary Lines with Parans

A paran occurs at a geographic latitude where two planetary lines cross or share angularity. These locations mark powerful intersections where two planetary energies combine.

Enabling include_parans: true in the Travel API returns these latitude crossings, allowing your platform to highlight high-potency "power spots" on the map.

What You Can Build with an Astrocartography API

FEATURE 01

Relocation Advisor

Compare target cities (e.g. Mumbai vs Dubai vs London) based on passing planetary lines and proximity to beneficial angles.

FEATURE 02

Career Location Explorer

Surface global regions aligned with Midheaven (MC) lines for Jupiter, Sun, and Mercury to guide professional moves.

FEATURE 03

Love & Relationship Map

Filter map views for Venus and Moon Descendant (DC) lines to help users explore romantic and partnership zones.

FEATURE 04

Astro Travel Planner

Integrate birth chart location data into travel discovery products for personalized vacation and retreat recommendations.

FEATURE 05

Premium ACG Reports

Package calculation data into exportable PDF or web reports with detailed location breakdowns as a paid digital product.

Astrocartography Can Create a Natural Premium Feature

While basic birth charts and horoscopes are commonplace, Astrocartography offers a fresh interaction model: shifting from “Tell me about myself” to “Where should I go?”

This creates compelling monetization touchpoints:

  • Premium relocation search tool behind a subscription tier
  • Paid single-purchase Astrocartography PDF report
  • Unlocked category filters (Love Zones, Money Hotspots)
  • Unlimited city search & location comparisons

How AstrologyAPI Can Help You Build Astrocartography Faster

Building an Astrocartography engine in-house requires complex astronomical and geographic capabilities:

Traditional In-House ACG Build Requirements:

  1. Calculate exact planetary positions for birth timestamp
  2. Determine planetary angularity across global coordinates
  3. Compute AC, DC, MC, and IC intersection geometry
  4. Project spherical astronomical coordinates onto geographic maps
  5. Generate smooth curved paths for Ascendant / Descendant lines
  6. Calculate exact meridian lines for Midheaven / Nadir
  7. Identify paran latitude crossings
  8. Maintain timezone and ephemeris updates over time

AstrologyAPI handles this calculation layer completely. Your backend receives clean, ready-to-plot coordinates so your team can focus on UI, brand, and monetization.

BENEFIT 01

Zero Ephemeris Maintenance

No need to build or host heavy astronomical ephemeris databases or projection libraries.

BENEFIT 02

Rapid Deployment

Launch location features in days rather than spending months on astronomical calculation logic.

BENEFIT 03

Full Design Autonomy

Receive raw coordinate JSON data and render custom maps matching your app's exact design language.

BENEFIT 04

Modular Integration

Add Astrocartography as an extra layer inside existing Natal Chart or Kundli products seamlessly.

From Birth Details to a World Map: 5-Step Checklist

  1. Collect Birth Data: Date, exact time, birthplace coordinates, and timezone.
  2. Request API Endpoints: Send payload to Travel, Category, or Line endpoints.
  3. Parse Coordinate Payload: Extract latitude/longitude arrays for lines and parans.
  4. Plot on Map: Render curves and vertical meridians using Mapbox or Google Maps.
  5. Overlay Interpretation: Present thematic insights for selected cities and lines.

The Next Astrology Question May Not Be “When?”

Astrology products have traditionally focused on timing questions: “When will I find success?” or “When should I start a business?”

Astrocartography introduces a transformative spatial question:

“WHERE?” — Where in the world should I build my career, find love, or create a home?

The birth chart stays constant. The experience around it becomes global.

Build Astrocartography into Your Product

Create relocation maps, career explorers, love-location tools, and premium location astrology features with AstrologyAPI.

Astrocartography content should be presented for self-reflection, educational, and personal exploration purposes. Applications should avoid framing location insights as financial, legal, or relocation guarantees.

Further reading
Start building with real ephemeris data
150 free credits. No card required.
Related