Locumetry API guide
Locumetry API · v1

District intelligence for Türkiye, as JSON.

Scores, labels, measured features, history and ranked change for all 973 districts and 81 provinces, behind one key and one header. This guide shows every endpoint with a real response and the recipes most people start from.

973 · 81districts and provinces, one boundary set
302features per district, each with period, source and category
15 · 48scores and labels, with the evidence behind them
2000 →history for the main series

Start

Base URL https://locumetry.com/api/v1. Every request is a GET, every response is JSON, and every request except /health carries your key in the X-API-Key header.

curl -s https://locumetry.com/api/v1/districts/TR_06_1747 \
  -H "X-API-Key: $LOCUMETRY_API_KEY"
import requests

api = requests.Session()
api.headers["X-API-Key"] = "your key"
BASE = "https://locumetry.com/api/v1"

sincan = api.get(f"{BASE}/districts/TR_06_1747").json()
print(sincan["geo"]["name"], sincan["scores"]["affluence_score"]["percentile"])
const res = await fetch("https://locumetry.com/api/v1/districts/TR_06_1747", {
  headers: { "X-API-Key": process.env.LOCUMETRY_API_KEY },
});
const sincan = await res.json();
console.log(sincan.geo.name, sincan.labels.map(l => l.label));

Keys are issued per organisation under an agreement, with a technical trial arranged as part of it; see the partners page and the plans page. Runnable versions of everything on this page are in the examples folder.

Authentication

The key goes in the header only. A key in the URL would end up in access logs, so query-string keys are not accepted. A missing or unknown key answers 401; more requests per minute than your plan allows answers 429 with a Retry-After header saying how many seconds to wait. Each key is metered per day and route, and you can read your own meter at /usage. The embeddable district card is the one place a page needs access of its own: it carries a token from /embed-token, never the key.

Identifiers

Places are addressed by stable identifiers, never by name. Names change spelling and case between sources; identifiers do not.

TR_06
a province, by plate code (Ankara)
TR_06_1747
a district, by TÜİK district code (Sincan)
TR_06_1747_1838
a neighbourhood inside that district
TR5
a NUTS1 region, used by the region filter (TR1 İstanbul, TR2 West Marmara, TR3 Aegean, TR4 East Marmara, TR5 West Anatolia, TR6 Mediterranean, TR7 Central Anatolia, TR8 West Black Sea, TR9 East Black Sea, TRA Northeast Anatolia, TRB Central East Anatolia, TRC Southeast Anatolia)

To find an identifier, list a province's districts with /districts?province=TR_06 or search by name with /districts?q=sincan. Every geography object also carries region_code, nuts3_code, a centroid and its area.

Reading the numbers

Scores are percentiles

percentile is the district's standing among all districts (or among provinces for the two province-level scores): 90 means higher than 90 percent of them. score_value is the underlying 0–100 value, rank_national and rank_region the positions.

Features carry a period

Every feature value comes with the year it describes; observations carry the exact period_date (first day of the year, quarter or month) and the source_id.

Estimates are flagged

is_estimated: true marks a value that was allocated from a provincial or national figure rather than measured for that district. Treat it as context, not as a fact about the district.

Everything is categorised

Every feature and every source metric carries a category id, one of the 16 listed at /catalog/categories (population, age, education, housing, places, banking and the rest). The site groups its figures by the same categories, so a row on a district page and a field in the API mean the same thing.

Change is ranked too

Every score carries change_1y, its move in national percentile points since last year, and /trends gives each measured series with its change over one, five and ten years and where that change stands among all districts.

Endpoints

Parameters are query parameters. A parameter shown as a list may be repeated: ?score=a&score=b.

GET/districts

The current districts, as geography objects.

province
restrict to one province: TR_06 or 06
q
name prefix, matched Turkish-aware (sincan, SİNCAN and Sincan are the same)
limit, offset
paging; limit defaults to 1000, at most 2000
GET /districts?province=TR_06&limit=2

