# 실시간 Google News SERP HTML

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/google/news/live/html`

**Tags:** DataForSEO

Google에서 키워드의 뉴스 결과를 동기식으로 반환합니다. 파싱된 결과가 아니라 원본 페이지 소스입니다. DataForSEO 응답 봉투로 감싸집니다. 데이터는 `tasks[0].result`, 처리 결과는 `tasks[0].status_code`에 있으며, 거부된 요청도 HTTP 200을 반환합니다.

### 가격 참고

- 과금 기준: 응답에 보고된 비용.
- 참고 요청 추정치: USD 0.02.
- 참고 고객 배수: 1.0. 정산된 고객 금액에 다시 적용하지 마세요.

참고용 메타데이터일 뿐이며, 계정 견적 또는 보장된 가격 또는 지출 한도가 아닙니다. 리소스 크레딧은 Felo 크레딧이 아닙니다. 최종 청구는 Felo 청구 기록을 따릅니다.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "<p><em>키워드</em><p><strong>필수 필드</strong><p><code>keyword</code> 필드에는 <strong>최대 700자</strong>까지 지정할 수 있습니다<p>모든 %##이 디코딩됩니다('+' 문자는 공백 문자로 디코딩됨)<p><code>keyword</code>에 \"%\" 문자를 사용해야 하는 경우 \"%25\"로 지정하세요;<p><code>keyword</code>에 “+” 문자를 사용해야 하는 경우 “%2B”로 지정하세요;<p>이 필드에 <em>'allinanchor:', 'allintext:', 'allintitle:', 'allinurl:', 'define:', 'filetype:', 'id:', 'inanchor:', 'info:', 'intext:', 'intitle:', 'inurl:', 'link:', 'related:', 'site:'</em> 같은 매개변수가 포함되면 <strong>작업당 요금이 5배가 됩니다</strong><p><strong>참고:</strong> ‘cache:’ 매개변수가 포함된 쿼리는 지원되지 않으며 유효성 검사 오류를 반환합니다</p><br><p>DataForSEO API의 <code>keyword</code> 및 <code>keywords</code> 필드 규칙과 제한은 이 <a href=\"https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis\" rel=\"noopener noreferrer\" target=\"_blank\">Help Center 문서</a>에서 확인하세요</p>"
          },
          "location_code": {
            "type": "integer",
            "description": "<p><em>검색 엔진 위치 코드</em><p><strong><code>location_name</code>&nbsp;또는 <code>location_coordinate</code>를 지정하지 않으면 필수 필드</strong><p><strong>이 필드를 사용하면 <code>location_name</code> 또는 <code>location_coordinate</code>를 지정할 필요가 없습니다</strong><p>사용 가능한 위치와 해당 <code>location_code</code> 목록은 <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/locations</code>에 별도 요청해 받을 수 있습니다<p>예:<p><code class=\"long-string\">2840</code></p>"
          },
          "language_code": {
            "type": "string",
            "description": "<p><em>검색 엔진 언어 코드</em><p><strong><code>language_name</code>을 지정하지 않으면 필수 필드</strong><p><strong>이 필드를 사용하면 <code>language_name</code>을 지정할 필요가 없습니다</strong><p>사용 가능한 검색 엔진 위치와 해당 <code>language_code</code>&nbsp;목록은 <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/languages</code><em><p></em>예:<em><p></em><code class=\"long-string\">en</code></p>"
          },
          "depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<p><em>파싱 깊이</em><p>선택 필드<p>SERP 결과 수<p>기본값: <code>10</code><p>최댓값: <code>200</code></p><br><strong>최대 10개 결과를 포함하는 각 SERP마다 계정에 요금이 청구됩니다;</strong><p>깊이를 10보다 크게 설정하면 검색 엔진이 10개를 초과하는 결과를 반환할 때 추가 요금이 발생할 수 있습니다;<p>지정한 깊이가 응답의 결과 수보다 크면 그 차액은 계정 잔액으로 자동 환불됩니다<p>비용은 <a title=\"Pricing\" href=\"https://dataforseo.com/pricing/serp/google-news-serp-api\" target=\"_blank\" rel=\"noopener noreferrer\">Pricing</a> 페이지에서 계산할 수 있습니다."
          },
          "location_name": {
            "type": "string",
            "description": "<p><em>검색 엔진 위치의 전체 이름</em><p><strong><code>location_code</code> 또는 <code>location_coordinate</code>를 지정하지 않으면 필수 필드</strong><p><strong>이 필드를 사용하면 <code>location_code</code> 또는 <code>location_coordinate</code>를 지정할 필요가 없습니다</strong><p>사용 가능한 검색 엔진 위치와 해당 <code>location_name</code> 목록은 <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/locations</code>로 별도 요청해 받을 수 있습니다<p>예:<p><code class=\"long-string\">London,England,United Kingdom</code></p>"
          },
          "language_name": {
            "type": "string",
            "description": "<p><em>검색 엔진 언어의 전체 이름</em><p><strong><code>language_code</code>를 지정하지 않으면 필수 필드</strong><p><strong>이 필드를 사용하면 <code>language_code</code>를 지정할 필요가 없습니다</strong><p>사용 가능한 검색 엔진 위치와 해당 <code>language_name</code> 목록은 <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/languages</code>로 별도 요청해 받을 수 있습니다<p>예:<p><code class=\"long-string\">English</code></p>"
          },
          "os": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>기기 운영 체제</em><p>선택 필드<p><strong>이 API는 데스크톱 결과만 제공합니다</strong><p>다음 값 중에서 선택하세요: <code>windows</code>, <code>macos</code><p>기본값: <code>windows</code></p>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>사용자 정의 작업 식별자</em><p>선택 필드<p><em>최대 255자</em><p>이 매개변수를 사용해 작업을 식별하고 결과와 매칭할 수 있습니다<p>지정한 <code>tag</code> 값은 응답의 <code>data</code> 객체에서 확인할 수 있습니다</p>"
          },
          "max_crawl_pages": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<p><em>페이지 크롤 한도</em><p>선택 필드<p>크롤할 검색 결과 페이지 수<p>최댓값: <code>100</code><p><strong>참고:</strong> <code>max_crawl_pages</code>와 <code>depth</code> 매개변수는 서로 보완적입니다;<p>자세한 내용은 <a href=\"https://dataforseo.com/help-center/what-is-max-crawl-pages-and-how-does-it-work\" rel=\"noopener noreferrer\" target=\"_blank\">도움말 센터</a>에서 확인하세요</p>"
          },
          "search_param": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>검색 쿼리의 추가 매개변수</em><p>선택 필드<p><a href=\"https://dataforseo.com/what-are-google-search-parameters-and-how-to-use-them-with-serp-api.html\">사용 가능한 매개변수 목록과 자세한 내용은 여기에서 확인하세요</a></p>"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>검색 쿼리의 직접 URL</em><p>선택 필드<p>직접 URL을 지정하면 필요한 필드로 정리해 드립니다. 다만 이 방식은 API가 처리하기 가장 어려우며 URL에 정확한 언어와 위치를 지정해야 합니다. 대부분의 경우 이 방식은 권장하지 않습니다.<p>예:<p><code class=\"long-string\">https://www.google.co.uk/search?q=%20rank%20tracker%20api&amp;hl=en&amp;gl=GB&amp;uule=w+CAIQIFISCXXeIa8LoNhHEZkq1d1aOpZS</code></p>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<p><em>위치의 GPS 좌표</em><p><strong><code>location_name</code>&nbsp;또는 <code>location_code</code>를 지정하지 않으면 필수 필드</strong><p><strong>이 필드를 사용하면 <code>location_name</code> 또는 <code>location_code</code>를 지정할 필요가 없습니다</strong><p><code>location_coordinate</code> 매개변수는 <em>\"latitude,longitude,radius\"</em> 형식으로 지정해야 합니다<p><em>\"latitude\"</em>와 <em>\"longitude\"</em>의 최대 소수점 자릿수: 7<p><em>\"radius\"</em>의 최솟값: 199.9 (mm)<p><em>\"radius\"</em>의 최댓값: 199999 (mm)<p>예:<p><code class=\"long-string\">53.476225,-2.243572,200</code></p>"
          },
          "se_domain": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>검색 엔진 도메인</em><p>선택 필드<p>지정한 위치와 언어에 따라 관련 검색 엔진 도메인을 자동으로 선택합니다<p>그러나 이 필드에서 사용자 지정 검색 엔진 도메인을 설정할 수 있습니다<p>예:<p><code><em>google.co.uk</em></code>, <code><em>google.com.au</em></code>, <code><em>google.de</em></code> 등.</p>"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "keyword": "albert einstein"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "keyword": "albert einstein"
    }
  ]
}
```

