Housing Market API entegrasyon kılavuzu

Referans tabloları, uç nokta açıklamaları, hata kodları ve örnekler API spesifikasyonundan oluşturulur ve her dilde İngilizce kalır. Adlar, parametreler ve kodlar her yerde aynıdır.

Insights uç noktaları

Yalnızca Gelişmiş plan

Insights uç noktaları, Gelişmiş planda toplu piyasa verileri döndürecek. Yakında: bu uç noktalar henüz etkin değil.

Insights kullanıma sunulduğunda, bir Insights uç noktasını çağıran Standart bir anahtar upgrade_required ile reddedilir. Konsoldan planınızı yükseltin; ardından aynı anahtar çalışır.

Her değer, bir yer ve bir dönem için toplu bir değerdir. Tek tek kişiler, potansiyel müşteriler, emlak danışmanları ve ilanlar asla döndürülmez.

Gizliliği korumak için 10 adetten az temel olaydan oluşturulan bir hücre gizlenir. Hücre yine de döndürülür; suppressed değeri true ve değerleri null olarak ayarlanır, böylece seriniz yapısını korur.

Fiyatlar ülkenin yerel para birimindedir ve asla dönüştürülmez; bu nedenle farklı ülkelerin rakamları parasal olarak karşılaştırılamaz.

Üçüncü taraf piyasa verileri, her gösterge için yayıncısını belirtir ve kaynağa bağlantı verir.

Insights uç noktalarının ortak parametreleri

ParameterTypeRequiredValuesDescription
countrystringyespattern ^[A-Z]{2}$ISO 3166-1 alpha-2 code of the country, for example TH. A country outside your subscription is refused with country_not_entitled.
levelstringnocountry province city
default country
How finely to group the cells. country is the default.
province_idintegernomin 1Return only listings in this province or state, by the province_id listings carry.
city_idintegernomin 1Return only listings in this city, by the city_id listings carry.
listing_typestringnoall sale rent
default all
Which kind of listing to include. all is the default.
fromstring (date)noFirst day of the period, as YYYY-MM-DD.
tostring (date)noLast day of the period, as YYYY-MM-DD.
granularitystringnoday week month
default month
Length of each period. month is the default.
limitintegernodefault 50
min 1
max 100
Page size. At most the maximum shown; larger values are refused with invalid_parameter.
cursorstringnoThe next_cursor of the previous page. Opaque: do not parse it, store it, or build one. It is bound to your key and to the filters of the request that produced it, and a cursor used with different filters is refused with invalid_cursor.

Uç noktalar

GET /v1/insights/search-volume Advanced only

Search volume by place and period

How many property searches were run on the portals for a place and a period. Counts only; no search phrase and no searcher is ever returned.

Each item of data

FieldTypeDescription
period_start requiredstring (date)First day of the period.
period_end requiredstring (date)Last day of the period.
geography requiredGeography
suppressed requiredbooleanTrue when the cell was too small to publish. Its values are null.
searches requiredinteger | nullNumber of property searches. Null when suppressed.

GET /v1/insights/lead-volume Advanced only

Lead volume by place and period

How many enquiries were made about listings in a place and a period. Counts only. Cells with fewer underlying leads than the suppression threshold are returned with suppressed: true and no value.

Each item of data

FieldTypeDescription
period_start requiredstring (date)First day of the period.
period_end requiredstring (date)Last day of the period.
geography requiredGeography
suppressed requiredbooleanTrue when the cell was too small to publish. Its values are null.
leads requiredinteger | nullNumber of enquiries made about listings in the cell. Null when suppressed.

GET /v1/insights/prices Advanced only

Prices by place and period

Median asking prices for a place and a period, in the local currency of the country. Prices are never converted between currencies, so a figure from one country cannot be compared with a figure from another.

ParameterTypeRequiredValuesDescription
property_typestringnoReturn only this property type, for example condominium. The value is the property_type that listings carry; an unknown value returns an empty page.

Each item of data

FieldTypeDescription
period_start requiredstring (date)First day of the period.
period_end requiredstring (date)Last day of the period.
geography requiredGeography
suppressed requiredbooleanTrue when the cell was too small to publish. Its values are null.
currency requiredstringISO 4217 code of the local currency. Prices are never converted.
median_price requirednumber | nullMedian asking price. Null when suppressed.
median_price_per_sqm requirednumber | nullMedian asking price per square metre. Null when suppressed.
listing_count requiredinteger | nullNumber of listings the medians are based on. Null when suppressed.

GET /v1/insights/property-counts Advanced only

Property counts by place and period

How many published listings there were in a place and a period, and how many were new.

ParameterTypeRequiredValuesDescription
property_typestringnoReturn only this property type, for example condominium. The value is the property_type that listings carry; an unknown value returns an empty page.

Each item of data

FieldTypeDescription
period_start requiredstring (date)First day of the period.
period_end requiredstring (date)Last day of the period.
geography requiredGeography
suppressed requiredbooleanTrue when the cell was too small to publish. Its values are null.
active_listings requiredinteger | nullNumber of published listings in the cell. Null when suppressed.
new_listings requiredinteger | nullNumber of listings first published in the period. Null when suppressed.

GET /v1/insights/activity Advanced only

Activity levels by place and period

How much attention listings in a place received in a period: views and enquiries, summed over every listing in the cell. Cells with fewer underlying events than the suppression threshold are returned with suppressed: true and no values.

Each item of data

FieldTypeDescription
period_start requiredstring (date)First day of the period.
period_end requiredstring (date)Last day of the period.
geography requiredGeography
suppressed requiredbooleanTrue when the cell was too small to publish. Its values are null.
views requiredinteger | nullListing views in the cell. Null when suppressed.
enquiries requiredinteger | nullEnquiries about listings in the cell. Null when suppressed.

GET /v1/insights/market-data Advanced only

Third-party market data for a country

Published indicators from named third parties, such as central-bank mortgage rates or land-registry volumes, each with its publisher and a link to the source. A source appears here only after its licence has been checked for this use.

Each item of data

FieldTypeDescription
indicator requiredstringStable name of the indicator, for example mortgage_rate.
value requirednumberThe published figure.
unit requiredstringUnit of value, for example percent.
period_start requiredstring (date)First day the figure covers.
period_end requiredstring (date)Last day the figure covers.
source requiredobjectWhere the figure comes from.