Search Places
/api/v1/places/searchPlace-type search around a point.
querystringrequiredType of place to find — e.g. "coffee shop", "restaurant", "museum", "park". Short single-concept terms work best.
latnumberoptionalOptional latitude to anchor the search. When supplied with lng, search runs within ~50 km using the search_tags GIN index.
lngnumberoptionalOptional longitude to anchor the search.
limitintegeroptionalNumber of results (1-20, default 10)
curl "https://goglobe.live/api/v1/places/search?query=coffee%20shop&lat=53.3498&lng=-6.2603&limit=10" \
-H "X-API-Key: YOUR_API_KEY"import requests
API_KEY = "YOUR_API_KEY"
url = "https://goglobe.live/api/v1/places/search"
params = {"query": "coffee shop", "lat": "53.3498", "lng": "-6.2603", "limit": "10"}
r = requests.get(url, params=params, headers={"X-API-Key": API_KEY})
print(r.json())const r = await fetch("https://goglobe.live/api/v1/places/search?query=coffee%20shop&lat=53.3498&lng=-6.2603&limit=10", {
headers: { "X-API-Key": "YOUR_API_KEY" }
});
const data = await r.json();
console.log(data);{
"status": "success",
"data": [
{
"place_id": "gg_IRL_node_1234567",
"source": "goglobe",
"name": "The Woollen Mills",
"latitude": 53.3465,
"longitude": -6.2586,
"category": "restaurant",
"subcategories": [
"amenity",
"restaurant"
],
"address": "42 Ormond Quay Lower, Dublin",
"country_code": "IRL",
"locality": "Dublin"
}
],
"meta": {
"total": 1,
"limit": 10
}
}