> For the complete documentation index, see [llms.txt](https://help.deepsearch.com/dp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.deepsearch.com/dp/api/func/undefined/undefined-1/undefined.md).

# 주가 정보 조회

기업에 대한 개요를 조회합니다.&#x20;

<mark style="color:yellow;">`GET`</mark> `https://api.deepsearch.com/v2/companies/{{symbol}}/stock`

#### Request Path Parameter

<table><thead><tr><th width="137">Name</th><th width="89">Type</th><th width="200">Description</th><th>Example</th></tr></thead><tbody><tr><td>symbol<mark style="color:red;">*</mark></td><td>String</td><td>기업의 <code>거래소:ticker</code></td><td><mark style="color:orange;"><code>NASDAQ:AAPL</code></mark> 또는 <mark style="color:orange;"><code>APPL</code></mark></td></tr></tbody></table>

#### Request Query Parameter

* `date_from` 과 `date_to`가 주어지는 경우 `period` 필드보다 우선함

<table><thead><tr><th width="137">Name</th><th width="234">Type</th><th width="200">Description</th><th>Example</th></tr></thead><tbody><tr><td>date_from</td><td>String (YYYY-MM-DD)</td><td>가져올 기간의 시작 일</td><td><mark style="color:orange;"><code>2021-01-01</code></mark></td></tr><tr><td>date_to</td><td>String (YYYY-MM-DD)</td><td>가져올 기간의 종료 일 </td><td><mark style="color:orange;"><code>2021-01-01</code></mark></td></tr><tr><td>period</td><td><p>Enum</p><pre class="language-json"><code class="lang-json">{
    "1 개월 전": "1m",
    "3 개월 전": "3m",
    "올해": "ty",
    "1 년 전": "1y",
    "5 년 전": "5y"
}
</code></pre></td><td>주식 정보를 가져올 기간(오늘로부터 과거까지 떨어진 기간)</td><td><mark style="color:orange;"><code>1m</code></mark>(default)</td></tr></tbody></table>

#### Response Example

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "detail": {
        "message": "success",
        "code": "SUCCESS",
        "ok": true
    },
    "data": [
        {
            "date": {{날짜* (string, YYYY-MM-DD)}},
            "symbol": {{기업 ticker* (string)}},
            "open": {{시작가* (float)}},
            "high": {{최고가* (float)}},
            "low": {{최저가* (float)}},
            "close": {{종가* (float)}},
            "volume": {{거래량* (float)}},
            "change": {{지난 일 대비 변동 가격 (float)}},
            "change_percent": {{변동률 (float)}}
        },
        ...(and more)
    ]
}
```

{% endtab %}

{% tab title="400: Bad Request " %}

```json
{
    "detail": {
        "message": "Must be in NASDAQ:AAPL or APPL format",
        "code": "BAD_REQUEST",
        "ok": false
    },
    "ok": false
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/undefined/undefined-1/undefined.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.