[{"geo_id": "TR_06_1130", "geo_level": "district", "name": "Altındağ", "province_code": "06",
  "district_code": "1130", "parent_geo_id": "TR_06", "region_code": "TR5", "nuts3_code": "TR510",
  "centroid_lat": 39.9987, "centroid_lon": 32.9805, "area_km2": 161.44},
 {"geo_id": "TR_06_1157", "name": "Ayaş", ...}]
GET/districts/{geo_id}

One district in full: the geography, the latest value of every feature with its year and category, every score with its inputs and its move since last year, and the labels with the evidence that fired them. Province-level scores are inherited from the district's province and marked "level": "province".

GET /districts/TR_06_1747

{"geo": {"geo_id": "TR_06_1747", "name": "Sincan", "parent_geo_id": "TR_06", "region_code": "TR5", ...},
 "features": {
   "population": {"value": 605366.0, "year": 2025, "is_estimated": false, "category": "population"},
   "age_0_14_share": {"value": 0.206, "year": 2025, "is_estimated": false, "category": "age"},
   ... 302 features ...},
 "scores": {
   "affluence_score": {"score_value": 66.4, "percentile": 75.6, "rank_national": 238, "rank_region": 17,
                       "period_date": "2026-01-01", "level": "district", "change_1y": -14.7,
                       "components": {"avg_daily_earning": 0.975, "cars_per_1000": 0.988, "higher_education_share": 0.781, ...}},
   ... 15 scores ...},
 "labels": [
   {"label": "commuter_town",
    "description": "Dense, growing residential district with little local employment",
    "evidence": {"population_density": 701.562, "workplaces_per_1000": 18.524, "population_growth_3y": 0.019, ...}},
   ...],
 "summary": {"en": "Sincan is a district in Ankara with a population of 605,366. ...",
             "tr": "Sincan, Ankara'da 605.366 nüfuslu bir ilçedir. ...",
             "data_as_of": "2026-10-30", "generated_at": "2026-10-31T13:58:02Z"}}

summary is a generated summary, three to five sentences in English and Turkish, written by a language model from this place's own numbers only. Every number and place name in it is checked against the data before it is stored, and it is rewritten only when the numbers behind it change; data_as_of is the date of the data it describes. It is null when no reading has passed the checks yet. Province detail carries the same field.

change_1y is the score's move in national percentile points since last year's scores (null for a score that did not exist a year ago). components gives the standing of each input on a 0 to 1 scale, so you can see what carried a score. The weights that combine them are not published; the methodology explains what each score is for and how to read it. An input that is a province statistic allocated to the district (an estimate) counts a quarter of a measured one.

GET/districts/{geo_id}/history

Every feature's values by year, for trajectories and charts. For the change itself, with its national rank, use /trends.

feature
list; restrict to these feature ids. Without it, all of them are returned (303 at the time of writing).
GET /districts/TR_06_1747/history?feature=population

{"population": [..., {"year": 2023, "value": 571889.0, "is_estimated": false},
                     {"year": 2024, "value": 590309.0, "is_estimated": false},
                     {"year": 2025, "value": 605366.0, "is_estimated": false}]}
GET/districts/{geo_id}/observations

The raw observations behind the features, as published: exact period, period type, unit and source. Use this when you need the publisher's own number rather than a derived feature.

metric
list; restrict to these metric ids (see /metrics)
GET /districts/TR_06_1747/observations?metric=population

[..., {"metric_id": "population", "period_date": "2025-01-01", "period_type": "year",
       "value": 605366.0, "unit": "persons", "source_id": "tuik"}]
GET/districts/{geo_id}/similar

The districts that look most like this one across all features, with the features where each differs most and the labels they share. The usual question: "where else would what works here work?"

limit
1 to 25, default 10
exclude_province
true to look outside the district's own province
GET /districts/TR_06_1747/similar?limit=2

