Audience
Listing and companies stats service
This service exposes statistics for listings and companies and it is accessible by specific listing or company id.
Here’s the list of all available metrics:
| Metric | Metric parameter value |
|---|---|
| Listing impressions via search results | IMPRESSION_SERP |
| Listing impressions via newsletter | IMPRESSION_MAIL_ALERT |
| Listing views (server) | DETAIL_VIEW |
| Listing views (client) | DETAIL_VIEW_CLIENT |
| Click on phone number | PHONE_CLICK |
| Bookmark | BOOKMARK |
| Hidden listing | BLACKLIST |
| Leads count for listing | LEAD |
| Visit requests sent to listing publisher | VISIT_REQUEST |
| Mobile pin selections for a listing | MAP_PIN_SELECTED |
| Mobile map carousel views for a listing | CAROUSEL_LISTING_CHANGED |
| Listing position in search page | POSITION |
| Price proposal lead count for listing | PRICE_PROPOSAL |
| Shared listing event count | SHARE |
| Listing quality score | QUALITY_SCORE |
Can be used on product nekretnine.hr at the URL https://audience.nekretnine.hr.
Authentication
The following HTTP Header must be provided in the request:
Accept: application/json
X-IMMO-SOURCE: {partner identifier} (optional)
HTTP Basic Auth is requested for accessing the API, using the credentials provided.
Endpoints
Listings
GET /stats/ad/listing
Metrics by specific listing
Parameters:
| Name | Mandatory | Description |
|---|---|---|
listingId | Yes, when externalId is missing | Listing id on Indomio |
externalId | Yes, when listingId is missing | Listing id on partner platform |
start | Yes | Start date (YYYY-MM-DD) |
end | No | End date (YYYY-MM-DD), if missing the start date will be used. The range between start and date cannot exceed one year. |
metrics | No | A comma-separated, case-insensitive list of metrics to return in the response. If omitted, all available metrics will be returned. |
excludedReferrers | No | A comma-separated, case-insensitive list of referrers to exclude from the response. |
details | No, default false | If true a detail section will be added in the response, giving extra per-day info. |
Response
HTTPS status codes
| Code | Description |
|---|---|
| 200 | Success |
| 500 | Server Error |
| 404 | Not existing/supported listing |
| 403 | Authorization error |
| 400 | Invalid request |
JSON response
Here’s an example with a success json response
{
"listingId": 90872134,
"externalId": "abc123",
"environment": "immobiliare.it",
"start": "2021-06-01",
"end": "2021-06-02",
"metrics": [
{
"name": "DETAIL_VIEW",
"sum": 10,
"details": [
{
"value": 5,
"date": "2021-06-01"
},
{
"value": 0,
"date": "2021-06-02"
}
]
},
{
"name": "POSITION",
"details": [
{
"date": "2021-06-01",
"position": 333,
"total": 1258
},
{
"date": "2021-06-02",
"position": 333,
"total": 1254
}
]
},
{
"name": "SHARE",
"sum": 6,
"details": [
{
"value": 3,
"date": "2021-06-01"
},
{
"value": 3,
"date": "2021-06-02"
}
]
}
]
}
Here’s an example with an error json response:
{
"status": 400,
"message": "Bad Request",
"errors": [
{
"code": "1008",
"description": "'start' must not be null"
}
]
}
Companies
GET /stats/ad/company
Metrics by specific company
Parameters
| Name | Mandatory | Description |
|---|---|---|
companyId | Yes, when externalId is missing | Company id on Indomio |
externalId | Yes, when companyId is missing | Company id on partner platform |
start | Yes | Start date (YYYY-MM-DD) |
end | No | End date (YYYY-MM-DD), if missing the start date will be used. Range between start and date cannot exceed one year |
metrics | No | A comma-separated, case-insensitive list of metrics to return in the response. If omitted, all available metrics will be returned. |
excludedReferrers | No | A comma-separated, case-insensitive list of referrers to exclude from the response. |
details | No, default false | If true a detail section will be added in the response, giving extra per-day info. |
Response
HTTPS status codes
| Code | Description |
|---|---|
| 200 | Success |
| 500 | Server Error |
| 404 | Not existing company |
| 403 | Authorization error |
| 400 | Invalid request |
JSON response
Here’s an example with a success json response
{
"companyId": 90872134,
"externalId": "abc123",
"environment": "immobiliare.it",
"start": "2021-06-01",
"end": "2021-06-02",
"listings": [
{
"listingId": 1,
"metrics": [
{
"sum": 20,
"name": "DETAIL_VIEW",
"details": [
{
"value": 10,
"date": "2021-06-01"
},
{
"value": 10,
"date": "2021-06-02"
}
]
}
]
}
]
}
Here’s an example with an error json response:
{
"status": 400,
"message": "Bad Request",
"errors": [
{
"code": "1008",
"description": "'start' must not be null"
}
]
}
Listings (write)
POST /collector/ad/stats
Imports metrics for a specific listing
Request Json Fields:
| Name | Mandatory | Description |
|---|---|---|
date | Yes | Zoned date-time formatted in ISO 8601 |
listingUuid | Yes | Listing uuid on Indomio |
metricKey | Yes | Metric key |
metricValue | Yes | Metric value. Must be greater than 0 |
Here’s an example:
{
"date": "2025-06-10T09:00:00Z",
"listingUuid": "listing-uuid",
"metricKey": "BLACKLIST",
"metricValue": 3
}
Response
HTTPS status codes
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Invalid request |
| 401 | Authentication error |
| 403 | Authorization error |
| 500 | Server Error |
JSON response
In case of a status code other than 200, the response includes a JSON body describing the error. Here's an example:
{
"code": "1004",
"message": "Permission error"
}
2026 Indomio.com