# API 사용 방법

### **DeepSearch API**&#x20;

금융데이터에 대한 검색, 연산, 분석 기능을 모두 포함하고 있는 API 로, compute API 를 통하여 사용자가 다양한 형태의 검색 쿼리를 입력할 수 있으며, 그 쿼리에 따른 결과를 리턴합니다.

### API 호출 주소

<https://app-api.deepsearch.com>

( GET 방식과 POST 방식을 모두 지원하며, 파라미터가 많은 경우 POST 로 호출 )

### 사용방법

HTTPS 요청 시 HTTP 헤더에 다음 인증 키 추가\
Authorization: Basic {인증키}

### curl 예제

curl -H 'Authorization: Basic {인증키}' -XGET '<https://app-api.deepsearch.com/v1/compute?input={쿼리}>'

```
쿼리 예시
https://app-api.deepsearch.com/v1/compute?input=삼성전자 매출액

API 예시
https://app-api.deepsearch.com/v1/compute?input=DocumentSearch(["news"],["economy"],"딥서치")

```

**API Overview**

{% file src="/files/-MX1\_\_hzswVwYAIadj33" %}

###


---

# 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/howto.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.
