DeepSearch Guide
  • 딥서치 가이드
  • DeepSearch API
    • DeepSearch Data Platform
    • API 사용 방법
    • 데이터
      • 시장데이터
      • 개요데이터
      • 문서데이터
      • 재무데이터
        • 분기재무제표 쿼리
    • 기본적인 데이터 조회 방법
    • 쿼리를 통한 데이터 조회
      • 딥서치 쿼리 설명 및 응용
      • 기업검색
        • 데이터 기반 기업 검색
        • 문서 기반 기업 검색(뉴스, 증권사리포트, IR, 특허)
        • 주주 기반 기업 검색
        • 산업 기반 기업 검색
        • 사업 기반 기업 검색
        • 주소 기반 기업 검색
        • 기업명 기반 기업 검색
        • 외부감사여부 기반 기업 검색
        • 폐업여부 기반 기업 검색
        • 상장여부 기반 기업 검색
      • 조회된 데이터를 연산
      • FAQ 및 에러모음
    • API 함수를 통한 데이터 조회
      • 국내기업
        • 기업 검색
          • FindEntity
          • GetEntitySummary
          • FindEntityByName
          • FindEntityByShareholderName
          • FindEntityByIndustryID
          • FindEntityByBusinessArea
          • FindEntityByAddress
          • FindEntityInDocuments
          • FindAssociatedEntity
          • SearchFinancialStatementsAuditOpinion
        • 기업 정보 조회
          • GetCompanySummary
          • GetCompanyHistory
          • GetCompanyBusinessGoal
          • GetCompanyBusinessSummary
          • GetCompanyRelatedFirms
          • GetCompanyProductsSales
          • GetCompanyDebts
          • GetCompanyDividends
          • GetCompanyShareholders
          • GetCompanyEmployees
          • GetCompanyExecutives
          • GetCompanyBranches
          • GetFinancialStatementsAuditOpinion
        • 재무제표 조회
          • GetFinancialStatements
          • GetAvailableFinancialStatements
        • 공시 정보 조회
          • GetDartCapitalChange
          • GetDartDividends
          • GetDartShareRepurchase
          • GetDartMajorityShareholders
          • GetDartMajorityShareholderChange
          • GetDartMinorityShareholders
          • GetDartExecutives
          • GetDartEmployees
          • GetDartIndividualDirectorCompensation
          • GetDartOverallDirectorCompensation
          • GetDartTopIndividualCompensation
          • GetDartInvestmentInOthers
        • 컨센서스 정보 조회
          • GetConsensusInstitutionList
          • GetConsensusAnalystList
          • SearchAnalystReports
          • SearchTargetPrices
          • SearchFirmFundamentalsForecasts
        • 이슈 기업 목록 조회
          • GetCompanyShareholderChanges
          • GetTargetPriceConsensusChange
          • GetFundamentalsConsensusChange
        • 주가 정보 조회
          • GetStockSymbols
          • GetStockPrices
          • GetMarketIndexSymbols
          • GetMarketIndexes
        • 채권 정보 조회
          • GetBondClassificationCodeList
          • GetBondIssuerList
          • GetBondIssuerListFromIndustry
          • GetBondIssuerSummaryInfo
          • GetBondClassSummaryInfo
          • GetBondSummaryInfoPerIndustry
          • GetLatestBondIssues
          • SearchBondIssuerByName
          • GetBondIssuanceHistory
          • GetBondRepaymentSchedule
          • GetBondYields
          • GetBondYieldsForIndustry
          • GetAverageBondYieldTimeSeries
          • GetInterpolatedBondYields
          • GetRiskFreeYields
          • GetBondYieldPrincipalComponents
          • ConvertBondIssuerCodeToNICESymbol
          • ConvertNICESymbolToBondIssuerCode
      • 해외기업
        • 기업 정보 조회
          • 기업 목록 조회
          • 기업 개요 조회
          • 기업 재무 데이터 조회
        • 주가 정보 조회
          • 주가 정보 조회
      • 산업
        • 산업 정보 조회
          • GetAggregateIndustryInfo
          • GetAggregateIndustryConsensus
          • GetMarketSummaryInfoByIndustry
        • 기업 주제 조회
          • GetConditionalTagMetadata
          • FindEntityByTag
          • GetEntityTags
        • 기업 집단 정보 조회
          • FindConglomerateByName
          • FindConglomerateByID
          • GetConglomerateMembers
          • GetConglomerateFinancialStatements
      • 인물
        • 기업 임원 검색
          • FindPersonBio
          • FindPeopleByName
          • FindPeopleByBirthday
        • 주식 부자 목록 추출
          • FindRichestShareholders
      • 문서
        • 문서 검색
          • DocumentSearch
            • 문서 심화검색
          • DocumentTrends
          • DocumentAggregation
          • GetSentimentScore
        • 토픽 검색
          • SearchTrendingTopics
          • GetTrendingTopic
          • SearchHistoricalTopics
          • GetHistoricalTopic
        • 유사 단어 추출
          • SimilarKeywords
      • 이벤트
        • 주식 포트폴리오 성과 분석
          • ComputePortfolioReturns
          • AnalyzePortfolioReturns
        • 주식 시장 이벤트 분석
          • ComputeEventDayStockReturns
          • ComputeStockReturnCorrelationWith
          • GetIndustryReturnsOnEventDates
          • GetCumulativeIndustryReturns
        • 채권 시장 이벤트 분석
          • GetBondYieldChangesPerIssuer
          • GetBondYieldChangesPerClassification
          • GetBondYieldChangesPerIndustry
      • 경제 지표
        • 경제 지표 검색
          • FindEntity
        • 한국은행 데이터 조회
          • QueryBankOfKoreaSeriesInfo
          • QueryBankOfKoreaSeriesInfoSimple
          • QueryBankOfKoreaSeriesData
          • QueryBankOfKoreaSeriesDataSimple
        • 미연방은행 (FRED) 데이터 조회
          • QueryFredSeriesInfo
          • QueryFredSeriesData
          • GetFredCategoryOfDataSeries
          • GetFredDataSeriesListUnderCategory
        • IMF 데이터 조회
          • GetImfSeriesInfo
          • GetImfSeriesValues
          • GetImfDataflowAnnotations
          • GetImfIndicatorListOfSameCountry
          • GetImfCountryListOfSameIndicator
        • OECD 데이터 조회
          • GetOecdSeriesInfo
          • GetOecdSeriesValues
          • GetOecdDatasetAnnotations
          • GetOecdRelatedIndicatorList
        • World Bank 데이터 조회
          • QueryWorldBankSeriesInfo
          • QueryWorldBankSeriesData
          • GetWorldBankCountryListOfIndicator
          • GetWorldBankIndicatorListOfSameSource
        • 통계청 데이터 조회
          • QueryKosisTableInfo
          • GetKosisAvailableSampleDates
          • GetKosisTableCategoryItemFreqList
          • QueryKosisCrossSectionData
          • QueryKosisTimeSeriesData
        • 딥서치 자체 수집 데이터 조회
          • QueryDeepSearchOwnSeriesInfo
          • QueryDeepSearchOwnSeriesValues
          • QueryDeepSearchOwnDataSeriesListOfSameCategory
    • 결과 레이아웃
      • Input
      • Result:DataFrame
      • Result:SingleValue
      • Result:DocumentSearchResult
      • Result:DocumentTrendsResult
      • Result:TrendingTopicsSearchResult
      • Result:TrendingTopicResult
      • Result:HistoricalTopicsSearchResult(검색)
      • Result:HistoricalTopicsSearchResult(상세)
      • Result:PortfolioReturns
      • Result:PortfolioAnalysis
    • 챗딥서치
      • 문서 QA
      • 딥서치 Function Call
    • 토픽 인사이트
      • Insight
      • Question
      • Answer
  • HELP CENTER
    • 자주 묻는 질문
      • 가입 및 회원 정보
      • 플랜 및 결제/환불
      • 데이터
      • 기업 발굴하기
    • 공지 사항
      • '딥서치 마이노트' 런칭 안내
      • '딥서치 신규 엑셀 애드인' 런칭 안내
      • '경제지표' 메뉴 일시 중단
      • '밸류에이션 자동화 서비스' 업데이트
      • 딥서치 홈 화면 개편 안내