## Responses

### 200 — 작업 성공

Headers:
- `X-Request-Id` (string) — Felo 지원팀에 문의할 때 포함할 요청 식별자입니다.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleNewsLiveHtmlResponseInfo"
    }
  ]
}
```

### 400 — 요청을 처리할 수 없습니다. 요청 매개변수를 확인하세요.

### 401 — 유효한 Felo API 키가 필요합니다.

### 402 — 청구 요건이 충족되지 않아 요청을 진행할 수 없습니다.

### 403 — 이 계정에는 이 작업을 수행할 권한이 없습니다.

### 429 — 요청 또는 지출 한도에 도달했습니다.

### 502 — 서비스가 요청을 완료할 수 없습니다.

### 503 — API 또는 청구 서비스를 일시적으로 사용할 수 없습니다.

### 504 — 요청을 처리하는 동안 서비스 시간이 초과되었습니다.

### default — 오류 응답. 업스트림 패스스루 응답은 공급자 형식을 사용할 수 있습니다.

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API의 현재 버전"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "일반 상태 코드입니다.\n응답 코드 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "일반 정보 메시지입니다.\n일반 정보 메시지 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "총 실행 시간(초)"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "전체 작업 비용, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 배열의 작업 수",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "오류와 함께 반환된 tasks 배열의 작업 수",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "작업 식별자\n시스템 내 고유 작업 식별자(UUID 형식)"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "작업의 상태 코드\nDataForSEO가 생성하며 10000-60000 범위일 수 있습니다.\n응답 코드 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "작업의 정보 메시지\n일반 정보 메시지 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "실행 시간, 초"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "전체 작업 비용, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 배열의 요소 수",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL 경로"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST 요청에 지정한 것과 동일한 매개변수를 포함합니다"
    }
  }
}
```

