From 5284b1c9603b3d7e18e35915a6db8f66893de21e Mon Sep 17 00:00:00 2001 From: alexpipipi Date: Fri, 17 Jul 2026 13:46:51 +0300 Subject: [PATCH 1/2] feat: add Real Estate Data API (BIS property prices) endpoints --- ...lEstateCountries_200_application_json.yaml | 43 ++++++ ...teDetailedPrices_200_application_json.yaml | 79 ++++++++++ ...teDetailedSeries_200_application_json.yaml | 61 ++++++++ ...teSelectedPrices_200_application_json.yaml | 74 ++++++++++ openapi.yaml | 10 ++ paths/real-estate_code.yaml | 121 ++++++++++++++++ paths/real-estate_code_detailed.yaml | 135 ++++++++++++++++++ paths/real-estate_code_detailed_series.yaml | 53 +++++++ paths/real-estate_countries.yaml | 86 +++++++++++ 9 files changed, 662 insertions(+) create mode 100644 components/schemas/Resp_GetRealEstateCountries_200_application_json.yaml create mode 100644 components/schemas/Resp_GetRealEstateDetailedPrices_200_application_json.yaml create mode 100644 components/schemas/Resp_GetRealEstateDetailedSeries_200_application_json.yaml create mode 100644 components/schemas/Resp_GetRealEstateSelectedPrices_200_application_json.yaml create mode 100644 paths/real-estate_code.yaml create mode 100644 paths/real-estate_code_detailed.yaml create mode 100644 paths/real-estate_code_detailed_series.yaml create mode 100644 paths/real-estate_countries.yaml diff --git a/components/schemas/Resp_GetRealEstateCountries_200_application_json.yaml b/components/schemas/Resp_GetRealEstateCountries_200_application_json.yaml new file mode 100644 index 0000000..059f7b2 --- /dev/null +++ b/components/schemas/Resp_GetRealEstateCountries_200_application_json.yaml @@ -0,0 +1,43 @@ +Resp_GetRealEstateCountries_200_application_json: + type: object + required: + - meta + - data + - links + properties: + meta: + type: object + properties: + total: + type: integer + minimum: 0 + description: Total number of matching countries. + offset: + type: integer + minimum: 0 + description: Pagination offset applied. + limit: + type: integer + minimum: 1 + description: Page size applied. + additionalProperties: false + data: + type: array + items: + type: object + properties: + code: + type: string + description: ISO Alpha-2 country code. + name: + type: string + description: Country name. + has_spp: + type: boolean + description: Whether Selected Property Prices are available for this country. + has_dpp: + type: boolean + description: Whether Detailed Property Prices are available for this country. + links: + $ref: ./Links.yaml#/Links + additionalProperties: false diff --git a/components/schemas/Resp_GetRealEstateDetailedPrices_200_application_json.yaml b/components/schemas/Resp_GetRealEstateDetailedPrices_200_application_json.yaml new file mode 100644 index 0000000..f1e24cc --- /dev/null +++ b/components/schemas/Resp_GetRealEstateDetailedPrices_200_application_json.yaml @@ -0,0 +1,79 @@ +Resp_GetRealEstateDetailedPrices_200_application_json: + type: object + required: + - meta + - data + - links + properties: + meta: + type: object + properties: + country_code: + type: string + description: ISO Alpha-2 country code. + source: + type: string + description: Data source. + dataset: + type: string + description: Dataset identifier. + total: + type: integer + minimum: 0 + description: Total number of matching observations. + offset: + type: integer + minimum: 0 + description: Pagination offset applied. + limit: + type: integer + minimum: 1 + description: Page size applied. + filters: + type: object + description: Filters applied to the query. + additionalProperties: true + additionalProperties: false + data: + type: array + items: + type: object + properties: + period: + type: string + description: Observation period. + value: + type: number + description: Observation value. + frequency: + type: string + description: Series frequency. + covered_area: + type: string + description: Covered area dimension code. + covered_area_label: + type: string + description: Human-readable covered area label. + property_type: + type: string + description: Property type dimension code. + property_type_label: + type: string + description: Human-readable property type label. + vintage: + type: string + description: Vintage dimension code. + vintage_label: + type: string + description: Human-readable vintage label. + unit_measure: + type: string + description: Unit of measure dimension code. + unit_measure_label: + type: + - string + - 'null' + description: Human-readable unit of measure label (may be null). + links: + $ref: ./Links.yaml#/Links + additionalProperties: false diff --git a/components/schemas/Resp_GetRealEstateDetailedSeries_200_application_json.yaml b/components/schemas/Resp_GetRealEstateDetailedSeries_200_application_json.yaml new file mode 100644 index 0000000..64cb9db --- /dev/null +++ b/components/schemas/Resp_GetRealEstateDetailedSeries_200_application_json.yaml @@ -0,0 +1,61 @@ +Resp_GetRealEstateDetailedSeries_200_application_json: + type: object + required: + - meta + - data + properties: + meta: + type: object + properties: + country_code: + type: string + description: ISO Alpha-2 country code. + total: + type: integer + minimum: 0 + description: Total number of available series. + additionalProperties: false + data: + type: array + items: + type: object + properties: + covered_area: + type: string + description: Covered area dimension code. + covered_area_label: + type: string + description: Human-readable covered area label. + property_type: + type: string + description: Property type dimension code. + property_type_label: + type: string + description: Human-readable property type label. + vintage: + type: string + description: Vintage dimension code. + vintage_label: + type: string + description: Human-readable vintage label. + compiling_org: + type: string + description: Organisation compiling the series. + priced_unit: + type: string + description: Priced unit. + seasonal_adj: + type: string + description: Seasonal adjustment indicator. + unit_measure: + type: string + description: Unit of measure dimension code. + unit_measure_label: + type: + - string + - 'null' + description: Human-readable unit of measure label (may be null). + title: + type: string + description: Human-readable series title. + additionalProperties: false diff --git a/components/schemas/Resp_GetRealEstateSelectedPrices_200_application_json.yaml b/components/schemas/Resp_GetRealEstateSelectedPrices_200_application_json.yaml new file mode 100644 index 0000000..b6f15bc --- /dev/null +++ b/components/schemas/Resp_GetRealEstateSelectedPrices_200_application_json.yaml @@ -0,0 +1,74 @@ +Resp_GetRealEstateSelectedPrices_200_application_json: + type: object + required: + - meta + - data + - links + properties: + meta: + type: object + properties: + country_code: + type: string + description: ISO Alpha-2 country code. + country_name: + type: string + description: Country name. + type: + type: string + description: Price basis (nominal or real). + metric: + type: string + description: Metric representation (index or yoy). + base_year: + type: string + description: Index base year. + frequency: + type: string + description: Series frequency. + source: + type: string + description: Data source. + total: + type: integer + minimum: 0 + description: Total number of matching observations. + from: + type: + - string + - 'null' + description: Start period of the returned window. + to: + type: + - string + - 'null' + description: End period of the returned window. + offset: + type: integer + minimum: 0 + description: Pagination offset applied. + limit: + type: integer + minimum: 1 + description: Page size applied. + additionalProperties: false + data: + type: array + items: + type: object + properties: + period: + type: string + description: Observation period (e.g. '2020-Q1'). + value: + type: number + description: Observation value. + type: + type: string + description: Price basis (nominal or real). + metric: + type: string + description: Metric representation (index or yoy). + links: + $ref: ./Links.yaml#/Links + additionalProperties: false diff --git a/openapi.yaml b/openapi.yaml index 47bd238..80b4566 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -71,6 +71,8 @@ tags: description: Sanctioned entities, vessels, programs, and sources (OFAC and others) - name: Interest Rates description: Reference rates, central bank policy rates, and funding-stress spreads +- name: Real Estate + description: Real estate property prices (BIS Selected and Detailed Property Prices) paths: /bulk-fundamentals/{EXCHANGE}: $ref: ./paths/bulk-fundamentals_EXCHANGE.yaml#/~1bulk-fundamentals~1{EXCHANGE} @@ -194,6 +196,14 @@ paths: $ref: ./paths/rates_policy-rates.yaml#/~1rates~1policy-rates /real-time/{ticker}: $ref: ./paths/real-time_ticker.yaml#/~1real-time~1{ticker} + /real-estate/countries: + $ref: ./paths/real-estate_countries.yaml#/~1real-estate~1countries + /real-estate/{code}: + $ref: ./paths/real-estate_code.yaml#/~1real-estate~1{code} + /real-estate/{code}/detailed: + $ref: ./paths/real-estate_code_detailed.yaml#/~1real-estate~1{code}~1detailed + /real-estate/{code}/detailed/series: + $ref: ./paths/real-estate_code_detailed_series.yaml#/~1real-estate~1{code}~1detailed~1series /sanctions/entities: $ref: ./paths/sanctions_entities.yaml#/~1sanctions~1entities /sanctions/vessels: diff --git a/paths/real-estate_code.yaml b/paths/real-estate_code.yaml new file mode 100644 index 0000000..24a49b0 --- /dev/null +++ b/paths/real-estate_code.yaml @@ -0,0 +1,121 @@ +/real-estate/{code}: + get: + summary: Get selected real estate property prices + description: Returns the headline harmonised Selected Property Prices (SPP) series + for a country, sourced from BIS. + operationId: GetRealEstateSelectedPrices + parameters: + - name: code + in: path + required: true + description: Country code (ISO Alpha-2, case-insensitive), e.g. 'US'. + schema: + type: string + - name: filter[type] + in: query + required: false + description: Price basis. + schema: + type: string + enum: + - nominal + - real + - name: filter[metric] + in: query + required: false + description: Metric representation. + schema: + type: string + enum: + - index + - yoy + - name: filter[from] + in: query + required: false + description: Start period in 'YYYY-Qn' format (e.g. '2020-Q1'). + schema: + type: string + - name: filter[to] + in: query + required: false + description: End period in 'YYYY-Qn' format (e.g. '2020-Q1'). + schema: + type: string + - name: sort + in: query + required: false + description: Sort order for the returned series. + schema: + type: string + enum: + - period + - -period + - value + - -value + - name: page[offset] + in: query + required: false + description: Pagination offset (records to skip). + schema: + type: integer + minimum: 0 + default: 0 + - name: page[limit] + in: query + required: false + description: Number of records per page. Default 50, maximum 500. + schema: + type: integer + minimum: 1 + maximum: 500 + default: 50 + - name: fmt + in: query + required: false + description: Output format. + schema: + type: string + enum: + - json + - csv + default: json + responses: + '200': + description: Successfully retrieved the selected property prices series. + content: + application/json: + schema: + $ref: ../components/schemas/Resp_GetRealEstateSelectedPrices_200_application_json.yaml#/Resp_GetRealEstateSelectedPrices_200_application_json + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '403': + description: Forbidden + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '404': + description: Not Found + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '422': + description: | + Validation error. Returned when a parameter is malformed or a filter value is invalid. + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '429': + description: Too Many Requests + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + tags: + - Real Estate diff --git a/paths/real-estate_code_detailed.yaml b/paths/real-estate_code_detailed.yaml new file mode 100644 index 0000000..11090e1 --- /dev/null +++ b/paths/real-estate_code_detailed.yaml @@ -0,0 +1,135 @@ +/real-estate/{code}/detailed: + get: + summary: Get detailed real estate property prices + description: Returns the granular national Detailed Property Prices (DPP) series + for a country, sourced from BIS, broken down by covered area, property type, + and vintage. + operationId: GetRealEstateDetailedPrices + parameters: + - name: code + in: path + required: true + description: Country code (ISO Alpha-2, case-insensitive), e.g. 'AE'. + schema: + type: string + - name: filter[area] + in: query + required: false + description: BIS covered-area dimension code. + schema: + type: string + - name: filter[property_type] + in: query + required: false + description: Property type dimension code. + schema: + type: string + - name: filter[vintage] + in: query + required: false + description: Vintage (new / existing / all) dimension code. + schema: + type: string + - name: filter[freq] + in: query + required: false + description: Series frequency. + schema: + type: string + enum: + - Q + - A + - M + - H + - name: filter[from] + in: query + required: false + description: Start period; format follows the series frequency (e.g. '2020-01' + or '2020-Q1'). + schema: + type: string + - name: filter[to] + in: query + required: false + description: End period; format follows the series frequency (e.g. '2020-01' + or '2020-Q1'). + schema: + type: string + - name: sort + in: query + required: false + description: Sort order for the returned series. + schema: + type: string + enum: + - period + - -period + - value + - -value + - name: page[offset] + in: query + required: false + description: Pagination offset (records to skip). + schema: + type: integer + minimum: 0 + default: 0 + - name: page[limit] + in: query + required: false + description: Number of records per page. Default 50, maximum 500. + schema: + type: integer + minimum: 1 + maximum: 500 + default: 50 + - name: fmt + in: query + required: false + description: Output format. + schema: + type: string + enum: + - json + - csv + default: json + responses: + '200': + description: Successfully retrieved the detailed property prices series. + content: + application/json: + schema: + $ref: ../components/schemas/Resp_GetRealEstateDetailedPrices_200_application_json.yaml#/Resp_GetRealEstateDetailedPrices_200_application_json + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '403': + description: Forbidden + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '404': + description: Not Found + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '422': + description: | + Validation error. Returned when a parameter is malformed or a filter value is invalid. + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '429': + description: Too Many Requests + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + tags: + - Real Estate diff --git a/paths/real-estate_code_detailed_series.yaml b/paths/real-estate_code_detailed_series.yaml new file mode 100644 index 0000000..2887b68 --- /dev/null +++ b/paths/real-estate_code_detailed_series.yaml @@ -0,0 +1,53 @@ +/real-estate/{code}/detailed/series: + get: + summary: List available detailed real estate series + description: Returns the catalogue of available Detailed Property Prices (DPP) + series for a country. This endpoint always returns JSON (fmt=csv is not honoured). + operationId: GetRealEstateDetailedSeries + parameters: + - name: code + in: path + required: true + description: Country code (ISO Alpha-2, case-insensitive), e.g. 'US'. + schema: + type: string + responses: + '200': + description: Successfully retrieved the catalogue of available series. + content: + application/json: + schema: + $ref: ../components/schemas/Resp_GetRealEstateDetailedSeries_200_application_json.yaml#/Resp_GetRealEstateDetailedSeries_200_application_json + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '403': + description: Forbidden + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '404': + description: Not Found + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '422': + description: | + Validation error. Returned when a parameter is malformed or a filter value is invalid. + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '429': + description: Too Many Requests + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + tags: + - Real Estate diff --git a/paths/real-estate_countries.yaml b/paths/real-estate_countries.yaml new file mode 100644 index 0000000..92be740 --- /dev/null +++ b/paths/real-estate_countries.yaml @@ -0,0 +1,86 @@ +/real-estate/countries: + get: + summary: List covered real estate countries + description: Returns the list of countries covered by the Real Estate Data API + (BIS property prices), including which datasets each country carries (Selected + Property Prices and/or Detailed Property Prices). + operationId: GetRealEstateCountries + parameters: + - name: sort + in: query + required: false + description: Sort order for the returned countries. + schema: + type: string + enum: + - code + - -code + - name + - -name + - name: page[offset] + in: query + required: false + description: Pagination offset (records to skip). + schema: + type: integer + minimum: 0 + default: 0 + - name: page[limit] + in: query + required: false + description: Number of records per page. Default 50, maximum 500. + schema: + type: integer + minimum: 1 + maximum: 500 + default: 50 + - name: fmt + in: query + required: false + description: Output format. + schema: + type: string + enum: + - json + - csv + default: json + responses: + '200': + description: Successfully retrieved the list of covered countries. + content: + application/json: + schema: + $ref: ../components/schemas/Resp_GetRealEstateCountries_200_application_json.yaml#/Resp_GetRealEstateCountries_200_application_json + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '403': + description: Forbidden + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '404': + description: Not Found + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '422': + description: | + Validation error. Returned when a parameter is malformed or a filter value is invalid. + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + '429': + description: Too Many Requests + content: + application/json: + schema: + $ref: ../components/schemas/Error.yaml#/Error + tags: + - Real Estate From e10f77569fecbd64aeb855dc551480a22005bd09 Mon Sep 17 00:00:00 2001 From: alexpipipi Date: Fri, 17 Jul 2026 13:51:25 +0300 Subject: [PATCH 2/2] chore(postman): add Real Estate Data API folder to collection config --- scripts/postman-config.yaml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/scripts/postman-config.yaml b/scripts/postman-config.yaml index e76cdc9..9892e0d 100644 --- a/scripts/postman-config.yaml +++ b/scripts/postman-config.yaml @@ -1044,6 +1044,48 @@ folders: to: "2024-12-31" fmt: "json" + - name: "Real Estate Data API (beta)" + description: > + Residential property prices for 60+ countries from the Bank for International Settlements — + Selected Property Prices (harmonised headline index; nominal and real; index and year-on-year) + and Detailed Property Prices (granular national series by area, dwelling type and vintage), + plus a catalogue of the detailed series available per country. + + **Plans:** All-In-One, Fundamentals Data Feed. + **Cost:** 5 API calls per request. + **Docs:** https://eodhd.com/financial-apis/real-estate-data-api/ + endpoints: + - path: "/real-estate/countries" + variants: + - name: "Countries — with dataset flags" + query_overrides: + sort: "name" + fmt: "json" + - path: "/real-estate/{code}" + variants: + - name: "Selected Property Prices — US (real, index)" + path_params: + code: "US" + query_overrides: + "filter[type]": "real" + "filter[metric]": "index" + fmt: "json" + - path: "/real-estate/{code}/detailed" + variants: + - name: "Detailed Property Prices — AE" + path_params: + code: "AE" + query_overrides: + "filter[property_type]": "1" + fmt: "json" + - path: "/real-estate/{code}/detailed/series" + variants: + - name: "Detailed Series Catalogue — US" + path_params: + code: "US" + query_overrides: + fmt: "json" + - name: "ID Mapping" description: > Map between financial identifiers — look up securities by symbol, exchange, ISIN, FIGI, LEI, CUSIP, or CIK.