Powered by GitBook
On this page
  • Function specification
  • Parameters
  • Result Layout
  • Examples

Was this helpful?

  1. DeepSearch API
  2. API 함수를 통한 데이터 조회
  3. 문서
  4. 토픽 검색

SearchHistoricalTopics

과거의 주요 주제를 조회합니다.

Function specification

SearchHistoricalTopics(
                category, section, query,
                count=10, page=None, sort=None,
                date_from=None, date_to=None,
                fields=None
)

Parameters

Parameter

Type

Description

category

string or list of string

국내뉴스: news

section

string or list of string

정치: politics

경제: economy

사회: society

문화: culture

세계: world

기술/IT: tech

연예: entertainment

사설: opinion

query

string

검색 쿼리

count

integer

한 페이지에 표시할 문서의 최대 개수

page

integer

페이지 번호

sort

string

  • 검색시 정렬의 기준이 되는 필드

  • 필드명 앞에 "-" 를 붙이면 내림차순으로 정렬됨

  • 여러 필드를 지정 할 수 있으며, 나열된 순서대로 정렬

date_from

string

검색 시작 시점 (YYYYMMDD)

date_to

string

검색 종료 시점(YYYYMMDD)

fields

list of string

결과값으로 어떤 항목을 노출한 것인지 지정한다.