[{"rank": 1, "geo_id": "TR_06_1746", "name": "Mamak", "province": "Ankara", "distance": 0.994,
  "differences": [{"feature": "Home sales to foreigners per 10k residents", "direction": "higher"},
                  {"feature": "Active organised industrial zones", "direction": "lower"},
                  {"feature": "Population growth, 3 years (annualised)", "direction": "lower"}],
  "shared_labels": ["commuter_town", "growth_hotspot", "high_growth_underserved", "industrial_hub", "residential_zone"]},
 {"rank": 2, "geo_id": "TR_06_2034", "name": "Pursaklar", ...}]
GET/provinces  ·  /provinces/{geo_id}

The 81 provinces as geography objects; one province with its own features, the province-level scores (each with change_1y) and the list of its districts. Its series over time are at /provinces/{geo_id}/trends.

GET /provinces/TR_06

{"geo": {"geo_id": "TR_06", "name": "Ankara", ...},
 "features": {...},
 "scores": {"business_activity_growth_score": {"score_value": 71.4, "percentile": 100.0, "rank_national": 1, ...},
            "credit_stress_score": {...}},
 "districts": [{"geo_id": "TR_06_1872", "name": "Akyurt"}, {"geo_id": "TR_06_1130", "name": "Altındağ"}, ... 25 ...]}
GET/screen

The site-selection query. Districts that carry every label, none of without_label, and stand at or above / below the given national percentiles, inside an optional province, region or population band, sorted by a score.

min_score
list of score_id:percentile, e.g. affluence_score:75; district-level scores only
max_score
list of score_id:percentile, e.g. commercial_saturation_score:50
label, without_label
lists of label ids the district must carry / must not carry
province, region
TR_35; TR3
min_population, max_population
latest population bounds
sort
a district-level score, default commercial_opportunity_score
limit
1 to 1000, default 100
GET /screen?min_score=affluence_score:75&min_score=economic_momentum_score:60
           &max_score=commercial_saturation_score:60&sort=commercial_opportunity_score

[{"geo_id": "TR_06_1747", "name": "Sincan", "province": "Ankara", "population": 605366.0,
  "labels": ["commuter_town", "growth_hotspot", "high_growth_underserved", "industrial_hub", "residential_zone"],
  "scores": {"commercial_opportunity_score": {"value": 82.7, "percentile": 99.7, "rank": 4},
             "affluence_score": {"value": 66.4, "percentile": 75.6, "rank": 238},
             "economic_momentum_score": {"value": 68.4, "percentile": 94.8, "rank": 52},
             "commercial_saturation_score": {"value": 46.7, "percentile": 46.1, "rank": 525}}},
 {"geo_id": "TR_34_2014", "name": "Sultanbeyli", "province": "İstanbul", "population": 378908.0, ...},
 {"geo_id": "TR_34_2048", "name": "Arnavutköy", "province": "İstanbul", "population": 358469.0, ...},
 ... 9 districts in all ...]

Only the scores named in the request plus the sort score are returned per row, so the result stays small. An empty list is a valid answer: the thresholds were too strict for that region.

GET/rankings

The current ranking on one score, nationally or within a province or region. Province-level scores rank provinces.

score
default commercial_opportunity_score
province, region
restrict the list; ranks stay national
ascending
true for the bottom of the list
limit
default 50, at most 1000
GET /rankings?score=commercial_opportunity_score&region=TR3&limit=3

[{"geo_id": "TR_35_1521", "name": "Menemen", "level": "district", "province": "İzmir",
  "score_value": 79.17, "percentile": 98.0, "rank_national": 20, "rank_region": 1, "components": {...}},
 {"geo_id": "TR_35_1682", "name": "Torbalı", ..., "rank_national": 30, "rank_region": 2},
 {"geo_id": "TR_35_1128", "name": "Aliağa", ..., "rank_national": 33, "rank_region": 3}]
GET/features

Districts ranked on one measured feature rather than a score: the largest populations, the fastest three-year growth, the most residents per pharmacy.

feature
required; a feature id from /catalog/features
year
a past year instead of the latest
ascending, limit
as for rankings
GET /features?feature=population_growth_3y&year=2024&limit=2

