---
title: "Eclipse Path Map (SVG)"
method: POST
path: "/render/eclipse-path"
tags: ["Visualization"]
---

# Eclipse Path Map (SVG)

`POST /render/eclipse-path`

Equirectangular world graticule with caller-supplied eclipse track. Renders centerline + shaded band of given degree-width.

## Request body

- EclipsePath
  - `path` object[], required
    - `latitude` number, required
    - `longitude` number, required
    - `time` string
  - `centerlinePoints` object[]
    - `latitude` number, required
    - `longitude` number, required
    - `time` string
  - `bandWidthDeg` number
  - `title` string
  - `options` object
    - `size` integer
    - `theme` 'light' | 'dark' | 'console'
    - `showAspects` boolean
    - `showRetrograde` boolean
    - `title` string
    - `format` 'svg' | 'json'
    - `width` integer
    - `height` integer
    - `showGraticule` boolean
    - `pathColor` string

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `svg` string, nullable
    - `format` string, nullable
    - `byteLength` number, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/529d7d36d7d6/schema)
