Google Maps Platform Roads API

The Roads API API from Google Maps Platform — 2 operation(s) for roads api.

Operations 2

GET /v1/snaptoroads Snap to roads #
GET /v1/nearestRoads Nearest roads #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-maps:google-maps-roads-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-maps-roads-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Maps Platform Roads API
  description: API Specification for Google Maps Platform
  version: 1.22.3
servers:
- url: https://www.googleapis.com
security:
- ApiKeyAuth: []
tags:
- name: Roads API
paths:
  /v1/snaptoroads:
    get:
      operationId: snapToRoads
      servers:
      - url: https://roads.googleapis.com
      tags:
      - Roads API
      description: This service returns the best-fit road geometry for a given set of GPS coordinates. This service takes up to 100 GPS points collected along a route, and returns a similar set of data with the points snapped to the most likely roads the vehicle was traveling along. Optionally, you can request that the points be interpolated, resulting in a path that smoothly follows the geometry of the road.
      parameters:
      - $ref: '#/components/parameters/snaptoroads_path'
      - $ref: '#/components/parameters/snaptoroads_interpolate'
      responses:
        '200':
          description: 200 OK
          content:
            application/json:
              examples:
                No Interpolation:
                  value:
                    snappedPoints:
                    - location:
                        latitude: -35.27800489993019
                        longitude: 149.129531998742
                      originalIndex: 0
                      placeId: ChIJr_xl0GdNFmsRsUtUbW7qABM
                    - location:
                        latitude: -35.280323564795005
                        longitude: 149.1290903128365
                      originalIndex: 1
                      placeId: ChIJOyypT2hNFmsRZBtscGL0htw
                    - location:
                        latitude: -35.28101395754623
                        longitude: 149.1292430025548
                      originalIndex: 2
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.28146506991143
                        longitude: 149.12978858234607
                      originalIndex: 3
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.28194399606459
                        longitude: 149.1299842294294
                      originalIndex: 4
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.28282136229385
                        longitude: 149.12956142620385
                      originalIndex: 5
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.28313383700836
                        longitude: 149.12893500604946
                      originalIndex: 6
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.284728747199374
                        longitude: 149.12834860726772
                      originalIndex: 7
                      placeId: ChIJtWxAZmpNFmsRlbUCkc6VtnA
                Interpolation:
                  value:
                    snappedPoints:
                    - location:
                        latitude: -35.27800489993019
                        longitude: 149.129531998742
                      originalIndex: 0
                      placeId: ChIJr_xl0GdNFmsRsUtUbW7qABM
                    - location:
                        latitude: -35.2784195
                        longitude: 149.12946589999999
                      placeId: ChIJr_xl0GdNFmsRsUtUbW7qABM
                    - location:
                        latitude: -35.2784195
                        longitude: 149.12946589999999
                      placeId: ChIJ6aXGemhNFmsRZE_zHqhmrG4
                    - location:
                        latitude: -35.2792731
                        longitude: 149.12933809999998
                      placeId: ChIJ6aXGemhNFmsRZE_zHqhmrG4
                    - location:
                        latitude: -35.2792731
                        longitude: 149.12933809999998
                      placeId: ChIJTcTdZ2hNFmsRXokM4mWCWfk
                    - location:
                        latitude: -35.279557
                        longitude: 149.1292973
                      placeId: ChIJTcTdZ2hNFmsRXokM4mWCWfk
                    - location:
                        latitude: -35.279557
                        longitude: 149.1292973
                      placeId: ChIJiUfNQmhNFmsRSsAI-1m6y1g
                    - location:
                        latitude: -35.279610999999996
                        longitude: 149.1292889
                      placeId: ChIJiUfNQmhNFmsRSsAI-1m6y1g
                    - location:
                        latitude: -35.2796484
                        longitude: 149.1292791
                      placeId: ChIJiUfNQmhNFmsRSsAI-1m6y1g
                    - location:
                        latitude: -35.2796484
                        longitude: 149.1292791
                      placeId: ChIJ_RyFQ2hNFmsRoHJAbW7qABM
                    - location:
                        latitude: -35.279947299999996
                        longitude: 149.1291894
                      placeId: ChIJ_RyFQ2hNFmsRoHJAbW7qABM
                    - location:
                        latitude: -35.279947299999996
                        longitude: 149.1291894
                      placeId: ChIJOyypT2hNFmsRZBtscGL0htw
                    - location:
                        latitude: -35.280323564795005
                        longitude: 149.1290903128365
                      originalIndex: 1
                      placeId: ChIJOyypT2hNFmsRZBtscGL0htw
                    - location:
                        latitude: -35.2803426
                        longitude: 149.12908529999999
                      placeId: ChIJOyypT2hNFmsRZBtscGL0htw
                    - location:
                        latitude: -35.2803426
                        longitude: 149.12908529999999
                      placeId: ChIJr8xRTGhNFmsRzMb-rxgjspc
                    - location:
                        latitude: -35.280409899999995
                        longitude: 149.1290699
                      placeId: ChIJr8xRTGhNFmsRzMb-rxgjspc
                    - location:
                        latitude: -35.28048179999999
                        longitude: 149.129062
                      placeId: ChIJr8xRTGhNFmsRzMb-rxgjspc
                    - location:
                        latitude: -35.2805541
                        longitude: 149.1290623
                      placeId: ChIJr8xRTGhNFmsRzMb-rxgjspc
                    - location:
                        latitude: -35.280626
                        longitude: 149.1290712
                      placeId: ChIJr8xRTGhNFmsRzMb-rxgjspc
                    - location:
                        latitude: -35.280626
                        longitude: 149.1290712
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.280695099999996
                        longitude: 149.12908489999998
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.2807629
                        longitude: 149.1291046
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.2808294
                        longitude: 149.1291306
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.2809064
                        longitude: 149.1291693
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.280968200000004
                        longitude: 149.129208
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.28101395754623
                        longitude: 149.1292430025548
                      originalIndex: 2
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.28103840000001
                        longitude: 149.1292617
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.2810936
                        longitude: 149.1293121
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.2810979
                        longitude: 149.1293176
                      placeId: ChIJv5r0smlNFmsR5nunau79Fv4
                    - location:
                        latitude: -35.2810979
                        longitude: 149.1293176
                      placeId: ChIJpYMSrmlNFmsRXkCoIkZxgBg
                    - location:
                        latitude: -35.281152399999996
                        longitude: 149.1294256
                      placeId: ChIJpYMSrmlNFmsRXkCoIkZxgBg
                    - location:
                        latitude: -35.281152399999996
                        longitude: 149.1294256
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2811784
                        longitude: 149.1294706
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2812258
                        longitude: 149.1295413
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2812771
                        longitude: 149.12960759999999
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.281332
                        longitude: 149.1296695
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2813904
                        longitude: 149.12972670000002
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.281451700000005
                        longitude: 149.1297788
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.28146506991143
                        longitude: 149.12978858234607
                      originalIndex: 3
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.28151580000001
                        longitude: 149.1298257
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.28158259999999
                        longitude: 149.129867
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.281666099999995
                        longitude: 149.1299091
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2817377
                        longitude: 149.1299379
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.281810899999996
                        longitude: 149.1299602
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.281884999999996
                        longitude: 149.1299765
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.28194399606459
                        longitude: 149.1299842294294
                      originalIndex: 4
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.281959799999996
                        longitude: 149.12998629999998
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.282035199999996
                        longitude: 149.1299895
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2821254
                        longitude: 149.1299851
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.282199999999996
                        longitude: 149.1299743
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2822739
                        longitude: 149.1299573
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2823468
                        longitude: 149.129934
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2824178
                        longitude: 149.1299043
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2824379
                        longitude: 149.1298945
                      placeId: ChIJ601MoWlNFmsR5mvkfPp2ovA
                    - location:
                        latitude: -35.2824379
                        longitude: 149.1298945
                      placeId: ChIJe9LPnWlNFmsR7mJw8mYHwG0
                    - location:
                        latitude: -35.282472999999996
                        longitude: 149.1298835
                      placeId: ChIJe9LPnWlNFmsR7mJw8mYHwG0
                    - location:
                        latitude: -35.2825375
                        longitude: 149.1298525
                      placeId: ChIJe9LPnWlNFmsR7mJw8mYHwG0
                    - location:
                        latitude: -35.28257309999999
                        longitude: 149.1298319
                      placeId: ChIJe9LPnWlNFmsR7mJw8mYHwG0
                    - location:
                        latitude: -35.28257309999999
                        longitude: 149.1298319
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.282665400000006
                        longitude: 149.12974459999998
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.28274030000001
                        longitude: 149.1296645
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.282809799999995
                        longitude: 149.12957799999998
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.28282136229385
                        longitude: 149.12956142620385
                      originalIndex: 5
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.2828744
                        longitude: 149.1294854
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.282922299999996
                        longitude: 149.1294044
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.282931500000004
                        longitude: 149.1293876
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.2830263
                        longitude: 149.1291788
                      placeId: ChIJaUpThGlNFmsRMHWxoH7EOsc
                    - location:
                        latitude: -35.2830263
                        longitude: 149.1291788
                      placeId: ChIJyd3JiWlNFmsR9RUq2ySTTZQ
                    - location:
                        latitude: -35.283054
                        longitude: 149.1290996
                      placeId: ChIJyd3JiWlNFmsR9RUq2ySTTZQ
                    - location:
                        latitude: -35.2830794
                        longitude: 149.1290094
                      placeId: ChIJyd3JiWlNFmsR9RUq2ySTTZQ
                    - location:
                        latitude: -35.2830794
                        longitude: 149.1290094
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.28313383700836
                        longitude: 149.12893500604946
                      originalIndex: 6
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.283134499999996
                        longitude: 149.12893409999998
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.283190399999995
                        longitude: 149.1288668
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2832503
                        longitude: 149.1288041
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2833133
                        longitude: 149.1287463
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2833794
                        longitude: 149.128694
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.283448299999996
                        longitude: 149.128647
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2835199
                        longitude: 149.1286054
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2835934
                        longitude: 149.1285699
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.283668899999995
                        longitude: 149.12854059999998
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.28372649999999
                        longitude: 149.1285237
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.28386179999999
                        longitude: 149.12849319999998
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2839978
                        longitude: 149.1284682
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2840205
                        longitude: 149.12846779999998
                      placeId: ChIJWSb8ImpNFmsRp_4JAxJFE1A
                    - location:
                        latitude: -35.2840205
                        longitude: 149.12846779999998
                      placeId: ChIJZe8tFWpNFmsR4brZ1vldk2E
                    - location:
                        latitude: -35.2840524
                        longitude: 149.12845969999998
                      placeId: ChIJZe8tFWpNFmsR4brZ1vldk2E
                    - location:
                        latitude: -35.284341500000004
                        longitude: 149.1284124
                      placeId: ChIJZe8tFWpNFmsR4brZ1vldk2E
                    - location:
                        latitude: -35.2843875
                        longitude: 149.1284034
                      placeId: ChIJZe8tFWpNFmsR4brZ1vldk2E
                    - location:
                        latitude: -35.2843875
                        longitude: 149.1284034
                      placeId: ChIJVx7Ta2pNFmsRx9OI9CnN5tI
                    - location:
                        latitude: -35.2845916
                        longitude: 149.1283726
                      placeId: ChIJVx7Ta2pNFmsRx9OI9CnN5tI
                    - location:
                        latitude: -35.2845916
                        longitude: 149.1283726
                      placeId: ChIJtWxAZmpNFmsRlbUCkc6VtnA
                    - location:
                        latitude: -35.28459730000001
                        longitude: 149.1283703
                      placeId: ChIJtWxAZmpNFmsRlbUCkc6VtnA
                    - location:
                        latitude: -35.284728747199374
                        longitude: 149.12834860726772
                      originalIndex: 7
                      placeId: ChIJtWxAZmpNFmsRlbUCkc6VtnA
                Too Sparse:
                  value:
                    warningMessage: Input path is too sparse. You should provide a path where consecutive points are closer to each other. Refer to the 'path' parameter in Google Roads API documentation.
              schema:
                $ref: '#/components/schemas/SnapToRoadsResponse'
      summary: Snap to roads
      x-summary-source: derived
  /v1/nearestRoads:
    get:
      operationId: nearestRoads
      servers:
      - url: https://roads.googleapis.com
      tags:
      - Roads API
      description: This service returns individual road segments for a given set of GPS coordinates. This services takes up to 100 GPS points and returns the closest road segments for each point. The points passed do not need to be part of a continuous path.
      parameters:
      - $ref: '#/components/parameters/nearestroads_points'
      responses:
        '200':
          description: 200 OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NearestRoadsResponse'
        '400':
          description: 400 BAD REQUEST
          content:
            application/json:
              examples:
                Bad Request:
                  value:
                    error:
                      code: 400
                      message: '"points" is a required parameter.'
                      status: INVALID_ARGUMENT
              schema:
                $ref: '#/components/schemas/NearestRoadsErrorResponse'
      summary: Nearest roads
      x-summary-source: derived