[{"geo_id": "TR_33_1366", "name": "Gülnar", "province": "Mersin", "value": 0.134, "period_date": "2024-01-01", "is_estimated": false},
 {"geo_id": "TR_54_1925", "name": "Ferizli", "province": "Sakarya", "value": 0.083, ...}]
GET/scores/history

A district's (or province's) scores by year, with percentile and ranks, for "is it rising or falling" questions.

geo_id
required
score
list; restrict to these scores
GET /scores/history?geo_id=TR_06_1747&score=affluence_score

{"affluence_score": [..., {"year": 2025, "score_value": 82.73, "percentile": 90.3, "rank_national": 95, "rank_region": 12},
                          {"year": 2026, "score_value": 66.4, "percentile": 75.6, "rank_national": 238, "rank_region": 17}]}
GET/labels  ·  /labels/{label}

Every label with its meaning and how many districts carry it; and the districts carrying one label, with the inputs that fired the rule.

province
on /labels/{label}: restrict to one province
GET /labels

[{"label": "growth_hotspot", "description": "Top-quartile overall growth proxy", "districts": 244},
 {"label": "high_growth_underserved", "description": "Fast growth with below-median commercial saturation", "districts": 69},
 ... 48 labels ...]

GET /labels/high_growth_underserved?province=TR_06

[{"geo_id": "TR_06_1187", "name": "Beypazarı", "province": "Ankara",
  "evidence": {"growth_proxy_score": 75.609, "commercial_saturation_score": 46.11}},
 {"geo_id": "TR_06_1260", "name": "Çubuk", "province": "Ankara",
  "evidence": {"growth_proxy_score": 87.963, "commercial_saturation_score": 39.211}}, ...]
GET/catalog/categories  ·  /catalog/features  ·  /scores  ·  /metrics

The catalogues. The 16 categories that every feature and metric belongs to, with their titles and what they hold; what each of the 302 features is, in which unit, which direction is better and how far back it goes; which inputs each of the 15 scores uses; and the 173 raw metrics with their publisher and native code. Features and metrics come back in category order; category= restricts either list to one.

GET /catalog/categories

[{"category": "population", "title": "Population and households",
  "description": "Residents, their growth and movement, households, births, marriages and divorces from the TÜİK address-based registry.",
  "features": 11, "metrics": 8},
 {"category": "age", "title": "Age structure", "description": "Shares of residents by age band and how fast those shares move.",
  "features": 8, "metrics": 5},
 {"category": "education", ...}, {"category": "housing", ...}, {"category": "places", ...}, {"category": "place_change", ...},
 {"category": "built_environment", ...}, {"category": "night_lights", ...}, {"category": "access", ...},
 {"category": "banking", ...}, {"category": "banking_growth", ...}, {"category": "credit_stress", ...},
 {"category": "economy", ...}, {"category": "business", ...}, {"category": "vehicles", ...},
 {"category": "macro", "title": "National series", ..., "features": 0, "metrics": 9}]

GET /catalog/features?category=age

[{"feature_id": "age_0_14_share", "display_name": "Children (0-14) share", "category": "age",
  "unit": "share (0-1)", "higher_is": "neutral",
  "description": "Share of residents aged 0-14. TÜİK registry by age band for every district (MEDAS, 2007 on); ...",
  "rows": 18809, "first_period": "2008-01-01", "last_period": "2025-01-01", "has_estimates": false}, ...]

GET /scores

[{"score_id": "affluence_score", "level": "district",
  "components": ["avg_daily_earning", "cars_per_1000", "deposits_per_capita", "gdp_per_capita_usd", "housing_unit_price", ...]}, ...]

GET /metrics

[{"metric_id": "births", "display_name": "Live births", "category": "population", "unit": "persons",
  "frequency": "yearly", "source_id": "tuik", "geo_level_min": "district", ...}, ...]
GET/neighborhoods

The neighbourhoods of a district with their latest population, largest first.

district
required
limit
default 2000, at most 5000
GET /neighborhoods?district=TR_06_1747&limit=2

