places

Places & Maps

Directions & Routing

Directions & Routing is a places & maps capability available through Mapbox, Google Maps, HERE on Aweb. Calculate optimal routes between locations with turn-by-turn navigation. Access it through a single unified API with automatic failover and intelligent routing.

Try Directions & RoutingAPI docs

Best for

Highest quality

Mapbox, Google Maps

Premium tier

Contract

Max Latency3000ms

Providers (3)

ProviderScoreQualityPricing
MapboxDEFAULT
92premiumstandard
Google Maps
97premiumstandard
HERE
92premiumstandard

Public discovery and orchestration

Inspect the live capability descriptor directly, then route orchestration through a capability filter. Generic public execute examples are intentionally withheld until the canonical public execute contract is normalized.

cURL

curl "https://aweblabs.ai/api/v2/capabilities/places.directions"

TypeScript

import Aweb from '@aweb/sdk';

const client = new Aweb({
  baseUrl: 'https://aweblabs.ai/api/v2',
});

const capability = await client.capabilities.get('places.directions');

console.log(capability.data.runtime.providers);

Orchestration pipeline

import Aweb from '@aweb/sdk';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });

const result = await aweb.orchestrate.run({
  query: 'Use Directions & Routing to help with a hello-world task and summarize the output',
  capabilities: ['places.directions'],
  policy: 'balanced',
});

console.log(result.data.status);

Related Places & Maps capabilities

Geocoding

places

Isochrone Analysis

places

Places Search

places

Distance Matrix

places

Geofencing

places

Address Validation

places

Getting started →API reference →All providers →All capabilities →