Data API

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. directions between waypoints, suggestions shaped to a target distance and ascent, isochrones for reachable area, and a matrix of travel times or distances between locations.
  • Places. geocode free text into named places, reverseGeocode a coordinate, list pois in an area, and run a unified search across places, POIs, ways, and your own itineraries, collections, and zones.
  • Analysis. analyzeGeometry to 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.