Get Started
Create your Woosmap account, get your API keys, and make your first API call in 5 minutes.
Get up and running with Woosmap in 5 minutes. This guide walks you through account setup and your first API call.
1. Create Your Account
- Go to woosmap.com/sign_up and create your account.
- Check your email and click the activation link.
- Log in to the Woosmap Console.
2. Create an Organization
After logging in, you’ll be prompted to create an organization. This is your team workspace where you can:
- Invite team members
- Manage multiple projects
- View usage analytics
3. Create a Project
A project contains your API keys and settings. When creating a project:
- Name your project (e.g., “My Store Locator”)
- Add your domains — the websites allowed to use your API keys (e.g.,
localhost,mysite.com) - Enable the APIs you need
Only enable the APIs you actually use. You can always add more later.
4. Get Your API Keys
Woosmap uses two types of API keys:
| Key Type | Use For | How to Get |
|---|---|---|
| Public Key | Client-side (websites, browsers) | Auto-generated when you create a project |
| Private Key | Server-side or mobile apps | Manually created in the Security tab |
Public API Key
A Public API Key is automatically created when you create a project. Find it in the Console under Project → Security → Project API key(s).
You must add authorized domains before your Public Key works. Add your domains (e.g., localhost, *.mysite.com) in the Domains section. Don’t include http:// or https://.
You must specify which APIs to enable for your project among the following:
Private API Key (Optional)
If you need server-side or mobile access, create a Private API Key:
- Go to Project → Security
- Click Add a Private Key
- Name your key and set permissions (read-only or read/write)
- Add restrictions (IP addresses for servers, Bundle ID for iOS, Package ID for Android)
Always restrict your Private Keys. Unrestricted keys are a security risk.
5. Make Your First API Call
Let’s test your setup with the Localities API. Replace YOUR_PUBLIC_API_KEY with your actual key:
https://api.woosmap.com/localities/autocomplete/
?components=country%3Agb
&input=Lond
&no_deprecated_fields=true
&key=YOUR_PUBLIC_API_KEY
curl -L 'https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY' \
-H 'Referer: http://localhost'
const requestOptions = {
method: "GET",
redirect: "follow"
};
fetch("https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY',
headers: {
'Referer': 'http://localhost'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
import requests
url = "https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY"
payload = {}
headers = {
'Referer': 'http://localhost'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY")
.method("GET", body)
.addHeader("Referer", "http://localhost")
.build();
Response response = client.newCall(request).execute();
require "uri"
require "net/http"
url = URI("https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Referer"] = "http://localhost"
response = https.request(request)
puts response.read_body
A successful response returns location suggestions:
{
"localities": [
{
"description": "London, England, United Kingdom",
"matched_substrings": [...],
"public_id": "..."
}
]
}
What’s Next?
Choose your path based on what you want to build:
| I want to… | Start here |
|---|---|
| Add address autocomplete to a form | Localities API → |
| Show a map with my store locations | Map JS API → |
| Calculate distances or routes | Distance API → |
| Build a complete store locator | Store Locator Widget → |
| Track user location in a mobile app | Geofencing SDK → |