LinkedIn Geo ID Search
Search LinkedIn Geo IDs by location name. Returns geoId + title pairs
for use with profile_search's geoId parameter or for
verifying location resolution in lead_search.
Pricing: 0.01 credit per call.
curl -X GET "https://v3-api.texau.com/api/v1/geo_id_search?search=San Francisco" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"
import requests
import json
url = "https://v3-api.texau.com/api/v1/geo_id_search?search=San Francisco"
headers = {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://v3-api.texau.com/api/v1/geo_id_search?search=San Francisco", {
method: "GET",
headers: {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://v3-api.texau.com/api/v1/geo_id_search?search=San Francisco", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://v3-api.texau.com/api/v1/geo_id_search?search=San Francisco')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['x-api-key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"elements": [
{
"geoId": "102095887",
"title": "San Francisco Bay Area"
},
{
"geoId": "101933928",
"title": "San Francisco, California, United States"
}
],
"status": 200,
"error": null,
"query": {
"search": "San Francisco"
}
}
{
"error": "Forbidden",
"message": "You don't have permission to access this resource",
"code": 403
}
{
"error": "Too Many Requests",
"message": "Rate limit exceeded. Please try again later",
"code": 429,
"retryAfter": 3600
}
GET
/geo_id_search
GET
API Key (header: x-api-key)
x-api-keystring
RequiredYour TexAu API key. Contact TexAu to obtain one.
Your TexAu API key. Contact TexAu to obtain one.
query
searchstring
RequiredLocation name to search.
Request Preview
Response
Response will appear here after sending the request
Authentication
header
x-api-keystring
RequiredAPI Key for authentication. Your TexAu API key. Contact TexAu to obtain one.
Query Parameters
searchstring
RequiredLocation name to search.
Responses
elementsarray
geoIdstring
LinkedIn Geo ID.
titlestring
Location display name.
statusinteger
errorstring
queryobject
searchstring
messagestring
errorstring
apistring
limitinteger
currentinteger
Was this page helpful?
Last updated 2 weeks ago
Built with Documentation.AI