Aller au contenu principal
Rodz API
FR EN
v2.0.0

Référence / Enrichment / Resolve a location to geo ID

Resolve a location to geo ID

Les résumés et descriptions des routes viennent du contrat OpenAPI et restent en anglais.

Convert location names into LinkedIn geo IDs for precise geographic filtering in people-search queries — target talent, decision-makers, or prospects in specific cities, regions, or countries.

GET https://api.rodz.io/api/v1/enrichment/linkedin-geo-id

Documenté depuis le contrat OpenAPI, version 2.0.0 de l’API.

Lire la description complète

Convert location names into LinkedIn geo IDs for precise geographic filtering in people-search queries — target talent, decision-makers, or prospects in specific cities, regions, or countries.

Input: search — the location name to resolve (e.g. ‘Paris’, ‘California’, ‘France’, ‘Greater Boston’).

Output: data.elements — an array of matching LinkedIn locations, each with a geoId (pass to people-search’s geoIds parameter) and a human-readable title (e.g. ‘Paris, Île-de-France, France’). Results are ordered by relevance; the first match is usually the best fit. A name that spans several LinkedIn locations — a former French region such as ‘Alsace’ — returns one element per location (Bas-Rhin, Haut-Rhin): pass every geoId to cover the whole area. Free endpoint — no credits required.

Authentification et en-têtes

Toutes les routes demandent une clé d’API. Vous la créez dans le tableau de bord, sous Intégrations puis API. Voir comment obtenir une clé.

Authorization requis

Bearer suivi de votre clé d’API, par exemple Bearer USR_...

Paramètres

search string query requis

Location name to resolve (e.g. 'Paris', 'California', 'Germany')

Réponses

200 Matching LinkedIn locations.
Schéma de la réponse
data object facultatif accepte null

Geo-ID lookup payload, or null if none found

  • additionalProperties: true
3 champs dans data
elements object[] facultatif accepte null

Matching LinkedIn locations, ordered by relevance

  • items.additionalProperties: true
geoId string facultatif accepte null

LinkedIn geo identifier, usable as a geoIds filter value

title string facultatif accepte null

Human-readable location label, e.g. 'Paris, Île-de-France, France'

requestId string facultatif accepte null

Unique request identifier

422 Validation Error
Schéma de la réponse · HTTPValidationError
detail object[] facultatif
5 champs dans detail
loc string | integer[] requis
msg string requis
type string requis
input any facultatif
ctx object facultatif
429 Rate limit exceeded. Retry after the number of seconds in the Retry-After response header.