# Daily E-reputation Rating

This API is a robust tool designed to retrieve the daily ratings of a hotel from various e-reputation platforms.&#x20;

This API aggregates critical rating information for each requested day, providing detailed insights into guest feedback and overall hotel performance across different review sites.&#x20;

By making use of this data, hotels can gain a comprehensive view of their online reputation, analyze trends over time, understand guest satisfaction levels, and strategize on ways to enhance their service quality and online presence.

### Request&#x20;

<mark style="color:orange;">**POST**</mark> &#x20;

{% code overflow="wrap" %}

```
https://interface.experience-hotel.com/api/xp-ereputation-ratings
```

{% endcode %}

Params must be sent as form-data

| Param       | Format     | Required |
| ----------- | ---------- | -------- |
| date\_start | YYYY-MM-DD | Required |
| date\_end   | YYYY-MM-DD | Required |

### Response

Status Code 200 OK

{% code title="JSON" overflow="wrap" %}

```json
[
    {
        "business_id": 1234,
        "business_name": "Hotel Test",
        "date": "2024-02-29",
        "source": "google",
        "rating": 4.6,
        "rating_max": 5,
        "rating_normalized": 92,
        "rating_count": 498,
        "bubble_rating": null,
        "position": null,
        "position_out_of": null
    },
    {
        "business_id": 1234,
        "business_name": "Hotel Test",
        "date": "2024-02-29",
        "source": "travelocity",
        "rating": 4.6,
        "rating_max": 5,
        "rating_normalized": 92,
        "rating_count": null,
        "bubble_rating": null,
        "position": null,
        "position_out_of": null
    }
]
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://experience-crm.gitbook.io/experience-crm-api/reporting/daily-e-reputation-rating.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