components:
  parameters:
    nearestroads_points:
      name: points
      description: 'The points to be snapped. The points parameter accepts a list of latitude/longitude pairs. Separate latitude and longitude values with commas. Separate coordinates with the pipe character: "|". For example: `points=60.170880,24.942795|60.170879,24.942796|60.170877,24.942796`.

        '
      required: true
      in: query
      style: pipeDelimited
      explode: false
      example:
      - 60.170880,24.942795
      - 60.170879,24.942796
      - 60.170877,24.942796
      schema:
        $ref: '#/components/schemas/LatLngArrayString'
    snaptoroads_path:
      name: path
      description: 'The path to be snapped. The path parameter accepts a list of latitude/longitude pairs. Latitude and longitude values should be separated by commas. Coordinates should be separated by the pipe character: "|". For example: `path=60.170880,24.942795|60.170879,24.942796|60.170877,24.942796`.

        <div class="note">Note: The snapping algorithm works best for points that are not too far apart. If you observe odd snapping behavior, try creating paths that have points closer together. To ensure the best snap-to-road quality, you should aim to provide paths on which consecutive pairs of points are within 300m of each other. This will also help in handling any isolated, long jumps between consecutive points caused by GPS signal loss, or noise.</div>

        '
      required: true
      in: query
      style: pipeDelimited
      explode: false
      example:
      - 60.170880,24.942795
      - 60.170879,24.942796
      - 60.170877,24.942796
      schema:
        $ref: '#/components/schemas/LatLngArrayString'
    snaptoroads_interpolate:
      name: interpolate
      in: query
      description: 'Whether to interpolate a path to include all points forming the full road-geometry. When true, additional interpolated points will also be returned, resulting in a path that smoothly follows the geometry of the road, even around corners and through tunnels. Interpolated paths will most likely contain more points than the original path. Defaults to `false`.

        '
      schema:
        type: boolean
      example: true
  schemas:
    LatitudeLongitudeLiteral:
      type: object
      title: LatitudeLongitudeLiteral
      description: An object describing a specific location with Latitude and Longitude in decimal degrees.
      required:
      - latitude
      - longitude
      properties:
        latitude:
          type: number
          description: Latitude in decimal degrees
        longitude:
          type: number
          description: Longitude in decimal degrees
    NearestRoadsError:
      type: object
      title: NearestRoadsError
      required:
      - code
      - message
      - status
      properties:
        code:
          description: This is the same as the HTTP status of the response.
          type: number
        message:
          description: A short description of the error.
          type: string
        status:
          description: An error such as `INVALID_ARGUMENT`.
          type: string
    SnapToRoadsResponse:
      type: object
      title: SnapToRoadsResponse
      properties:
        snappedPoints:
          description: An array of snapped points.
          type: array
          items:
            $ref: '#/components/schemas/SnappedPoint'
        warningMessage:
          description: A string containing a user-visible warning.
          type: string
    NearestRoadsResponse:
      type: object
      title: NearestRoadsResponse
      properties:
        snappedPoints:
          description: An array of snapped points. Sometimes containing several snapped points for the same point with differing placeId or location.
          type: array
          items:
            $ref: '#/components/schemas/SnappedPoint'
    SnappedPoint:
      type: object
      title: SnappedPoint
      required:
      - location
      - placeId
      properties:
        location:
          $ref: '#/components/schemas/LatitudeLongitudeLiteral'
        originalIndex:
          description: An integer that indicates the corresponding value in the original request. Each value in the request should map to a snapped value in the response. However, if you've set interpolate=true or if you're using nearest roads, then it's possible that the response will contain more coordinates than the request. Interpolated values will not have an `originalIndex`. These values are indexed from `0`, so a point with an originalIndex of `4` will be the snapped value of the 5th latitude/longitude passed to the path parameter. Nearest Roads points may contain several points for single coordinates with differing location or placeId.
          type: number
        placeId:
          description: A unique identifier for a place. All place IDs returned by the Roads API correspond to road segments.
          type: string
    LatLngArrayString:
      description: An array of comma separated {latitude,longitude} strings.
      title: LatLngArrayString
      example:
      - 35,-100
      - 40,-110
      type: array
      items:
        type: string
        minItems: 2
    NearestRoadsErrorResponse:
      type: object
      title: NearestRoadsErrorResponse
      properties:
        error:
          $ref: '#/components/schemas/NearestRoadsError'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: key