diff --git a/lib/lolapi.js b/lib/lolapi.js
index <HASH>..<HASH> 100644
--- a/lib/lolapi.js
+++ b/lib/lolapi.js
@@ -630,11 +630,9 @@
 	// TODO: add getProfileIcons
 
 	/** @deprecated will stop workin on 2017-06-24 if not migrated to v3 */
-    League.Static.getRealm = function(regionOrFunction, callback) { // TODO: migrate to v3
-        var realmUrl = '/v1.2/realm?', // TODO: replace with definition of urls on top of file
-            regionAndFunc = util.getCallbackAndRegion(regionOrFunction, region, callback),
-            url = util.craftStaticUrl(endpoint + staticUrl, regionAndFunc.region, realmUrl, authKey);
-        return util.makeRequest(url, 'Error getting realm: ', null, regionAndFunc.callback);
+    League.Static.getRealm = function(platformId = platformIdDefault, callback = undefined) {
+		const url = util.craftUrlV3(apiUrl.staticData.realms(platformId), authKey);
+		return util.makeRequest(url, 'Error getting realm: ', null, callback);
     };
 
 	League.Static.getRuneList = function({version, runeListData, locale} = {}, platformId = platformIdDefault, callback = undefined) {
refactor (v3 methods) migrate Static.getRealm