← Back to the map

Sources and methodology

Every figure in Məskən carries a source badge. This page lists those sources, the calculation rules and where the data is weak. Data updated: 12 October 2026.

Badges

Datasets

SourceUsed forCoverageDateStatus
Live (OSM)
ODbL © OpenStreetMap contributors
Boundaries, services (POI), stops, metro, routes, roads and surface, land cover, coastlineDistricts: 35 high / 23 medium / 17 low; Baku districts: 11 high / 1 medium2026-10-09working
Official (SSC)Population (01.01.2026), density, per-10,000-resident indicators87/87 areas2026-01-01working
CalculatedElevation, terrain type (plain/foothills/mountain)87/87 areas, 5×5 grid in each area2026-10-09working
ModelJuly average maximum, January average minimum, annual precipitation87/87 areas (centre point)2025working
ModelPM2.5 (a model, not a measurement)87/87 areaslast 30 daysworking
bina.az listings — user-supplied dataset (collected by a third party; we do not scrape)
Sample
Sample prices (median AZN/m²), share of listings with a title extract, mortgage share. No individual listing is stored.95632 unique geocoded listings; medians in 17 areas (n≥8), 277 neighbourhoods (n≥5)2024-10–2024-11working
Property prices (data/manual/prices.csv)
Demo
Prices, affordability index, budget filter, true cost61 published values, 40 demo values; 22 areas2026-10-09partial
Official (SSC)Walking distance to the metro, transport index. metro.gov.az was not reachable.Of 33 'stations' in OSM, 7 depots, exits and planned stations were removed; 26/27 match2026-10-09working
Official (SSC)Planned: official price pointsNo price per m² published for 2026; the 2021 notices found are per flat—unavailable
Official (SSC)Planned: route checkNo open machine-readable route data found; OSM routes are used instead—unavailable
Official (SSC)Legal checkIf an article's text is missing, the AI does not cite the article number—unavailable
Live (OSM)Future: live enrichment for the selected areaNo key, so not used—unavailable
Yandex / Waze
Live (OSM)
Congestion and real travel timeIn future via partnership (no scraping)—future
Official (SSC)
Creative Commons Attribution
Metro stations (replacing OSM), walking distance to the metro, to the nearest exit27 stations, 98 exitsupdated 2026-02-13; downloaded 2026-10-12working
Official (SSC)
Creative Commons Attribution
District boundaries (where they differ from OSM)86 polygons; used instead of OSM in 22 districts (IoU < 0.9); Baku districts, Sumqayıt, Gəncə and Abşeron keptupdated 2025-07-24; downloaded 2026-10-12working
Official (SSC)
Creative Commons Attribution
Station busyness: average weekday trips per day2025: 27 stations, daily; the 2026 file is not used (several unexplained rows per day)updated 2026-09-14; downloaded 2026-10-12working
Official (SSC)
Creative Commons Attribution
Comparison with OSM counts (not added together)11,807 places (Baku, Sumqayıt, Abşeron); 1593 with status “Checking”; CUSTOMIZABLE_POINT (924) ignoredupdated 2025-08-25; downloaded 2026-10-12working
Official (SSC)
Creative Commons Attribution
A village or “qəsəbə” name in a query → its district; official English names4,589 settlements (79 cities, 263 “qəsəbə” (urban-type settlements), 4,247 villages)updated 2025-07-24; downloaded 2026-10-12working
Official (SSC)
Creative Commons Attribution
Distance from an area's centre to the nearest railway; < 300 m flagged as possible noise1,872 linesupdated 2025-07-24; downloaded 2026-10-12working
Official (SSC)
Creative Commons CCZero
Road density (km per 100 km²) and the 2004→2024 change, outside Baku60 districts, 2004–2024 ("..." and "-" = no data)updated 2026-10-09; downloaded 2026-10-12working

Prices: which are real and which are demo

Azerbaijan has no open, official housing price statistics by district. We took only published figures (listing sites are not scraped): 61 values in total. The remaining 40 cells are demo values: aligned with the real figures (centre > outskirts, new > old, regions < Baku), but they are not market prices and carry a “Demo” badge on the map. Values come from data/manual/prices.csv and can be replaced with a real source without changing any code.

