Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Jawg Maps Routing API

The Routing API from Jawg Maps — 2 operation(s) for routing.

Jawg Maps Routing API is one of 7 APIs that Jawg Maps publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Routing. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against 2 base URLs: https://tile.jawg.io, https://api.jawg.io.

2 operations 2 paths 3 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://tile.jawg.io
Authentication
API Key, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

Jawg Maps Routing API declares 2 security schemes for authenticating requests. An API key is passed in the query as access-token (accessToken). It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • accessToken — Jawg access token, obtained from the Jawg App account.
  • bearerAuth — Jawg access token supplied as a Bearer token on api.jawg.io surfaces.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Routing 2
POST
/routing/route
Compute a route between two or more locations.
computeRoute 1 param body → 200401
POST
/routing/optimized_route
Compute an optimized (traveling-salesman) route.
computeOptimizedRoute 1 param body → 200401

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are RouteRequest (4 properties), Location (3 properties), Error (1 property). Each schema is shown below with its type and property counts.

RouteRequest
object
4 properties 2 required
Location
object
3 properties 2 required
Error
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jawg-maps-routing-api-openapi.yml Raw ↑

Other APIs Jawg Maps publishes across the network.

Jawg Maps Isochrone API
Jawg Maps Matrix API
Jawg Maps Places API
Jawg Maps Static Maps API
Jawg Maps Styles API
Jawg Maps Tiles API