How to fetch `geo_id` parameter for the Job API?
The geo_id
parameter in the Job Listing API and Job Listing Count API represents the ID that LinkedIn prescribes to a region. This article will explain how you get get a matching geo_id
for a given region you want to target.
Follow these steps to get the geo_id
that you are seeking to match a region to:
-
Visit this page without being logged into LinkedIn. (Use Private Browsing on Firefox or an Incognito mode on Chrome)
-
At the top, there is a search bar with two input fields. Use the input field on the right, the one that allows you to filter jobs by region.
-
Enter the region that you want to target in the input field mentioned in step #2. An autocomplete dialog will appear. Click on the correct region.
-
Press enter and you will be brought to a results page.
-
Look at the URL bar, and take note of the URL. It should look something like this:
https://sg.linkedin.com/jobs/search?keywords=&location=Greater%20Los%20Angeles%2C%20California%2C%20United%20States&locationId=&geoId=100657539&f_TPR=r604800&distance=25&f_WT=3&position=1&pageNum=0
-
What you want is the number that comes after
geoId=
in the URL. This number will be the input forgeo_id
in Proxycurl's Jobs API.
Hope this helps!