> 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/howto.md).

# 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" %}

###
