Search LinkedIn locations

Search LinkedIn locations by name to get the geo IDs search filters take.

GET/v2/linkedin/locations/search
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
keywordstringrequiredquery

A place name, e.g. `London`, `New York` or `Bavaria`. Write it out: `UK` may match Ukraine.

min 1 chars · max 100 chars

Response fields
23
datasourceFamily
string

one of: live

datalookupStatus
string

one of: found, not_found

datalocations[]geoId
string

Numeric LinkedIn geo ID; pass it to `geoEntityId` on people and organization search or `locations` on job search.

datalocations[]name
stringnullable

Place as LinkedIn names it, e.g. `Greater London, England, United Kingdom`.

datapagekind
string

one of: cursor, offset, page

datapagenextCursor
stringnullable
datapagehasMore
booleannullable

Null when continuation is unknown for this page.

datapagestart
integernullable

≥ 0

datapagepage
integernullable

≥ 0

datapagecount
integernullable

≥ 0

datapagereturnedCount
integer

≥ 0

datapagetotal
integernullable

≥ 0

datapagetotalPages
integernullable

≥ 0

datareportedTotal
numbernullable

Total reported for this page of results; not a guarantee of globally retrievable matches.

≥ 0

Metadata about the API response.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v2

metastale
booleanoptional

Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.

one of: true

metafetchedAt
stringoptional

When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

Code example

curl "https://api.socialfetch.dev/v2/linkedin/locations/search?keyword=London" \
  -H "x-api-key: YOUR_API_KEY"

Responses

LinkedIn locations.