[{"geo_id": "TR_06_1747_1838", "name": "Mustafa Kemal", "neighborhood_code": "1838", "kind": "uavt:mahalle", "population": 45079.0, "year": 2025},
 {"geo_id": "TR_06_1747_1812", "name": "Pınarbaşı", ..., "population": 43428.0, "year": 2025}]
GET/h3

A district as a grid of H3 hexagons (resolution 7, about 5 km²), each with its estimated population and distances to the nearest bank, fuel station, hospital, pharmacy, school, supermarket, rail station and motorway junction. For maps and catchment work inside a district.

district
required
feature
list; restrict to these cell features
GET /h3?district=TR_06_1747

{"872d33020ffffff": {"population_estimate": 2472.4, "bank_distance_km": 21.02, "fuel_distance_km": 13.32,
                     "hospital_distance_km": 23.40, "pharmacy_distance_km": 14.74, "supermarket_distance_km": 15.23,
                     "school_distance_km": 14.82, "rail_station_distance_km": 16.52, "motorway_junction_distance_km": 9.58,
                     "major_road_km": 0.0},
 ... 155 cells ...}
GET/embed-token

A token for the embeddable district card. An iframe cannot send a header and your key must never appear in a page, so your server asks for a token here and the page carries only that. The token opens the card and nothing else; each card view is rate limited and metered against your key like an API call, and revoking or rotating the key ends every token minted with it.

district
ties the token to one district; omit it for any district and put the district id in the address yourself
origin
your site's origin, such as https://www.example.com; the card then renders only inside a frame on that site and is refused when opened directly
ttl
lifetime in seconds, default 3,600; at most 86,400 without an origin, up to 366 days with one
GET /embed-token?district=TR_34_1421&origin=https://www.example.com

{"token": "emb_eyJjIjoi….q0Zr…", "expires_at": "2026-11-15T19:40:12+00:00", "district": "TR_34_1421",
 "origin": "https://www.example.com",
 "embed_url": "https://locumetry.com/widget/TR_34_1421?token=emb_eyJjIjoi….q0Zr…"}

<iframe src="https://locumetry.com/widget/TR_34_1421?token=emb_eyJjIjoi….q0Zr…"
  width="360" height="420" style="border:0" loading="lazy"></iframe>
GET/usage  ·  /health

Your own request counts per day and route (days, default 30); and the service's state, open without a key: whether last night's build finished and the data quality checks passed.

GET /usage?days=3

[{"client_id": "…", "day": "2026-10-30", "path": "/screen", "requests": 1, "errors": 0},
 {"client_id": "…", "day": "2026-10-30", "path": "/districts/{geo_id}", "requests": 1, "errors": 0}, ...]

GET /health

{"status": "ok", "pipeline": "fresh", "data_quality": {"pass": 697, "warn": 1},
 "last_nightly": {"status": "ok", "finished_at": "2026-10-30T01:54:19Z", "stale": false}}

Recipes

A site-selection screen

"Affluent, gaining momentum, not yet commercially saturated, with at least 100,000 residents." Thresholds are national percentiles; start loose and tighten.

hits = api.get(f"{BASE}/screen", params={
    "min_score": ["affluence_score:75", "economic_momentum_score:60"],
    "max_score": ["commercial_saturation_score:60"],
    "min_population": 100000,
    "sort": "commercial_opportunity_score",
    "limit": 25,
}).json()
for d in hits:
    s = d["scores"]
    print(f'{d["name"]:<14} {d["province"]:<10} opp {s["commercial_opportunity_score"]["percentile"]:5.1f}'
          f'  afflu {s["affluence_score"]["percentile"]:5.1f}  satur {s["commercial_saturation_score"]["percentile"]:5.1f}')

Labels make the same question shorter: label=high_growth_underserved&min_population=100000 returns the districts that are growing fast with below-median saturation, 23 of them at the time of writing, Sincan first.

Compare a shortlist