AreaTypeValueSource
SəbailNew-build flatAZN 2,389/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SəbailResale flatAZN 4,132/m²PressCaliber.az (all residential, average, 2026-09)
SəbailHouse with a yardAZN 1,685/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SəbailCommercial propertyAZN 4,000/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NəsimiNew-build flatAZN 2,660/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NəsimiResale flatAZN 2,385/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NəsimiHouse with a yardAZN 2,481/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NəsimiCommercial propertyAZN 3,692/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
YasamalNew-build flatAZN 2,393/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
YasamalResale flatAZN 2,558/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
YasamalHouse with a yardAZN 1,714/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
YasamalCommercial propertyAZN 4,000/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NərimanovNew-build flatAZN 2,722/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NərimanovResale flatAZN 2,550/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NərimanovHouse with a yardAZN 1,840/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NərimanovCommercial propertyAZN 4,310/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XətaiNew-build flatAZN 2,354/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XətaiResale flatAZN 1,973/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XətaiHouse with a yardAZN 1,262/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XətaiCommercial propertyAZN 3,976/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NizamiNew-build flatAZN 2,236/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NizamiResale flatAZN 2,231/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NizamiHouse with a yardAZN 1,267/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
NizamiCommercial propertyAZN 2,681/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
BinəqədiNew-build flatAZN 2,165/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
BinəqədiResale flatAZN 2,168/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
BinəqədiHouse with a yardAZN 862/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
BinəqədiCommercial propertyAZN 2,400/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XəzərNew-build flatAZN 1,450/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XəzərResale flatAZN 1,500/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XəzərHouse with a yardAZN 1,567/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XəzərCommercial propertyAZN 1,000/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SabunçuNew-build flatAZN 2,500/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SabunçuResale flatAZN 2,000/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SabunçuHouse with a yardAZN 900/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SabunçuCommercial propertyAZN 1,667/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SuraxanıNew-build flatAZN 1,600/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SuraxanıResale flatAZN 1,644/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SuraxanıHouse with a yardAZN 786/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SuraxanıCommercial propertyAZN 1,182/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
QaradağNew-build flatAZN 1,522/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
QaradağResale flatAZN 1,500/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
QaradağHouse with a yardAZN 880/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
QaradağCommercial propertyAZN 1,025/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
PirallahıResale flatAZN 1,452/m²PressCaliber.az (all residential, average, 2026-09)
PirallahıHouse with a yardAZN 980/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
BakıNew-build flatAZN 2,813/m²PressJAM News / Chamber of Appraisers (new build, median, 2026-07)
BakıResale flatAZN 2,617/m²PressJAM News / Chamber of Appraisers (resale, median, 2026-07)
BakıHouse with a yardAZN 1,344/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
BakıCommercial propertyAZN 3,394/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SumqayıtNew-build flatAZN 1,450/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
SumqayıtResale flatAZN 850/m²PressCyril Jarnias blog (apartment block 350–650 USD/m²; primary source not given; midpoint of USD range ×1.70)
SumqayıtHouse with a yardAZN 910/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
GəncəNew-build flatAZN 1,020/m²PressCyril Jarnias blog (new complex 500–700 USD/m²; primary source not given; midpoint of USD range ×1.70)
GəncəResale flatAZN 680/m²PressCyril Jarnias blog (Soviet-era 300–500 USD/m²; primary source not given; midpoint of USD range ×1.70)
AbşeronCommercial propertyAZN 1,118/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
AbşeronHouse with a yardAZN 783/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
AbşeronNew-build flatAZN 1,250/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
AbşeronResale flatAZN 1,200/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
XaçmazHouse with a yardAZN 539/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
AstaraHouse with a yardAZN 634/m²PressMedian of bina.az listings (user-supplied dataset, 2024-10–2024-11)
Demo values (40) across 19 areas
Səbail · LandAZN 60,000/sot Demo
Nəsimi · LandAZN 50,000/sot Demo
Yasamal · LandAZN 42,000/sot Demo
Nərimanov · LandAZN 40,000/sot Demo
Xətai · LandAZN 35,000/sot Demo
Nizami · LandAZN 32,000/sot Demo
Binəqədi · LandAZN 20,000/sot Demo
Xəzər · LandAZN 15,000/sot Demo
Sabunçu · LandAZN 14,000/sot Demo
Suraxanı · LandAZN 12,000/sot Demo
Qaradağ · LandAZN 9,000/sot Demo
Pirallahı · New-build flatAZN 1,650/m² Demo
Pirallahı · Commercial propertyAZN 1,800/m² Demo
Pirallahı · LandAZN 8,000/sot Demo
Bakı · LandAZN 18,000/sot Demo
Sumqayıt · Commercial propertyAZN 1,400/m² Demo
Sumqayıt · LandAZN 7,000/sot Demo
Gəncə · House with a yardAZN 600/m² Demo
Gəncə · Commercial propertyAZN 1,100/m² Demo
Gəncə · LandAZN 4,000/sot Demo
Mingəçevir · New-build flatAZN 900/m² Demo
Mingəçevir · Resale flatAZN 650/m² Demo
Mingəçevir · House with a yardAZN 500/m² Demo
Mingəçevir · Commercial propertyAZN 900/m² Demo
Mingəçevir · LandAZN 3,000/sot Demo
Lənkəran · New-build flatAZN 850/m² Demo
Lənkəran · Resale flatAZN 600/m² Demo
Lənkəran · House with a yardAZN 450/m² Demo
Lənkəran · Commercial propertyAZN 850/m² Demo
Lənkəran · LandAZN 2,500/sot Demo
Quba · New-build flatAZN 850/m² Demo
Quba · Resale flatAZN 600/m² Demo
Quba · House with a yardAZN 550/m² Demo
Quba · Commercial propertyAZN 850/m² Demo
Quba · LandAZN 3,500/sot Demo
Şəki · New-build flatAZN 800/m² Demo
Şəki · Resale flatAZN 550/m² Demo
Şəki · House with a yardAZN 500/m² Demo
Şəki · Commercial propertyAZN 800/m² Demo
Şəki · LandAZN 2,800/sot Demo

