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.

Send every query as a POST to https://data.mountaya.com/graphql, with a publishable key holding 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.

Self-serve: an owner or admin adds a card in the Mountaya app, and nothing is charged until called.

You pay for each root field answered without an error, such as one directions, up to a monthly allowance. See rate limits and pricing.

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 explorer documents every query and type, and runs them live. Download the GraphQL schema to generate types. GraphQL conventions covers inputs, errors, and batching.

Next steps

Last updated