# GetSentimentScore

### Parameters

| Parameter  | Type   | Description                                                                                                                                                         |
| ---------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| query      | string | 검색 쿼리                                                                                                                                                               |
| interval   | string | <p></p><ul><li><p>트렌드 계산 단위</p><ul><li>1y: 1년 단위</li><li>1M: 1개월 단위</li><li>1w: 1주일 단위</li><li>1d: 1일 단위</li><li>1h : 1시간 단위</li><li>1m : 1분 단위</li></ul></li></ul> |
| date\_from | string | 검색 시작 시점 (YYYYMMDD)                                                                                                                                                 |
| date\_to   | string | 검색 종료 시점(YYYYMMDD)                                                                                                                                                  |

### Result Layout

{% content-ref url="/pages/-MX0w\_s-dnB6cJcyOJ9c" %}
[Result:DocumentTrendsResult](/dp/api/result_layout/result-documenttrendsresult.md)
{% endcontent-ref %}

### Examples

```
삼성전자의 2021년 1월 1일 ~ 현재까지의 1일 기준 긍부정점수조회
> GetSentimentScore("삼성전자", interval="1d", date_from=2021-01-01)


```


---

# 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://help.deepsearch.com/dp/api/func/document/document-search/getsentimentscore.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.
