Okapi Okapi

Bing Maps API /REST/v1/Routes/FromMajorRoads endpoint removal

Stopped workingSubscribe to Bing Maps APIShare

On September 30, 2024, the GET /REST/v1/Routes/FromMajorRoads endpoint was retired. This change affects requests sent to /REST/v1/Routes/FromMajorRoads on dev.virtualearth.net. Following this retirement date, calls to this endpoint fail.


Calls it hits

  • /REST/v1/Routes/FromMajorRoads

What to use instead of these calls

The endpoint has no direct replacement, as applications must now select their own start points. You can calculate each route individually using GET /REST/v1/Routes from chosen major-road start points, or migrate to Azure Maps Route.

The API has no direct replacement; the start points must be chosen by the application.

In Bing Maps API's words

The Calculate Routes from Major Roads API allows you to calculate routes to a location from major roads in four directions (West, North, East and South). This API will be retired on September 30, 2024.

Bing Maps API, Announcement

Facts

API
Bing Maps API dev.virtualearth.net
Kind
Endpoint removal
Announced
September 30, 2023
Takes effect
September 30, 2024
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Bing Maps API's own pages

Questions

When does this change take effect?

Calls to /REST/v1/Routes/FromMajorRoads on Bing Maps API stopped working on September 30, 2024.

What happens to calls after September 30, 2024?

They have failed since September 30, 2024.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Bing Maps API 5

  1. /REST/v1/Routes/DistanceMatrixParameter removal Stopped working
  2. /REST/v1/Routes/LocalInsightsEndpoint removal Stopped working
  3. /REST/v1/Routes/DistanceMatrixParameter removal Stopped working
  4. Bing Maps for Enterprise stops working on Basic (free) account keys Stopped working
  5. Bing Maps for Enterprise stops working Stops workingin 602 days

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Bing Maps API

Hear about each breaking change Bing Maps API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Bing Maps API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.