SearchHistoricalTopics

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

Function specification

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

Parameters

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": "\"핀테크\""
                }
            },

Last updated