ids = ["TR_06_1747", "TR_35_1521", "TR_41_2061"]
rows = [api.get(f"{BASE}/districts/{g}").json() for g in ids]
for r in rows:
    pct = {k: round(v["percentile"]) for k, v in r["scores"].items() if v["level"] == "district"}
    pop = r["features"]["population"]
    print(r["geo"]["name"], pop["value"], pop["year"], pct["affluence_score"], pct["economic_momentum_score"],
          [l["label"] for l in r["labels"]])

Track a district over time

hist = api.get(f"{BASE}/districts/TR_06_1747/history",
               params={"feature": ["population", "workplaces_per_1000", "commercial_poi_density"]}).json()
for feature, series in hist.items():
    print(feature, [(p["year"], round(p["value"], 3)) for p in series[-5:]])

scores = api.get(f"{BASE}/scores/history", params={"geo_id": "TR_06_1747", "score": "affluence_score"}).json()
print([(p["year"], round(p["percentile"])) for p in scores["affluence_score"]])

# the change itself, ranked: which of the district's own series moved fastest against the rest of the country
for t in api.get(f"{BASE}/districts/TR_06_1747/trends").json():
    print(f'{t["display_name"]:<36} 5y {t["change_5y"]:+7.2f}{t["change_unit"]}  pct {t["change_5y_percentile"]}')

Find lookalikes

You have one district that works. Ask for the ten most similar ones outside its own province, and read the differences before you believe the match.

twins = api.get(f"{BASE}/districts/TR_06_1747/similar", params={"limit": 10, "exclude_province": "true"}).json()
for t in twins:
    print(t["rank"], t["name"], t["province"], round(t["distance"], 2),
          "; ".join(f'{d["feature"]} {d["direction"]}' for d in t["differences"]))

Export to CSV

import csv
rows = api.get(f"{BASE}/rankings", params={"score": "economic_vitality_score", "limit": 1000}).json()
with open("economic_vitality.csv", "w", newline="") as f:
    w = csv.writer(f)
    w.writerow(["geo_id", "district", "province", "score", "percentile", "rank_national", "rank_region"])
    for r in rows:
        w.writerow([r["geo_id"], r["name"], r["province"], round(r["score_value"], 1), round(r["percentile"], 1),
                    r["rank_national"], r["rank_region"]])

The examples folder has these as complete scripts, including a shell version with curl.

Scores and labels

Scores

ScoreLevelReads as
economic_vitality_scoredistricthow much economic activity and formation there is: company births, employment, deposits and loans, population growth, cheque discipline
affluence_scoredistrictpurchasing power: the district's higher-education share and upscale venue density, with earnings, deposits, cars, housing prices and consumer credit as province context
commercial_saturation_scoredistricthow crowded the commercial fabric already is relative to residents and area, including the satellite-measured built-up share; high means less room
economic_momentum_scoredistrictone-year change across population, employment, credit, deposits, car registrations, the district's own housing sales and its night-time light over the months reported so far, plus the five-year shift of its age structure towards or away from 25 to 44
industrial_opportunity_scoredistrictindustrial zones, employment, earnings, and access to motorway, rail and port
household_demand_growth_scoredistrictreal growth of household deposits, loans, cards and population, from province series allocated to the district
growth_proxy_scoredistricta summary of growth from the two growth scores, population change, three-year night-time light growth and five-year built-up growth
financial_services_opportunity_scoredistrictdemand for branches and services against current branch coverage
commercial_opportunity_scoredistrictunderserved demand, the headline volume measure: many, dense and growing residents, affluence and vitality, against the shops already there; not spending power on its own, so read it next to affluence
gym_opportunity_score, pharmacy_opportunity_score, supermarket_opportunity_score, ev_charger_opportunity_scoredistrictcategory versions of the same idea, each with the demand drivers that matter for that category
business_activity_growth_scoreprovincegrowth of company formation, commercial credit and deposits, merchants and POS terminals
credit_stress_scoreprovincenon-performing loans, protested bills, returned cheques and company churn; high means more stress

/scores lists the inputs of each score; components on a district shows the standing of each input for that district. For the full description of each score, see the methodology.

Labels

Labels are rules over the same features. Each label's description is returned by /labels; the district count is at the time of writing.

LabelMeaningDistricts
growth_hotspotTop-quartile overall growth proxy244
declining_areaShrinking population and bottom-quartile growth212
affluent_saturatedWealthy and commercially crowded193
industrial_hubActive industrial zones or strong industrial concentration179
agri_centerAgricultural credit specialisation in a low-density district167
tourism_hotspotDense hotels/attractions or strong foreign buyer demand115
logistics_corridorDense motorway access with freight infrastructure nearby100
high_growth_underservedFast growth with below-median commercial saturation69
auto_dealer_clusterCar dealerships concentrated by count and per resident53
youth_bulgeVery young age structure with a high birth rate53
transit_connectedDense urban district with top-tier public transport stop coverage49
foreign_buyer_magnetTop decile of housing sales to foreigners per resident, in a sizeable district48
banking_underservedBottom fifth of bank branches per resident, in a district of 50,000 or more47
hotel_resort_townHotels far denser and more specialised than the national mix45
new_venue_waveTop 5% of commercial openings per resident over the last year45
shopping_destinationSeveral malls plus dense fashion retail44
fitness_and_beautyGyms and beauty services both in the national top decile per resident44
migration_magnetTop 5% net in-migration rate, in a sizeable district43
high_turnover_retailTop decile commercial churn (openings plus closures) in a commercially active district41
boomtownSizeable district in the top decile of population growth with new venues opening40
quiet_ruralSmall, sparse, non-growing district with little commerce39
seaside_beach_activityOn the coast with beach or resort activity37
entertainment_hubCinemas and theatres concentrated by count and per resident, with restaurants to match37
residential_zoneDense population, thin commercial fabric36
commuter_townDense, growing residential district with little local employment36
warehouse_zoneSeveral warehouses with top-decile warehouse density36
housing_boomTop decile housing sales growth (a province series) with district population growth36
banking_centerBank branches concentrated by count and per resident35
entrepreneur_hubCompany formation (province) plus dense offices and new venues opening32
furniture_clusterFurniture retail concentrated by count and per resident32
retirement_coastCoastal district with an old age structure31
pharmacy_gapTop 5% residents per pharmacy, in a district of 30,000 or more31
metro_coreTop 3% population density with dense commerce and transit30
university_townUniversities plus a young-adult population bulge29
electronics_bazaarElectronics and phone retail concentrated by count and per resident29
ev_readyEV charging points concentrated by count and per resident28
healthcare_desertSizeable district in the bottom decile of hospital access28
healthcare_hubHospital cluster with dense, specialised outpatient care27
foodie_hotspotRestaurant scene strong by volume, density and specialisation26
aging_districtTop 5% share of residents aged 65 and over25
nightlife_districtBar and nightlife concentration22
business_districtOffice concentration well above the national mix, with a working-day economy22
border_trade_hubNear a border crossing with above-median business formation20
young_familiesKindergartens dense, births and population growth above the median20
cafe_cultureCafe density and specialisation far above national norms19
highway_stopoverFuel stations dense along motorway kilometres in a thinly populated district12
education_clusterDense education places with many schools9
coffee_shop_paradiseTop-tier cafe scene by volume, density and specialisation4

Errors and limits

StatusWhenBody
400a parameter is wrong: unknown score or label, a province-level score in min_score, a percentile outside 0 to 100{"detail": "min_score: unknown or province-level score 'foo'"}
401missing or unknown key{"detail": "invalid or missing API key"}
404unknown identifier, or a province id given to a district endpoint{"detail": "unknown district_id"}
422a value of the wrong type, such as limit=abcFastAPI's validation detail
429more requests this minute than your plan allows, or a key past the daily volume in its agreement{"detail": "rate limit exceeded"} with a Retry-After header in seconds; {"detail": "daily cap of ... requests reached ..."} for the daily volume

Data is rebuilt nightly; responses may be cached for a short time at the edge. Identifiers and field names are stable within v1; new fields may be added, existing ones are not renamed or removed without a new version.

Locumetry is information, not advice. The API is built to make a shortlist defensible and traceable, not to replace a visit.