Download OpenAPI specification:Download
The statistics API is a read-only API providing access to various statistics related to announcements.
Announcement statistics are available both at the level of an individual announcement as well as at the level of an agency office.
If you have any questions, comments or feedback regarding our APIs, please contact developer@ovipro.fi.
Fetch announcement summaries matching the search criteria. An announcement summary includes basic information related to a specific announcement as well as some lifetime statistics of the announcement.
Exactly one of the parameters announcementId
and agencyOfficeId
must be specified.
GET /announcementSummaries?agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e&announcementType=SALES_ANNOUNCEMENT&visibleWithinTimePeriod=LAST_7_DAYS
GET /announcementSummaries?agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e&announcementType=SALES_ANNOUNCEMENT&visibleWithinTimePeriod=2021-W14
GET /announcementSummaries?announcementType=SALES_ANNOUNCEMENT&announcementId=1038356
announcementType required | string Enum: "SALES_ANNOUNCEMENT" "RENTAL_ANNOUNCEMENT" Example: announcementType=SALES_ANNOUNCEMENT Type of the announcement. Only a single value is allowed for now, used for forwards compatibility. |
announcementId | string Example: announcementId=1038356 The unique identifier of Etuovi.com announcement. |
agencyOfficeId | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e Agency office identifier |
visibleWithinTimePeriod | string Example: visibleWithinTimePeriod=2021-W21 Only return data for announcements that have been visible during the specified time period |
Request-ID required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 Unique identifier of the call as determined by the initiating party. This identifier is used for troubleshooting purposes. |
[- {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "agencyOfficeId": "ac9de83f-2101-4d1a-a2fa-2e472d646e6e",
- "publishingTimestamp": "2021-04-01T14:00:00Z",
- "unpublishingTimestamp": "2021-05-04T10:00:00Z",
- "announcementDetails": {
- "areaInSquareMeters": 50,
- "streetAddress": "Hämeentie 1 A 00530 Helsinki",
- "residentialTypeCode": "APARTMENT_HOUSE",
- "roomCountCode": "2H",
- "featuredImageUrl": "//d9zbdvy232i1i.cloudfront.net/{imageParameters}/eomqa1media/ovi/realty/images/66c25b49-b77c-43c0-bc8b-206cb08f7806/001cd0a905922e7d87bb62de57fddfb8/ORIGINAL.jpeg",
- "pricingDetails": {
- "price": 300000,
- "currencyCode": "EUR"
}
}, - "lifetimeStatistics": {
- "visitCount": 200,
- "uniqueVisitorCount": 144,
- "leadCount": 13,
- "phoneCallLeadCount": 7,
- "contactFormLeadCount": 6,
- "marketingTime": 14,
- "watchdogEmailCount": 5,
- "userFavoriteCount": 3
}
}
]
Fetch announcement statistics matching the search criteria.
The statistics are aggregated over a specific time period such as a day or a month. Period-on-period deltas of the metrics can be requested optionally
Exactly one of the parameters announcementId
and agencyOfficeId
must be specified, i.e. statistics
can be retrieved for either a specific announcement or for all announcements of a specific agency office.
Either the parameter timePeriod
or one or both of the parameters startTimePeriod
and endTimePeriod
may
be specified at the same time.
GET /announcementStatistics?announcementType=SALES_ANNOUNCEMENT&announcementId=1038356&aggregationPeriod=DAY
GET /announcementStatistics?announcementType=SALES_ANNOUNCEMENT&announcementId=1038356&aggregationPeriod=WEEK
GET /announcementStatistics?announcementType=SALES_ANNOUNCEMENT&announcementId=1038356&aggregationPeriod=MONTH&startTimePeriod=2021-01&endTimePeriod=2021-02
GET /announcementStatistics?announcementType=SALES_ANNOUNCEMENT&announcementId=1038356&aggregationPeriod=ROLLING_7_DAYS&timePeriod=LAST_7_DAYS
GET /announcementStatistics?agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e&announcementType=SALES_ANNOUNCEMENT&aggregationPeriod=ROLLING_7_DAYS&timePeriod=LAST_7_DAYS
GET /announcementStatistics?agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e&announcementType=SALES_ANNOUNCEMENT&aggregationPeriod=WEEK&timePeriod=2021-W10
announcementType required | string Enum: "SALES_ANNOUNCEMENT" "RENTAL_ANNOUNCEMENT" Example: announcementType=SALES_ANNOUNCEMENT Type of the announcement. Only a single value is allowed for now, used for forwards compatibility. |
announcementId | string Example: announcementId=1038356 The unique identifier of Etuovi.com announcement. |
agencyOfficeId | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e Agency office identifier |
aggregationPeriod required | string Enum: "DAY" "WEEK" "MONTH" "ROLLING_7_DAYS" Example: aggregationPeriod=WEEK The period the statistics have been aggregated over |
timePeriod | string Example: timePeriod=2021-W10 The time period to return statistics for. The allowed values depend on the value of the
parameter When When When When |
startTimePeriod | string Example: startTimePeriod=2021-W01 The (inclusive) start time period specifying the minimum time period to return statistics for.
The allowed values depend on the value of the parameter |
endTimePeriod | string Example: endTimePeriod=2021-W03 The (inclusive) end time period specifying the maximum time period to return statistics for.
The allowed values depend on the value of the parameter |
includeDeltas | boolean Default: false Example: includeDeltas=true Flag to indicate whether period-on-period deltas should be included in the returned statistics |
includeAnnouncementDetails | boolean Default: false Example: includeAnnouncementDetails=true Flag to indicate whether announcement details should be included in the returned statistics |
Request-ID required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 Unique identifier of the call as determined by the initiating party. This identifier is used for troubleshooting purposes. |
[- {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "agencyOfficeId": "ac9de83f-2101-4d1a-a2fa-2e472d646e6e",
- "announcementDetails": {
- "areaInSquareMeters": 50,
- "streetAddress": "Hämeentie 1 A 00530 Helsinki",
- "residentialTypeCode": "APARTMENT_HOUSE",
- "roomCountCode": "2H",
- "featuredImageUrl": "//d9zbdvy232i1i.cloudfront.net/{imageParameters}/eomqa1media/ovi/realty/images/66c25b49-b77c-43c0-bc8b-206cb08f7806/001cd0a905922e7d87bb62de57fddfb8/ORIGINAL.jpeg",
- "pricingDetails": {
- "price": 300000,
- "currencyCode": "EUR"
}
}, - "aggregationPeriod": "DAY",
- "timePeriod": "2021-04-01",
- "values": {
- "visitCount": 120,
- "uniqueVisitorCount": 14,
- "leadCount": 3,
- "phoneCallLeadCount": 1,
- "contactFormLeadCount": 2,
- "watchdogEmailCount": 3,
- "userFavoriteCount": 3
}
}, - {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "agencyOfficeId": "ac9de83f-2101-4d1a-a2fa-2e472d646e6e",
- "aggregationPeriod": "DAY",
- "timePeriod": "2021-04-02",
- "values": {
- "visitCount": 200,
- "uniqueVisitorCount": 144,
- "leadCount": 13,
- "phoneCallLeadCount": 1,
- "contactFormLeadCount": 1,
- "watchdogEmailCount": 0,
- "userFavoriteCount": 1
}
}
]
Fetch announcement actions matching the search criteria
GET /announcementActions?announcementId=1038356&announcementType=SALES_ANNOUNCEMENT
announcementType required | string Enum: "SALES_ANNOUNCEMENT" "RENTAL_ANNOUNCEMENT" Example: announcementType=SALES_ANNOUNCEMENT Type of the announcement. Only a single value is allowed for now, used for forwards compatibility. |
announcementId required | string Example: announcementId=1038356 The unique identifier of Etuovi.com announcement. |
[- {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "timestamp": "2021-04-01T12:00:00Z",
- "actionType": "PRICE_CHANGE",
- "actionParameters": {
- "oldPrice": 3000,
- "newPrice": 3100,
- "currencyCode": "EUR"
}
}, - {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "timestamp": "2021-04-01T12:00:00Z",
- "actionType": "PUBLISHED"
}, - {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "timestamp": "2021-04-01T12:00:00Z",
- "actionType": "PRESENTATION"
}, - {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "timestamp": "2021-04-01T12:00:00Z",
- "actionType": "UNPUBLISHED"
}, - {
- "announcementType": "SALES_ANNOUNCEMENT",
- "announcementId": "1038356",
- "timestamp": "2021-04-01T12:00:00Z",
- "actionType": "EXTRA_VISIBILITY",
- "actionParameters": {
- "extraVisibilityType": "SPOTLIGHT"
}
}
]
Fetch periodic agency office statistics matching the search criteria. Period-on-period deltas of the metrics can be requested optionally
Either the parameter timePeriod
or one or both of the parameters startTimePeriod
and endTimePeriod
may
be specified at the same time.
GET /agencyOfficeStatistics?agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e&announcementType=SALES_ANNOUNCEMENT&aggregationPeriod=ROLLING_7_DAYS&timePeriod=LAST_7_DAYS&includeDeltas=true
GET /agencyOfficeAnnouncementStatistics?agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e&announcementType=SALES_ANNOUNCEMENT&aggregationPeriod=WEEK&timePeriod=2021-W13&includeDeltas=true
GET /agencyOfficeAnnouncementStatistics?agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e&announcementType=SALES_ANNOUNCEMENTaggregationPeriod=DAY&startTimePeriod=2021-02-01&endTimePeriod=2021-02-14
announcementType required | string Enum: "SALES_ANNOUNCEMENT" "RENTAL_ANNOUNCEMENT" Example: announcementType=SALES_ANNOUNCEMENT Type of the announcement. Only a single value is allowed for now, used for forwards compatibility. |
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: agencyOfficeId=ac9de83f-2101-4d1a-a2fa-2e472d646e6e Agency office identifier |
aggregationPeriod required | string Enum: "DAY" "WEEK" "MONTH" "ROLLING_7_DAYS" Example: aggregationPeriod=WEEK The period the statistics have been aggregated over |
timePeriod | string Example: timePeriod=2021-W10 The time period to return statistics for. The allowed values depend on the value of the
parameter When When When When |
startTimePeriod | string Example: startTimePeriod=2021-W01 The (inclusive) start time period specifying the minimum time period to return statistics for.
The allowed values depend on the value of the parameter |
endTimePeriod | string Example: endTimePeriod=2021-W03 The (inclusive) end time period specifying the maximum time period to return statistics for.
The allowed values depend on the value of the parameter |
includeDeltas | boolean Default: false Example: includeDeltas=true Flag to indicate whether period-on-period deltas should be included in the returned statistics |
[- {
- "agencyOfficeId": "ac9de83f-2101-4d1a-a2fa-2e472d646e6e",
- "announcementType": "SALES_ANNOUNCEMENT",
- "aggregationPeriod": "DAY",
- "timePeriod": "2021-02-01",
- "values": {
- "newAnnouncementCount": 12,
- "endedAnnouncementCount": 5,
- "activeAnnouncementCount": 34,
- "announcementVisitCount": 120,
- "announcementWatchdogEmailCount": 14,
- "announcementLeadCount": 5,
- "announcementPhoneCallLeadCount": 3,
- "announcementContactFormLeadCount": 2
}
}, - {
- "agencyOfficeId": "ac9de83f-2101-4d1a-a2fa-2e472d646e6e",
- "announcementType": "SALES_ANNOUNCEMENT",
- "aggregationPeriod": "DAY",
- "timePeriod": "2021-02-04",
- "values": {
- "newAnnouncementCount": 12,
- "endedAnnouncementCount": 5,
- "activeAnnouncementCount": 34,
- "announcementVisitCount": 120,
- "announcementWatchdogEmailCount": 14,
- "announcementLeadCount": 5,
- "announcementPhoneCallLeadCount": 3,
- "announcementContactFormLeadCount": 2
}
}, - {
- "agencyOfficeId": "ac9de83f-2101-4d1a-a2fa-2e472d646e6e",
- "announcementType": "SALES_ANNOUNCEMENT",
- "aggregationPeriod": "DAY",
- "timePeriod": "2021-02-12",
- "values": {
- "newAnnouncementCount": 12,
- "endedAnnouncementCount": 5,
- "activeAnnouncementCount": 34,
- "announcementVisitCount": 120,
- "announcementWatchdogEmailCount": 14,
- "announcementLeadCount": 5,
- "announcementPhoneCallLeadCount": 3,
- "announcementContactFormLeadCount": 2
}
}
]