Feasibility: data and cost

DataNowNeeded for production
Boundaries, POI, metro, stops, roadsreal (OSM)monthly automatic refresh + data-sanity tests
Population, densityofficial (SSC, 01.01.2026)annual refresh
Prices54 listing medians + 7 published figures; 40 demopartnership (API) with a listing portal, bank or the Chamber of Appraisers
Metro listchecked against 27 operating stationsofficial GTFS / Metro API
Legal textsnone, so the AI does not cite article numbersa corpus reviewed by a lawyer
Congestion / real travel timenone (straight line × 1.4)Waze for Cities / Yandex partnership

Cost: one AI call uses on average ~2,000 input + ~400 output tokens (measured). A session (~4 calls) costs ≈ $0.006 with gemini-3.7-flash, or ≈ $0.03 at a cautious price; 1,000 users ≈ $6–26. The free Gemini tier is enough for the demo, the cache makes repeat questions free and hosting is free (static data). Details: Quality and tests. Next steps: a 4-week pilot with an estate agent, a price data partnership, monthly OSM refresh.

Methodology

  • Neighbourhoods. 905 neighbourhoods (məhəllə) across Baku, Sumqayıt and Gəncə: the 67 with a boundary in OSM (microdistricts, settlements) are used as they are; the rest of the area is filled with Voronoi cells built from OSM settlement points and metro stations and clipped to district boundaries, so boundaries are approximate (not aligned to streets). Indicators are aggregated from an internal H3 grid (3,700 cells): counts are summed, distances are area-weighted averages and prices are medians; distances to the nearest metro (checked against the 27 operating stations), stop, school, kindergarten and park; names come from OSM settlements. The price is the median if a neighbourhood has ≥5 listings, otherwise the district average.
  • Decision engine. The AI structures the query and explains the result; code filters and ranks matching areas and computes the confidence score (coverage 40%, query completeness 25%, gap between 1st and 2nd 20%, match with constraints 15%).
  • Areas. OSM administrative boundaries: 75 districts/cities and Baku's 12 districts. Sea areas are clipped by the Caspian coastline (islands kept). Population and density: SSC, 01.01.2026.
  • Services. OSM features (pharmacies, groceries, schools, kindergartens, hospitals, clinics, banks, cafés, sport, parks etc.) are counted if they fall inside the polygon and divided per 10,000 residents.
  • Transport. Metro and railway stations (unique by name), bus stops, bus/minibus routes mapped in OSM; for Baku districts, the straight-line distance from the centre to the nearest metro.
  • Roads. Main roads, streets and rural tracks; surface from the OSM “surface” tag: asphalt/concrete, dirt/gravel or unknown. On the map, “paved %” is calculated among roads with a known surface.
  • Nature. Land cover is sampled from OSM polygons on a 30×30–36×36 point grid in each area (approximate). Elevation: Open-Meteo, 5×5 grid; terrain: plain (mean <200 m, std <50), mountain (mean >1000 m or std >250), otherwise foothills. Climate: ERA5 (2025); PM2.5: CAMS model.
  • Indices (0–100). Each indicator is converted to a percentile among areas at the same level, and the index is their average: comfort, transport, education, healthcare, nature, road infrastructure, affordability (inverse of price).
  • Fit. The AI extracts weights from the persona sentence; score = Σ(weight × index) / Σ weight. If the home exceeds the budget, the score is multiplied by 0.3 and marked “over budget”.
  • True cost (10 years). Home price + 120 months × (monthly travel cost + hours travelling × value of an hour). Distance = straight line × 1.4; speeds: metro 30, bus 15, car 25 (Baku) / 60 km/h. Approximate model.

How the AI works

  • The AI runs on Google Gemini (flash). The model sees only the area's JSON indicators and may use only the numbers in it; every answer is validated against a JSON schema (zod).
  • Area profiles are generated in advance and cached; persona, Q&A, comparison and legal check are called live and the result is cached.
  • When the AI is unavailable (rate limit, network), the site falls back to a rule-based answer and says so in the text.
  • In the legal check, known risk phrases (“çıxarışsız”, without a title extract; “kupçasız”, without a deed; “etibarnamə ilə”, sold under power of attorney, etc.) are also detected by a deterministic rule, so the AI cannot miss them. A law article is cited only if its text is in our database.

Limitations

  • Prices: bina.az listing medians in 17 areas (2024, a user-supplied dataset; we do not scrape and store aggregates only), 7 published figures, the rest demo. Most districts have no price.
  • OSM is incomplete in the regions: few features means “not mapped”, not “not there”. The coverage level is shown for every area.
  • Route counts reflect only lines mapped in OSM; in the regions this figure is very low.
  • PM2.5 is a model estimate, not a measurement; climate is for the area's centre point.
  • In Karabakh and East Zangezur, population and infrastructure are changing fast, so the data may lag behind.
  • There is no congestion or real travel time; this would come only through an official Yandex/Waze partnership (no scraping).