Currently there is no any API to access MyMaps programmatically.

I can see a feature request for this in the public issue tracker:

https://issuetracker.google.com/issues/35820262

It looks like Google is evaluating the feasibility to implement the API, however, no timeline provided at the moment.

Please star this feature request to express your interest and receive further updates.

UPDATE

As of April 2018 it looks like Google decided do not implement the API for Google MyMaps and marked the aforementioned feature request as Infeasible.

Answer from xomena on Stack Overflow
🌐
Google
developers.google.com › google maps platform › google maps platform apis by platform
Google Maps Platform APIs by Platform | Google for Developers
Google Maps Platform offers a wide variety of APIs and SDKs for Android, iOS, Web, and Cross-Platform development to integrate location-based features into your applications.
🌐
Google Support
support.google.com › maps › thread › 22025555 › interact-with-my-maps-api
Interact with My Maps API - Google Maps Community
December 5, 2019 - Google Maps Help · Sign in · Google Help · Help Center · Community · Google Maps · Privacy Policy · Terms of Service · Submit feedback · Send feedback on... This help content & information · General Help Center experience · Next · Help Center · Community · Google Maps ·
Discussions

Sending location data to Google My Maps for custom map creation/update
Then import it into Google My Maps. This creates a map with custom tag visualization which I use to then build manually directions and routes like the one below: As far as I read Google My Maps has no public API. Google Maps API is used by many packs and I tested them all but none of them achieves ... More on community.coda.io
🌐 community.coda.io
0
October 30, 2024
Using the Google Maps API to get around the 10 layer limit in My Maps

dont use 1 layer for each line. use multiple routes in one layer

More on reddit.com
🌐 r/GoogleMaps
4
4
October 9, 2016
Access restricted Google My Maps and access it through Javascript API
The maps work (using KML) with Javascript API if it is shared as public, But it stops working when I make it restricted where I definitely shared with the Service Account email. The thing is if I make a call to Drive API using the Same API Key and list files, I can see that My Maps is there ... More on googlecloudcommunity.com
🌐 googlecloudcommunity.com
0
July 1, 2023
How can I automatically convert maps.app.goo.gl links into coordinates or Plus Codes with high accuracy?
If you don't mind making a bit of scrapping, you can do the following: 1 - Make a GET HTTP request to the link 2 - The response body will contain HTML code of the Google Maps page of your place as a giant string wich includes HTML, JS and CSS. 3 - From that giant string filter the part that starts with . You'll get something like this: "https://maps.google.com/maps/api/staticmap?center=19.402177%2C-99.170853&zoom=16&size=200x200&markers=19.402177%2C-99.170853&sensor=false&client=google-maps-frontend&signature=jf_dzw5Oesj4WQhtSQ_LyBuc6i8" 4 - From the resulting substring, filter the part that starts with markers= and ends with &sensor=. You'll get something like this: 19.402177%2C-99.170853 5 - In the resulting substring, replace the %2C text with a comma character (,). Youll get the co 19.402177,-99.170853 You can make a python script that repeats those steps for every line in your CSV file. Maybe Gemini or Copilot could provide the script if you describe those steps in your prompt. More on reddit.com
🌐 r/GoogleMaps
3
2
May 2, 2025
🌐
Google Maps Platform
mapsplatform.google.com › lp › maps-apis
Maps API - Google Maps Platform
On March 1, 2025, we designated the Places API, Directions API, and Distance Matrix APIs as legacy services. The pricing calculator includes newer versions of these services, which offer enhanced features, improved quality, and expanded volume discounts. You can learn more about legacy services here. ... *Free usage refers to monthly calls available at no cost. Essentials Map Tiles APIs provide up to 100,000 calls at no cost per SKU per month.
🌐
Coda
community.coda.io › t › sending-location-data-to-google-my-maps-for-custom-map-creation-update › 51985
Sending location data to Google My Maps for custom map creation/update - Coda Maker Community
October 30, 2024 - Then import it into Google My Maps. This creates a map with custom tag visualization which I use to then build manually directions and routes like the one below: As far as I read Google My Maps has no public API.
🌐
Google
developers.google.com › google maps platform › web › maps javascript api › overview
Overview | Maps JavaScript API | Google for Developers
The Maps JavaScript API is a client-side web API that lets you create maps to show locations anywhere in the world, add your own custom graphics, animations, and interactive custom data layers, and create location-aware features by using the ...
🌐
Reddit
reddit.com › r/googlemaps › using the google maps api to get around the 10 layer limit in my maps
r/GoogleMaps on Reddit: Using the Google Maps API to get around the 10 layer limit in My Maps
October 9, 2016 -

In Seattle, bus routes that operate north of downtown often continue from downtown as a different route; this is called "interlining" and increases operational efficiency, not to mention lowers operating costs substantially. An example of this is route 33, which connects the Magnolia neighborhood with downtown, then continues as a route 124 to the suburb of Tukwila.

I want to map out the bus routes in Seattle using the "draw a line" tool in My Maps, and have interlined routes correspond to one "layer". However, there are more than ten interline pairs; here's a sample:

Route A into downtown Route B out of Downtown
1-Kinnear 14-Mount Baker
2-West Queen Anne 13-Seattle Pacific Univ. (U-shaped route)
3/4-North Queen Anne 3-Madrona
4- Judkins
5-Greenwood 21-35th Ave SW
26X-East Green Lake/Northgate Express 131-South Park/Burien

And so on. I won't be able to use the standard Google Maps UI for this purpose because it limits you to 10 layers, so I'll have to use the API. But that's the problem, I have no damn idea how to even start doing something like this. All I know is I have to use something called "custom controls" to display all the different routes as though they were "layers".

