Reference / Enrichment / Resolve a job location ID
Resolve a job location ID
Find the location ID for any city, region, or country to filter company job listings by geography — resolve location names without guessing or hardcoding IDs.
GET https://api.rodz.io/api/v1/enrichment/job-location-id
Documented from the OpenAPI contract, API version 2.0.0.
Read the full description
Find the location ID for any city, region, or country to filter company job listings by geography — resolve location names without guessing or hardcoding IDs.
Input: name (required) — a location name, e.g. 'Paris', 'Île-de-France', 'France', 'Texas'. Add a qualifier to pick between places that share a name, e.g. 'Paris (United States)' or 'Nantes, France'.
Output: A data object containing nb_results (1, or 0 when the name matches no place exactly) and results, the place the name designates: a country name resolves to the country, a city name to the city. Each result has an integer id (pass this as a value in the company-jobs endpoint’s locationIds filter), plus name, full_name, country, region, and type (location granularity, e.g. "city" or "country"). Its fields are snake_case (nb_results, full_name). Cost: Free.
Authentication and headers
Every route needs an API key. You create it in the dashboard, under Integrations then API. See how to get a key.
Authorization required Bearer followed by your API key, for example Bearer USR_...
Parameters
name string query required Location name to search (e.g. 'Paris', 'France')
Responses
200 Matching job locations. Response schema
data object optional accepts null Location lookup payload, or null if none found
-
additionalProperties: true
8 fields in data
nb_results integer optional accepts null Number of matching locations returned
results object[] optional accepts null Matching locations
-
items.additionalProperties: true
id integer optional accepts null Numeric location identifier
name string optional accepts null Short location name, e.g. 'Paris (France)'
full_name string optional accepts null Fully qualified location name
country string optional accepts null Country name
region string optional accepts null Region / administrative area name
type string optional accepts null Location granularity, e.g. one of: city, region, country
requestId string optional accepts null Unique request identifier
422 Validation Error Response schema · HTTPValidationError
detail object[] optional 5 fields in detail
loc string | integer[] required msg string required type string required input any optional ctx object optional 429 Rate limit exceeded. Retry after the number of seconds in the Retry-After response header.