{
 "caniuse": [
  "geolocation"
 ],
 "compat_features": [
  "api.Geolocation",
  "api.Geolocation.clearWatch",
  "api.Geolocation.getCurrentPosition",
  "api.Geolocation.secure_context_required",
  "api.Geolocation.watchPosition",
  "api.GeolocationCoordinates",
  "api.GeolocationCoordinates.accuracy",
  "api.GeolocationCoordinates.altitude",
  "api.GeolocationCoordinates.altitudeAccuracy",
  "api.GeolocationCoordinates.heading",
  "api.GeolocationCoordinates.latitude",
  "api.GeolocationCoordinates.longitude",
  "api.GeolocationCoordinates.secure_context_required",
  "api.GeolocationCoordinates.speed",
  "api.GeolocationCoordinates.toJSON",
  "api.GeolocationPosition",
  "api.GeolocationPosition.coords",
  "api.GeolocationPosition.secure_context_required",
  "api.GeolocationPosition.timestamp",
  "api.GeolocationPosition.toJSON",
  "api.GeolocationPositionError",
  "api.GeolocationPositionError.code",
  "api.GeolocationPositionError.message",
  "api.GeolocationPositionError.secure_context_required",
  "api.Navigator.geolocation",
  "api.Navigator.geolocation.secure_context_required",
  "api.Permissions.permission_geolocation",
  "html.elements.iframe.allow.geolocation",
  "http.headers.Permissions-Policy.geolocation"
 ],
 "description": "The navigator.geolocation API requests the user's latitude, longitude, heading, and speed.",
 "description_html": "The <code>navigator.geolocation</code> API requests the user's latitude, longitude, heading, and speed.",
 "group": [
  "geolocation"
 ],
 "kind": "feature",
 "name": "Geolocation API",
 "spec": [
  "https://w3c.github.io/geolocation/"
 ],
 "status": {
  "baseline": "high",
  "baseline_high_date": "2018-01-29",
  "baseline_low_date": "2015-07-29",
  "by_compat_key": {
   "api.Geolocation": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "5",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "3.5",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "≤3"
    }
   },
   "api.Geolocation.clearWatch": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "5",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "3.5",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "≤3"
    }
   },
   "api.Geolocation.getCurrentPosition": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "5",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "3.5",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "≤3"
    }
   },
   "api.Geolocation.secure_context_required": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "50",
     "chrome_android": "50",
     "edge": "79",
     "firefox": "55",
     "firefox_android": "55",
     "safari": "10",
     "safari_ios": "10"
    }
   },
   "api.Geolocation.watchPosition": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "5",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "3.5",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "≤3"
    }
   },
   "api.GeolocationCoordinates": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.accuracy": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.altitude": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.altitudeAccuracy": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.heading": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.latitude": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.longitude": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.secure_context_required": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.speed": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationCoordinates.toJSON": {
    "baseline": "low",
    "baseline_low_date": "2024-09-16",
    "support": {
     "chrome": "126",
     "chrome_android": "126",
     "edge": "126",
     "firefox": "129",
     "firefox_android": "129",
     "safari": "18",
     "safari_ios": "18"
    }
   },
   "api.GeolocationPosition": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationPosition.coords": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationPosition.secure_context_required": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationPosition.timestamp": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationPosition.toJSON": {
    "baseline": "low",
    "baseline_low_date": "2024-09-16",
    "support": {
     "chrome": "126",
     "chrome_android": "126",
     "edge": "126",
     "firefox": "129",
     "firefox_android": "129",
     "safari": "18",
     "safari_ios": "18"
    }
   },
   "api.GeolocationPositionError": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationPositionError.code": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationPositionError.message": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.GeolocationPositionError.secure_context_required": {
    "baseline": "high",
    "baseline_high_date": "2023-01-28",
    "baseline_low_date": "2020-07-28",
    "support": {
     "chrome": "79",
     "chrome_android": "79",
     "edge": "79",
     "firefox": "72",
     "firefox_android": "79",
     "safari": "13.1",
     "safari_ios": "13.4"
    }
   },
   "api.Navigator.geolocation": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "5",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "3.5",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "≤3"
    }
   },
   "api.Navigator.geolocation.secure_context_required": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "47",
     "chrome_android": "47",
     "edge": "79",
     "firefox": "55",
     "firefox_android": "55",
     "safari": "10",
     "safari_ios": "10"
    }
   },
   "api.Permissions.permission_geolocation": {
    "baseline": "high",
    "baseline_high_date": "2025-03-12",
    "baseline_low_date": "2022-09-12",
    "support": {
     "chrome": "43",
     "chrome_android": "43",
     "edge": "79",
     "firefox": "46",
     "firefox_android": "46",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "html.elements.iframe.allow.geolocation": {
    "baseline": false,
    "support": {
     "chrome": "64",
     "chrome_android": "64",
     "edge": "79",
     "firefox": "74",
     "firefox_android": "79"
    }
   },
   "http.headers.Permissions-Policy.geolocation": {
    "baseline": false,
    "support": {
     "chrome": "88",
     "chrome_android": "88",
     "edge": "88"
    }
   }
  },
  "support": {
   "chrome": "5",
   "chrome_android": "18",
   "edge": "12",
   "firefox": "3.5",
   "firefox_android": "4",
   "safari": "5",
   "safari_ios": "≤3"
  }
 },
 "id": "geolocation",
 "groups": [
  "geolocation"
 ],
 "specs": [
  {
   "url": "https://w3c.github.io/geolocation/",
   "seriesComposition": "full",
   "shortname": "geolocation",
   "series": {
    "shortname": "geolocation",
    "currentSpecification": "geolocation",
    "title": "Geolocation",
    "shortTitle": "Geolocation",
    "releaseUrl": "https://www.w3.org/TR/geolocation/",
    "nightlyUrl": "https://w3c.github.io/geolocation/"
   },
   "organization": "W3C",
   "groups": [
    {
     "name": "Devices and Sensors Working Group",
     "url": "https://www.w3.org/das/"
    }
   ],
   "release": {
    "url": "https://www.w3.org/TR/geolocation/",
    "status": "Candidate Recommendation Snapshot",
    "filename": "Overview.html"
   },
   "nightly": {
    "url": "https://w3c.github.io/geolocation/",
    "status": "Editor's Draft",
    "alternateUrls": [],
    "repository": "https://github.com/w3c/geolocation",
    "sourcePath": "index.html",
    "filename": "index.html"
   },
   "title": "Geolocation",
   "source": "w3c",
   "shortTitle": "Geolocation",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "fragment": null
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/API/Geolocation_API",
   "title": "Geolocation API",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/Geolocation_API"
  }
 ],
 "standardPositions": [
  {
   "vendor": "mozilla",
   "url": "https://github.com/mozilla/standards-positions/issues/36",
   "position": "negative",
   "concerns": []
  },
  {
   "vendor": "apple",
   "url": "https://github.com/WebKit/standards-positions/issues/32",
   "position": "oppose",
   "concerns": [
    "duplication"
   ]
  }
 ],
 "hasNegativeStandardPosition": true,
 "stateOfSurveys": [
  {
   "name": "State of JS 2025",
   "url": "https://2025.stateofjs.com/en-US/features/#browser_api_features",
   "question": "features",
   "subQuestion": "browser_api_features",
   "path": "dataAPI.surveys.state_of_js.js2025.features.browser_api_features.combined.allEditions.0.buckets.2.entity"
  }
 ],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:geolocation"
 },
 "developerSignals": null,
 "bugs": {
  "chrome": [
   "https://issues.chromium.org/u/1/issues/495852854",
   "https://bugs.chromium.org/p/chromium/issues/detail?id=931847",
   "https://crbug.com/561641",
   "https://bugs.webkit.org/show_bug.cgi?id=21475"
  ]
 },
 "baselineLowDateAsObject": "2015-07-29T00:00:00.000Z",
 "baselineHighDateAsObject": "2018-01-29T00:00:00.000Z"
}