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/mapsCreate a new Azimuthal Equidistant map
GET
/api/v1/maps/:idRetrieve a map by ID
POST
/api/v1/distanceCalculate true distance between two points
POST
/api/v1/geocodeConvert address to coordinates
POST
/api/v1/markersAdd 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"
}'