In the Arcgis developer webpage, there is an article on how to add a new custom baseMap with custom API url. Which looks like this:
baseMap
API url
requ