Skip to main content

Find Geocode by Location

GET /find-geocode-by-location

Find LinkedIn geocode IDs by location name. Use this to get geo codes for search filters.

Pricing

1 credit per call.

Parameters

ParameterTypeRequiredDescription
locationstringYesLocation name to search (e.g., San Francisco, United States, California)

Example Request

curl --request GET \
--url 'https://api.infoplug.io/find-geocode-by-location?location=San%20Francisco' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY'

Example Response

{
"data": {
"message": "ok",
"data": [
{
"geo_id": "102277331",
"name": "San Francisco, California, United States",
"type": "CITY"
},
{
"geo_id": "90000084",
"name": "San Francisco Bay Area",
"type": "METRO_AREA"
},
{
"geo_id": "102095887",
"name": "California, United States",
"type": "ADMIN_DIVISION"
}
]
}
}

Usage

Use the geo_id values from this endpoint in search filters: