Partners
District intelligence inside your own systems and products: lending and network planning teams, property portals, fintech apps, franchise networks, chambers of commerce, development agencies, data marketplaces.
Ways to integrate
one dataset, delivered the way your teams already work
REST API
JSON over HTTPS, read-only, refreshed nightly. Keys per organisation, rate limited per minute and metered per day; /usage reports consumption. Interactive reference and OpenAPI schema below.
Embeddable card
A compact district card (population, personas, headline scores) for any page, metered like an API call. Your API key never appears in the page: your server asks the API for an embed token, which opens only the card, expires, and can be bound to your site so the card renders nowhere else. Preview: Kadıköy.
curl -H "X-API-Key: $KEY" "https://locumetry.com/api/v1/embed-token?district=TR_34_1421&origin=https://www.your-site.com" <iframe src="https://locumetry.com/widget/TR_34_1421?token=EMBED_TOKEN" width="360" height="420" style="border:0" loading="lazy"></iframe>
Dataset and white-label
The full table of districts, indicators, scores and labels with history, as CSV, Parquet or GeoJSON on an agreed cadence, for your own warehouse and models. District pages and reports can carry your branding on your domain.
Service
- Nightly rebuild. Every indicator, score and label is recomputed each night from the latest published period of each source, and the written summaries once a month where their inputs moved; a page or an API response always says which period it describes.
- Versioned scores. The scoring model carries a version; a change to inputs or weights changes the version and is announced to agreement holders before it goes live.
- Frozen monthly releases. Once a month, after the monthly sources have landed, the full dataset is frozen as a numbered release (2026.11) that is never rewritten. Its manifest lists every file's SHA-256 hash and row count, the period each source reaches and the model versions, so a model trained on a release can be reproduced and audited against the same files later.
- Metered access. Keys are issued per organisation, can be rotated or revoked at once, and report their own daily usage. Limits are set in the agreement rather than by a public tier.
- Availability and support. The site and API are served from the Cloudflare edge with full-page caching. Availability targets, support response times and the refresh cadence for delivered data are written into the enterprise agreement, with a named contact.
- Documentation. The methodology, the interactive reference and the API guide with runnable examples are public; the weights and formulas stay with us.
Data lineage
- Named sources, dated figures. Every number traces to an official statistic (TÜİK, BDDK, TBB, SGK, TOBB, TCMB, KTB, OSBÜK) or an open map dataset (OpenStreetMap, Overture, Foursquare), with the period it describes shown next to it.
- Resolution is explicit. Figures measured in the district are shown as district figures. Province statistics are shown on the province page, marked as estimates where they inform a district score, and never presented as measured locally.
- Reproducible transformations. Rates, real-terms growth and national percentiles are computed the same way for every district, as described in the methodology; a score's inputs and direction are documented per score.
- Checked summaries. Generated summaries are validated against the figures on the page before publication and dropped if any number or place name fails the check.
- Attribution. Place-source attribution text for your product is supplied with the agreement; open-data licences are listed on the methodology page.
API reference
Interactive docsAuthenticate with your key in the X-API-Key header. Both the reference and the schema are public; the data endpoints answer with a key.
curl -H "X-API-Key: $KEY" \ https://locumetry.com/api/v1/districts/TR_34_1421
Example response, Kadıköy:
{"geo_id": "TR_34_1421", "name": "Kadıköy", "province": "İstanbul", "population": 458573,
"scores": {"commercial_opportunity_score": {"value": 71.3, "percentile": 88, "rank_national": 122}, ...},
"labels": ["affluent_saturated", "metro_core", ...], "similar": [...], "summary": {...}}| Endpoint | Returns |
|---|---|
/api/v1/usage | Request counts for the calling customer key, per day and route. |
/api/v1/embed-token | A token for the embeddable district card. |
/api/v1/health | The service's state, open without a key: whether last night's build finished, whether it is fresh (under 30 hours old) and how the data-quality checks ended; `status` is `degraded` when any of these is not so. |
/api/v1/districts | The current districts with their codes, parents, centroids and areas; `province` restricts to one province (`TR_06` or `06`), `q` matches the start of a name Turkish-aware (sincan, SİNCAN and Sincan are the same). |
/api/v1/provinces | The 81 provinces with their codes, NUTS codes, centroids and areas. |
/api/v1/districts/{geo_id} | One district in full: geography, the latest value of every feature with its year, its `category` (see `/catalog/categories`) and whether it is an estimate allocated from a province figure, every score with its inputs' standing and `change_1y` (the move in national percentile points since last year's scores), the labels with the evidence that fired them, and `summary`: a generated summary in English and Turkish written from these numbers only and checked against them (null until one has passed the checks). |
/api/v1/provinces/{geo_id} | A province's own features with their year and `category`, its province-level scores with `change_1y` (percentile points since last year), its districts, and `summary`: a generated summary in English and Turkish written from these numbers only and checked against them (null until one has passed). |
/api/v1/scores/history | Yearly values, percentiles and ranks of a district's scores (or a province's, for province-level scores), oldest first. |
/api/v1/districts/{geo_id}/trends | Change over time for one district: its district-measured yearly series (population, age structure, education, housing sales, night-time lights, built-up share and the rest), each with its `category`, the latest value, the change over one, five and ten years, and `change_5y_percentile`: where the five-year change stands among all districts (90 means it changed faster than 90 percent of them). |
/api/v1/provinces/{geo_id}/trends | Change over time for one province: its own yearly series (deposits, loans, earnings, GDP, employment, businesses, housing, vehicles, payment stress, population, age structure, education), each with its `category`, the latest value, the change over one, five and ten years and `change_5y_percentile` among the 81 provinces. |
/api/v1/screen | Districts that carry every `label`, none of `without_label`, and sit at or above / below the given national percentiles of district-level scores; sorted by a score. |
/api/v1/labels | Every persona label with its meaning and how many districts carry it today. |
/api/v1/labels/{label} | Districts carrying a label, with the inputs that fired the rule. |
/api/v1/districts/{geo_id}/history | Every feature's values by year for one district, oldest first, each flagged when it is an estimate allocated from a province figure; `feature` restricts to the ids given. |
/api/v1/districts/{geo_id}/observations | The publishers' own numbers for one district, as loaded: metric, period (first day of the year, quarter or month), value, unit and source. |
/api/v1/rankings | Districts ranked on one score for the latest period (provinces, for a province-level score), with each one's components. |
/api/v1/features | Districts ranked on one feature (an id from `/catalog/features`) for its latest period or a given `year`, each value with its period and whether it is an estimate. |
/api/v1/metrics | The source metrics behind the features: id, name, `category` (see `/catalog/categories`), unit, publisher's code, frequency and the finest geography the source publishes it for, in category order; `category` restricts to one. |
/api/v1/scores | Every score with its level (district or province) and the ids of its inputs. |
/api/v1/catalog/categories | The categories every feature and source metric belongs to, in the order the site and the catalogues list them: id, title, what the category holds, and how many features and metrics carry it. |
/api/v1/catalog/features | Every feature with its name, `category` (see `/catalog/categories`), unit, direction (`higher_is`), plain-language meaning and source, the number of rows, the first and last period, and whether any of its values are estimates, in category order; `category` restricts to one. |
/api/v1/h3 | A district as a grid of H3 hexagons, each with its cell-level features (population, distances, places); `feature` restricts to the ids given. |
/api/v1/neighborhoods | A district's neighbourhoods and villages with their latest registered population, largest first. |
/api/v1/districts/{geo_id}/similar | Districts most like this one, with the features where each differs most and the labels they share. |
Schema: openapi.json. Runnable examples in Python, JavaScript and shell are in the API guide.
Terms in one page
- You display the data inside your product; you do not resell the raw dataset.
- Keys are per organisation, revocable, metered. Volume and cadence are set in the agreement.
- Outputs are engineered indicators over public sources and are provided as is.
- Place-source attribution is available on request if your use requires it.
Getting a key
Keys are issued under an agreement, per organisation, with the rate and daily volume written into it. Tell us what you want to build and which endpoints you expect to call; a technical trial can be arranged as part of the conversation. The reference and the guide show every response in full, so you can judge the fit before you write to us.