Endpoints
Geographic Search
GG365 Golf API
Documentation for the Golf Globe 365 API - Travel Agency Integration
Geographic Course Search
The GG365 Golf API provides powerful geographic search capabilities for finding courses by location.
Search by Coordinates
Code
Find golf courses within a specified radius from a given latitude and longitude.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
lat | float | Latitude of the center point (required) |
lng | float | Longitude of the center point (required) |
radius | integer | Search radius in kilometers (default: 50, max: 200) |
limit | integer | Maximum number of results to return (default: 20, max: 100) |
sortBy | string | Sort order: "distance" (default) or "name" |
Response
Code
Search by Region
Code
Find golf courses within a specific region defined by a bounding box.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
north | float | Northern boundary latitude (required) |
south | float | Southern boundary latitude (required) |
east | float | Eastern boundary longitude (required) |
west | float | Western boundary longitude (required) |
limit | integer | Maximum number of results to return (default: 20, max: 100) |
sortBy | string | Sort order: "name" (default), "country" |
Response
Code
Search Near Address
Code
Find golf courses near a specified address or location name.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
address | string | Address, city, or location name (required) |
radius | integer | Search radius in kilometers (default: 50, max: 200) |
limit | integer | Maximum number of results to return (default: 20, max: 100) |
sortBy | string | Sort order: "distance" (default) or "name" |
Response
Same format as the Search by Coordinates response.
Search by Country and Region
Code
Find golf courses in a specific country and optionally a specific region within that country.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
country | string | Country name or code (required) |
region | string | Region or state name (optional) |
limit | integer | Maximum number of results to return (default: 20, max: 100) |
page | integer | Page number for pagination (default: 1) |
Response
Code
For best results with geographic searches:
- Start with broader search parameters and then narrow down
- Use the
radiusparameter to adjust search scope - Consider using bounding box search for rectangular regions (like a map view)
Combining Geographic Search with Filters
You can combine geographic search with additional filters by adding filter parameters:
Code
This allows you to find courses in a specific location that also meet certain criteria.
Last modified on