Getting zip code using geolocation

Is it possible to get the zip code or location of the user via some APIs and display it in the Axure prototype. I’m no expert at programming and any help would be greatly appreciated. Thanks!