# QueryBankOfKoreaSeriesData

### Function specification

```
QueryBankOfKoreaSeriesData(entity_ids=None, stat_codes=None, item_codes=None,
                                date_from=None, date_to=None, last_only=False)
```

###

### Parameters

한국은행 경제지표의 entity\_id 는 "\<stat\_code>.\<item\_code>" 의 형식으로 되어있습니다. 따라서 전체 entity\_id 를 명시하거나, 또는 stat\_code / item\_code 만을 명시해도 해당 조건에 만족하는 전체 경제지표의 상세 정보를 출력하도록 만들었습니다.

| Parameter   | Type                                  | Description                                                                   |
| ----------- | ------------------------------------- | ----------------------------------------------------------------------------- |
| entity\_ids | <p>string or</p><p>list of string</p> | (예) "BOK:060Y001.010101000" 또는 "060Y001.010101000"                            |
| stat\_codes | <p>string or</p><p>list of string</p> | (예) "060Y001"                                                                 |
| item\_codes | <p>string or</p><p>list of string</p> | (예) \["010101000", "010150000"]                                               |
| date\_from  | date                                  | <p>데이터 조회 기간의 시작 날짜를 지정합니다.</p><p>데이터 조회 기간이 주어지지 않을 경우 전체 기간을 대상으로 합니다.</p>  |
| date\_to    | date                                  | <p>데이터 조회 기간의 마지막 날짜를 지정합니다.</p><p>데이터 조회 기간이 주어지지 않을 경우 전체 기간을 대상으로 합니다.</p> |
| last\_only  | boolean                               | last\_only = True 로 주어질 경우 가장 최근 값만을 리턴합니다.                                   |

### Examples

```
> QueryBankOfKoreaSeriesData("060Y001.010101000")

...

                                  QueryBankOfKoreaSeriesData(060Y001.010101000)
entity_id             date
BOK:060Y001.010101000 1995-01-03                    0.1306
                      1995-01-04                    0.1163
                      1995-01-05                    0.1061
                      1995-01-06                    0.0928
                      1995-01-07                    0.1078
...                                                    ...
                      2020-08-27                    0.0050
                      2020-08-28                    0.0049
                      2020-08-31                    0.0055
                      2020-09-01                    0.0052
                      2020-09-02                    0.0049
```

```
> QueryBankOfKoreaSeriesData(stat_codes=["060Y001"], last_only=True)

...

                                  QueryBankOfKoreaSeriesData(stat_codes=[060Y001], last_only=True)
entity_id             date
BOK:060Y001.010101000 2020-09-02                    0.0049
BOK:060Y001.010102000 2020-09-02                    0.0049
BOK:060Y001.010150000 2020-09-02                    0.0062
BOK:060Y001.010151000 2020-09-02                    0.0072
BOK:060Y001.010152000 2020-09-02                    0.0088
BOK:060Y001.010190000 2020-09-02                    0.0072
BOK:060Y001.010200000 2020-09-03                    0.0092
BOK:060Y001.010200001 2020-09-03                    0.0122
BOK:060Y001.010210000 2020-09-02                    0.0154
BOK:060Y001.010220000 2020-09-02                    0.0170
BOK:060Y001.010230000 2020-09-02                    0.0169
BOK:060Y001.010260000 2020-09-02                    0.0083
BOK:060Y001.010300000 2020-09-03                    0.0226
BOK:060Y001.010310000 2020-09-02                    0.0151
BOK:060Y001.010320000 2020-09-02                    0.0861
BOK:060Y001.010400000 2020-09-03                    0.0070
BOK:060Y001.010400001 2020-09-02                    0.0065
BOK:060Y001.010400002 2020-09-02                    0.0084
BOK:060Y001.010501000 2020-09-02                    0.0068
BOK:060Y001.010502000 2020-09-03                    0.0063
BOK:060Y001.010503000 2020-09-03                    0.0130
BOK:060Y001.010503500 2020-09-02                    0.0136
BOK:060Y001.010504000 2020-09-02                    0.0024
```


---

# 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/economy/bok/querybankofkoreaseriesdata.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.