Result Layout

Examples

핀테크 과거 토픽 검색
> SearchHistoricalTopics(["news"],["economy"],"핀테크",date_from="20200101", date_to="20201231")
{
...
        "total_matches": 1474,
        "max_score": null,
        "scroll_id": "2",
        "current_page": 1,
        "last_page": 100,
        "topics": [
            {
                "meta": {
                    "score": null,
                    "version": 3
                },
                "uid": 942667530709897216,
                "uid_str": "942667530709897216",
                "revision": 1,
                "date": "2020-08-05",
                "category": "news",
                "section": "economy",
                "rank": 5,
                "score": 0.63194,
                "topic": "파죽지세 카카오뱅크 상반기 순익 372%↑",
                "tags": [],
                "keywords": [
                    {
                        "keyword": "카카카오뱅크",
                        "freq": 30
                    },
                    {
                        "keyword": "268억원",
                        "freq": 12
                    },
                    {
                        "keyword": "아파트담보대출",
                        "freq": 8
                    },
                    {
                        "keyword": "순이익453억",
                        "freq": 8
                    },
...
                    {
                        "keyword": "IPO본격화",
                        "freq": 1
                    }
                ],
                "securities": [
                    {
                        "type": "company",
                        "exchange": "KRX",
                        "market": "KOSPI",
                        "symbol": "005940",
                        "name": "NH투자증권",
                        "company_rid": "110111-0098130",
                        "business_rid": "116-81-03693",
                        "freq": 19
                    },
                    {
                        "type": "company",
                        "exchange": "KRX",
                        "market": "KOSPI",
                        "symbol": "030200",
                        "name": "KT",
                        "company_rid": "110111-1468754",
                        "business_rid": "102-81-42945",
                        "freq": 4
                    },
                    {
                        "type": "company",
                        "exchange": "KRX",
                        "market": "KOSDAQ",
                        "symbol": "035720",
                        "name": "카카오",
                        "company_rid": null,
                        "business_rid": null,
                        "freq": 1
                    },
                    {
                        "type": "company",
                        "exchange": "KRX",
                        "market": "KOSPI",
                        "symbol": "039490",
                        "name": "키움증권",
                        "company_rid": "110111-1867948",
                        "business_rid": "107-81-76756",
                        "freq": 1
                    }
                ],
                "entities": [
                    {
                        "type": "company",
                        "name": "KT",
                        "freq": 10
                    },
                    {
                        "type": "company",
                        "name": "NAVER",
                        "freq": 1
                    },
                    {
                        "type": "company",
                        "name": "NH투자증권",
                        "freq": 21
                    },
                    {
                        "type": "company",
                        "name": "세틀뱅크",
                        "freq": 4
                    },
                    {
                        "type": "company",
                        "name": "카카오",
                        "freq": 2
                    },
                    {
                        "type": "company",
                        "name": "키움증권",
                        "freq": 1
                    }
                ],
                "attributes": {
                    "query_name": "핀테크",
                    "query_string": "\"핀테크\""
                }
            },
PreviousGetTrendingTopicNextGetHistoricalTopic

Last updated 2 years ago

Was this helpful?

Result:HistoricalTopicsSearchResult(검색)