Back to Docs

API Reference

Complete REST API documentation for the DomeEarth platform.

Authentication

All API requests require an API key passed in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

POST/api/v1/maps

Create a new Azimuthal Equidistant map

GET/api/v1/maps/:id

Retrieve a map by ID

POST/api/v1/distance

Calculate true distance between two points

POST/api/v1/geocode

Convert address to coordinates

POST/api/v1/markers

Add markers to a map

Example Request

curl -X POST https://api.domeearth.org/v1/maps \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "center": [40.7128, -74.0060],
    "zoom": 5,
    "title": "New York Centered"
  }'