×

pointNG Developer Portal

           
SCRIPT:
<script src="https://cdn.pointng.io/pointng-min.js"></script>
<script>
  const pointng = new PointNG({
    api_key: API_KEY
  });
  pointng.getLocation().then(function(prediction) {
    console.log(pointng.prediction)
  })
</script>
              
YOUR LOCATION DATA:
{
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

Update the data based on your GPS location:

Get started for free

Sign up View docs

Quick start

For quick local tests or demos, paste this code snippet to your website's body (use only in development environment):

<script src="https://cdn.pointng.io/pointng.js?v=beta"></script>
<script>
  const pointng = new PointNG({
    api_key: "beta",
    level: 'city'
  });
  pointng.getLocation().then(function(prediction) {
    console.log(pointng.prediction)
  })
</script>

Use case examples

Secure Local Weather App

Privacy-friendly local weather forecasts. No tracking or transferring of coordinate-data.

Try the web prototype

Content personalization

Personalize your website's images and copy texts based on your users' location

→ Check the code in Codepen

HTML starter template

Simple hello world HTML template for pointNG

→ Check the code in Codesandbox

Form prefill

Improve user experience by giving the user an option to fill phone number prefix and location fields automatically.

→ Check the code in Codesandbox

Location targeted pop-up

Simple pop-up that is personalized based on location.

→ Check the code in Codesandbox

Vue.js starter template

→ Check the code in Codesandbox

Feedback

To give feedback or chat with the makers about anything, join our Discord Server, or use the feedback form.

Discord Feedback form 🤗

Sign up to get your free API key

pointNG is currently in BETA.