Get started

Data API

Data API

Routing, places, and terrain for outdoor activities, as data. One read-only GraphQL endpoint for directions, isochrones, geocoding, and elevation.

POST https://data.mountaya.com/graphql

Every request sends a publishable key with the data scope and a session token your server mints. The quickstart makes your first call in five minutes, and authentication covers tokens in a browser.

The Data API is self-serve: add a card in the Mountaya app and pay per request.

What it answers

JobQueriesGuide
Route between pointsdirections, suggestionsRouting
Measure what is in reachisochrones, matrixRouting
Find placesgeocode, reverseGeocode, pois, searchPlaces
Read your itinerariesitinerary, exportItineraryItineraries
Classify and time a lineanalyzeGeometryAnalysis
Read the groundterrainSamples, terrainProfile, terrainGridTerrain

Coordinates are [longitude, latitude]. Distances are in meters, durations in seconds, and slopes in degrees.

Explore the schema

The Data API reference documents every query and type. Run queries live in the Data API explorer, or download the GraphQL schema to generate types. GraphQL conventions covers inputs, errors, and batching.

Next steps

Last updated