Find elsewhere
🌐
Google
google.com › earth › outreach › learn › visualize-your-data-on-a-custom-map-using-google-my-maps
Visualize your data on a custom map using Google My Maps – Google Earth Outreach
Go back to your map and select the map menu pulldown, indicated by three dots next to the Share button. Select Embed on my site.
🌐
Google
developers.google.com › google maps platform › web › maps javascript api › set up the maps javascript api
Set up the Maps JavaScript API | Google for Developers
To create an API key, navigate to the Google Maps Platform Credentials page and select \"Create credentials \\\u003e API key.\" Restricting API keys to specific applications and APIs is strongly recommended for security and to prevent financial ...
🌐
Google Maps Platform
mapsplatform.google.com › pricing
Google Maps Platform Pricing - Subscriptions and Pay as you go
Offering subscription plans of our most popular APIs or Pay as you go where you can mix and match across 3 API and SDK product categories.
🌐
Google
developers.google.com › google maps platform › web › maps embed api › set up the maps embed api
Set up the Maps Embed API | Google for Developers
You can also create and manage API keys via the Cloud SDK. Every Maps Embed API request must include the generated key for authentication.\n"]]
🌐
Google Developer forums
googlecloudcommunity.com › google cloud › compute infrastructure
Re: Access restricted Google My Maps and access it...
July 1, 2023 - The maps work (using KML) with Javascript API if it is shared as public, But it stops working when I make it restricted where I definitely shared with the Service Account email. The thing is if I make a call to Drive API using the Same API Key and list files, I can see that My Maps is there ...
🌐
Google Cloud
cloud.google.com › application development › google cloud sdk › authentication › manage api keys
Manage API keys | Authentication | Google Cloud Documentation
Args: project_id: Google Cloud project id. Returns: response: Returns the created API Key. """ # Create the API Keys client. client = api_keys_v2.ApiKeysClient() key = api_keys_v2.Key() key.display_name = f"My first API key - {suffix}" # Initialize request and set arguments.
🌐
Google Cloud
status.cloud.google.com › maps-platform
Google Maps Platform Status Dashboard
This page provides status information on the services that are part of Google Maps Platform. Check back here to view the current status of the services listed below. If you are experiencing an issue not listed here, please contact Support. Learn more about what's posted on the dashboard in this FAQ.
🌐
Google Maps
maps.google.com
Google Maps
Find local businesses, view maps and get driving directions in Google Maps.
🌐
Reddit
reddit.com › r/googlemaps › how can i automatically convert maps.app.goo.gl links into coordinates or plus codes with high accuracy?
r/GoogleMaps on Reddit: How can I automatically convert maps.app.goo.gl links into coordinates or Plus Codes with high accuracy?
May 2, 2025 -

I have a CSV file with around 150 maps. app.goo.gl short links like /HuptUo4n5uJnyEEH6 (this is just a random place in Mexico city) and I need to extract precise latitude/longitude coordinates or Plus Codes from each one.

I'm willing to use the Google Maps API if necessary, but I couldn't find a documented method that handles short links like these directly.
Is there any reliable way to:

  1. Expand the short link to get the full destination?

  2. Extract accurate coordinates or the corresponding Plus Code?

  3. Automate this for many links?

I want to integrate this into a script, ideally with minimal rate-limiting or accuracy issues. Any insights or recommended tools would be much appreciated!

Thanks in advance

Top answer
1 of 4
4

First you need to register with google and get a MAPS api key:

http://code.google.com/apis/maps/signup.html

Then you need to embed some javascript in your pages/templates:

 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=__your_key_here__" type="text/javascript"></script>

Another bit to draw the actual map:

<script type="text/javascript">
    //<![CDATA[ 
    function createMarker(point,html) {
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
        marker.openInfoWindowHtml(html);
        });
    return marker;
    }

    function load() {
    if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(51.16349933440274, 4.371164292063712 ), 6);
        var point = new GLatLng(51.16349933440274, 4.371164292063712);
        var marker = createMarker(point,'<div style="width:240px"> \
          Place:    <b>ANTWERPEN          </b><br> \
          </div>')
          map.addOverlay(marker);
    }
   }
   //]]>
  </script>

This tutorial was useful:

http://econym.org.uk/gmap

The maps API documentation is very good:

http://code.google.com/apis/maps/documentation/javascript/

Note that version 3 of the maps api has recently been released (it has lots of enhancements for mobile browsers, so you might want to look into that).

This might be a candidate to be moved to stackoverflow.com

2 of 4
1

Google maps provide a very good API so you can show google maps on your website. Most webmasters are using google maps to help customers find the location of their business ( usually on contact pages ). Others are building full applications based on google maps. It is very easy to implement google maps on any website. Read Here

🌐
YouTube
youtube.com › watch
How to Get a Google Maps API Key in 2 Mins - YouTube
Google Maps Platform — https://www.sitebuilderreport.com/google-cloudAtlist — https://www.atlist.com/?c=video_sbr_gmaps_apiIf you want to use the Google Maps...
Published   December 1, 2023
🌐
YouTube
youtube.com › watch
Use the Google Maps API to build a custom map with markers - YouTube
🔥 Learn how to build a responsive website from a Figma design with HTML, SCSS, JS ➡️ https://coder-coder.com/responsive/😎 Join the Coder Coder Club and get...
Published   March 1, 2021
🌐
Dilate Digital
dilate.com.au › home › how to set up google maps api: a step-by-step guide
How to set up Google Maps API: A step-by-step guide | Dilate Digital
July 23, 2025 - Learn how to set up Google Maps API with our step-by-step guide. Enhance your website's user experience and boost local SEO with customisable maps and directions
Address   Unit 5, 4 McGrath Road, 6166, Perth