### Response36Afe1097B20_HtmlItemInfo

`#/components/schemas/Response36Afe1097B20_HtmlItemInfo`

```json
{
  "type": "object",
  "properties": {
    "page": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<i>반환된 HTML 페이지의 일련번호</i>"
    },
    "date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>HTML 페이지가 스캔된 날짜와 시간</em><br>UTC 형식: “yyyy-mm-dd hh-mm-ss +00:00”<br>예:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "html": {
      "type": [
        "string",
        "null"
      ],
      "description": "<i>HTML</i> <i>페이지</i>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleNewsLiveHtmlResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleNewsLiveHtmlResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleNewsLiveHtmlTaskInfo"
              }
            ]
          },
          "description": "<em>작업 배열</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleNewsLiveHtmlResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleNewsLiveHtmlResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 배열에서 수신한 키워드<br></em><strong>키워드는 %##이 디코딩된 상태로 반환됩니다('+' 문자는 공백 문자로 디코딩됨)</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 배열의 검색 엔진 도메인</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST 배열의 위치 코드</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 배열의 언어 코드</em>"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>결과를 받은 날짜와 시간</em><br>UTC 형식: “yyyy-mm-dd hh-mm-ss +00:00”<br>예:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><strong><code>items</code></strong> 배열에서 반환된 결과 수</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_HtmlItemInfo"
          }
        ]
      },
      "description": "<em>SERP에서 발견된 검색 결과 요소</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleNewsLiveHtmlTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleNewsLiveHtmlTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleNewsLiveHtmlResultInfo"
              }
            ]
          },
          "description": "<em>결과 배열</em>"
        }
      }
    }
  ]
}
```
