오늘의 키워드 API

분야별 오늘의 키워드 랭킹을 제공합니다.

요청 URL

https://www.newstore.or.kr/api-newstore/v2/search/today-category-keyword.json

요청인자

  • apiKey[string]
    API 요청 시 검증을 위한 키값

출력값

  • date
    오늘 날짜 정보를 반환합니다.
  • cate_ratio
    오늘의 키워드 카테고리 정보를 JSON 객체의 배열로 반환합니다.
  • “query”
    키워드
  • “category_percent”
    카테고리 전체 퍼센테이지 정보를 반환합니다.
  • “category_name”
    카테고리명 정보를 반환합니다.
  • “category_code”
    카테고리 내부 고유코드값을 반환합니다.
  • “category_count”
    카테고리 개수를 반환합니다.
  • cate_keyword
    오늘의 키워드 카테고리 정보를 JSON 객체의 배열로 반환합니다.
  • “category_name”
    카테고리명 정보를 반환합니다.
  • “category_code”
    카테고리 내부 고유코드값을 반환합니다.
  • “named_entity”
    오늘의 키워드 명을 반환합니다.
  • “named_entity_count”
    오늘의 키워드 개수를 반환합니다.
  • “named_entity_type”
    오늘의 키워드 개체타입을 반환합니다.(PS : 인물, LC : 장소, OG:기관)
  • “entity_step”
    step1~step5을 반환합니다. 해당 정보를 이용해서 UI에서 글자크기로 표시하기 위한 목적.(step1 : 10개 미만, step2 : 20개 미만, step3 : 50개 미만, step4 : 100개 미만, step5 100개 이상)
응답
{
    "result": 0,
    "return_object": {
        "date": "20190423",
        "cate_ratio": [
           {
           "category_percent": 100,
           "category_name": "전체",
           "category_code": "000000000",
           "category_count": 733
         },
         {
           "category_percent": 8.9,
           "category_name": "정치",
           "category_code": "001000000",
           "category_count": 65
         },
         {
           "category_percent": 13.6,
           "category_name": "경제",
           "category_code": "002000000",
           "category_count": 100
         },
         {
           "category_percent": 13.4,
           "category_name": "사회",
           "category_code": "003000000",
           "category_count": 98
         },
         {
            "category_percent": 12.3,
            "category_name": "문화",
            "category_code": "004000000",
            "category_count": 90
          },
          {
            "category_percent": 11.1,
            "category_name": "국제",
            "category_code": "005000000",
            "category_count": 81
          }
         ],
         "cate_keyword": [
           {
             "category_name": "전체",
             "category_code": "000000000",
             "named_entity_count": 681,
             "named_entity": "바른미래당",
             "entity_step": "step4",
             "named_entity_type": "OG"
           },
           {
             "category_name": "전체",
             "category_code": "000000000",
             "named_entity_count": 582,
             "named_entity": "삼성전자",
             "entity_step": "step4",
             "named_entity_type": "OG"
           },
           {
             "category_name": "전체",
             "category_code": "000000000",
             "named_entity_count": 526,
             "named_entity": "한국당",
             "entity_step": "step4",
             "named_entity_type": "OG"
           }
         ]
     }
 }