APIs / Search engines / Waze

from 2 credits per call1 endpoint17 datapointsChecked working 6 Dec 2026

Waze API

Waze API for driving routes with live ETA, traffic delay, distance, tolls and turn-by-turn steps between two points, as JSON. 2 credits per successful call.

Waze
GET/v1/waze/route?from_lat=52.520006&from_lon=13.404954&to_lat=52.3906&to_lon=13.0645&alternatives=2&include[]=steps
{
  "success": true,
  "data": {
    "from": {
      "lat": 52.520006,
      "lon": 13.404954
    },
    "to": {
      "lat": 52.3906,
      "lon": 13.0645
    },
    "vehicle_type": "car",
    "avoid_tolls": false,
    "avoid_ferries": false,
    "passes": "all",
    "count": 2,
    "routes": [
      {
        "rank": 1,
        "distance_m": 34944,
        "eta_s": 3001,
        "free_flow_s": 2051,
        "delay_s": 950,
        "toll": false,
        "toll_meters": 0,
        "ferry": false,
        "ferry_meters": 0,
        "main_streets": [
          "A115 - E51",
          "L40 - Nuthestraße",
          "B2 - B5 - Straße des 17. Juni"
        ],
        "road_types": {
          "major_highway": 8579,
          "street": 176,
          "primary_street": 2992,
          "ramp": 2047,
          "freeway": 17515,
          "minor_highway": 3635
        },
        "restricted_areas": [
          "Umweltzone"
        ],
        "passes": [
          "germany-umweltplakette-grun"
        ],
        "passes_through_danger_area": false,
        "time_zone": "Europe/Berlin",
        "bbox": {
          "min_lat": 52.37223,
          "min_lon": 13.0645,
          "max_lat": 52.52005,
          "max_lon": 13.40464
        },
        "steps": [
          {
            "instruction": "depart",
            "street": "B2 - B5 - Karl-Liebknecht-Straße",
            "lat": 52.520047,
            "lon": 13.404642,
            "distance_m": 1376,
            "duration_s": 213
          },
          {
            "instruction": "turn_right",
            "street": "B2 - B5 - Unter den Linden",
            "lat": 52.516951,
            "lon": 13.385771,
            "distance_m": 224,
            "duration_s": 36
          },
          {
            "instruction": "turn_left",
            "street": "Schadowstraße",
            "lat": 52.517722,
            "lon": 13.383791,
            "distance_m": 300,
            "duration_s": 92
          }
        ]
      },
      {
        "rank": 2,
        "distance_m": 39514,
        "eta_s": 3313,
        "free_flow_s": 2273,
        "delay_s": 1040,
        "toll": false,
        "toll_meters": 0,
        "ferry": false,
        "ferry_meters": 0,
        "main_streets": [
          "A115 - E51",
          "A100",
          "L40 - Nuthestraße"
        ],
        "road_types": {
          "major_highway": 1104,
          "primary_street": 4610,
          "minor_highway": 8506,
          "freeway": 23596,
          "ramp": 1698
        },
        "restricted_areas": [
          "Umweltzone"
        ],
        "passes": [
          "germany-umweltplakette-grun"
        ],
        "passes_through_danger_area": false,
        "time_zone": "Europe/Berlin",
        "bbox": {
          "min_lat": 52.37223,
          "min_lon": 13.0645,
          "max_lat": 52.55057,
          "max_lon": 13.40464
        },
        "steps": [
          {
            "instruction": "depart",
            "street": "B2 - B5 - Karl-Liebknecht-Straße",
            "lat": 52.520047,
            "lon": 13.404642,
            "distance_m": 873,
            "duration_s": 100
          },
          {
            "instruction": "turn_right",
            "street": "B2 - B5 - Unter den Linden",
            "lat": 52.517369,
            "lon": 13.393135,
            "distance_m": 829,
            "duration_s": 122
          },
          {
            "instruction": "turn_left",
            "street": "Tucholskystraße",
            "lat": 52.524372,
            "lon": 13.392539,
            "distance_m": 405,
            "duration_s": 81
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "route_planning",
    "request_id": "req_85eb34aefd584f85ad3a13bb4e250e48",
    "credits_charged": 2,
    "credits_remaining": 1788
  }
}
200 OKJSONX-Credits-Used: 2
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of route: the fields and shapes you will get, shortened to 2 items.

#rankintegerdistance_mintegereta_sintegerfree_flow_sintegerdelay_sintegertollbooleantoll_metersintegerferrybooleanferry_metersintegermain_streetsstring[]road_typesobjectrestricted_areasstring[]passesstring[]passes_through_danger_areabooleantime_zonestringbboxobjectstepsobject[]
113494430012051950false0false0[3 items]{6 fields}[1 item][1 item]falseEurope/Berlin{4 fields}[3 items]
2239514331322731040false0false0[3 items]{5 fields}[1 item][1 item]falseEurope/Berlin{4 fields}[3 items]

Recorded from our API · 2 items shown · 17 datapoints per itemGET /v1/waze/route?from_lat=52.520006&from_lon=13.404954&to_lat=52.3906&to_lon=13.0645&alternatives=2&include[]=steps

17 datapoints

Identity

  • road_typesobject

Location

  • main_streetsstring[]
  • restricted_areasstring[]
  • passes_through_danger_areaboolean

Other

  • rankinteger
  • distance_minteger
  • eta_sinteger
  • free_flow_sinteger
  • delay_sinteger
  • tollboolean
  • toll_metersinteger
  • ferryboolean
  • ferry_metersinteger
  • passesstring[]
  • time_zonestring
  • bboxobject
  • stepsobject[]

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/waze/route?from_lat=52.520006&from_lon=13.404954&to_lat=52.3906&to_lon=13.0645&alternatives=2&include[]=steps" \
  -H "X-API-Key: $API_KEY"

Waze · 1 endpoint

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/waze/route
from_latfrom_lonto_latto_lon+6 optional
fromtovehicle_typeavoid_tollsavoid_ferriespasses+1 more
2 credits

Overview

About the Waze API

What you can get

The Waze API returns Waze driving routes as JSON through 1 endpoint.

  • Route: route takes a from_lat, from_lon, to_lat and to_lon, with alternatives, avoid_tolls, avoid_ferries, vehicle_type (car, motorcycle or taxi), passes[] (AT, CH, CZ, HU, SI, SK, ALL or NONE) and include[] (geometry or steps).

The recorded route from 52.520006, 13.404954 to 52.3906, 13.0645 with alternatives=2 and include[]=steps returns count and routes, each with rank, distance_m, eta_s, free_flow_s, delay_s, toll, toll_meters, ferry, ferry_meters, main_streets, road_types, restricted_areas, passes, time_zone, bbox and steps. Each step has an instruction, street, lat, lon, distance_m and duration_s.

How a call works

Ask for a route: GET /v1/waze/route?from_lat=52.520006&from_lon=13.404954&to_lat=52.3906&to_lon=13.0645&alternatives=2&include[]=steps with your key in the X-API-Key header. Compare eta_s with free_flow_s, or read delay_s, to see how much traffic adds to each route. Every successful call costs 2 credits; failed calls cost nothing.

Search enginesJSONRESTMCP

More search engines APIs

Use cases

Estimate live drive times between two points

Use the Waze API to estimate live drive times between two points

Measure traffic delay on a route through the day

Use the Waze API to measure traffic delay on a route through the day

Compare alternative routes by distance, time and tolls

Use the Waze API to compare alternative routes by distance, time and tolls

Plan routes for motorcycles or taxis with `vehicle_type`

Use the Waze API to plan routes for motorcycles or taxis with `vehicle_type`

FAQ

Questions

How much does the Waze API cost?

Each successful `route` call costs two credits, however many alternatives it returns. New accounts get free credits to start, and credit packs bring the price down as you scale.

Can I avoid tolls or ferries?

Yes. Pass `avoid_tolls=true` or `avoid_ferries=true` to `route`. Each route also reports `toll`, `toll_meters`, `ferry` and `ferry_meters`.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Do I need a Waze account?

No. You call this Waze API with your Perceptlayer key in the `X-API-Key` header, with no Waze login.

Is this the official Waze API?

No. Perceptlayer is an independent service and is not affiliated with Waze. It returns Waze data as JSON with a Perceptlayer key, so there is no Waze developer account, app review or partner approval to get first. It only reads data: if Waze has an official API and you need to act on your own Waze account, such as posting, managing orders or reading private data, use that one.

Should I build a Waze scraper instead?

You can, but a Waze scraper is code you maintain: page changes break it, requests get blocked, and Waze's terms govern how you collect data. The Waze API gives you 1 endpoint of named JSON fields for 2 credits per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Waze API with 100 free credits

No credit card. Failed calls are never billed.