Data API
Outdoor routing and geospatial analysis as data. One read-only GraphQL endpoint for directions, suggestions, isochrones, matrices, places, and terrain.
The Data API is a single read-only GraphQL endpoint at https://data.mountaya.com/graphql. It answers routing and geospatial questions as structured data you render however you like: compute directions between waypoints, generate route suggestions that hit a target distance, draw reachability isochrones, build travel-time matrices, geocode places, list points of interest, and analyze the surface and slope of any geometry.
Every request is a POST carrying a publishable key with the data scope in X-API-Key and a session token in X-Session-Token; see authentication to mint one from your key pair. There are no mutations: the API only reads.
What you can compute
- Routing.
directionsbetween waypoints,suggestionsshaped to a target distance and ascent,isochronesfor reachable area, and amatrixof travel times or distances between locations. - Places.
geocodefree text into named places,reverseGeocodea coordinate, listpoisin an area, and run a unifiedsearchacross places, POIs, ways, and your own itineraries, collections, and zones. - Analysis.
analyzeGeometryto classify the surface, way type, and slope of an existing line.
All coordinates are [longitude, latitude] in WGS 84, distances are in meters, durations in seconds, elevations in meters above sea level, and gradients in degrees.
Explore the queries
Browse the schema and run queries live in the playground, or download the full GraphQL SDL to generate types and explore it in your own tooling.
Quickstart
Send a directions request with real headers and read the response shape.
Playground
Browse the schema and run live queries in an in-browser GraphQL explorer.
Routing
directions, suggestions, isochrones, and matrix for any activity.
Places
geocode, reverseGeocode, pois, and unified search.
Analysis
analyzeGeometry: surface, way type, and slope of a geometry.