# 실시간 Google Autocomplete 고급

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/google/autocomplete/live/advanced`

**Tags:** DataForSEO

Google에서 쿼리를 입력할 때 Google이 제공하는 제안을 동기식으로 반환합니다. `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count`, `items`를 반환합니다. `advanced`가 기본 선택입니다. 순위 목록만 필요하면 `regular`를, 파서가 누락한 항목을 확인하려면 `html`만 사용하세요. 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><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>을 지정하지 않으면 필수 필드</strong>;<p>사용 가능한 위치와 해당 <code>location_code</code> 목록은 <code>https://api.dataforseo.com/v3/serp/google/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/google/languages</code>에 별도 요청해 받을 수 있습니다<em><p></em>예:<em><p></em><code class=\"long-string\">en</code></p>"
          },
          "cursor_pointer": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<p><em>검색창 커서 위치</em><p>선택 필드<p>검색창의 키워드 내에서 커서의 가로 위치(숫자)입니다;<p>커서 위치를 변경하면 동일한 시드 키워드에 대해 서로 다른 자동완성 제안을 받습니다;<p>최솟값: <code>0</code><p>기본값: 지정한 <code>keyword</code>의 마지막 문자 번호<p>예:<p><code>|which query are s</code> - <code>\"cursor_pointer\": 0</code><p><code>which query is s|</code> - <code>\"cursor_pointer\": 16</code><p><code>which que|ry is s</code> - <code>\"cursor_pointer\": 9</code></p>"
          },
          "location_name": {
            "type": "string",
            "description": "<p><em>검색 엔진 위치의 전체 이름</em><p><strong><code>location_code</code>를 지정하지 않으면 필수 필드</strong><p><strong>이 필드를 사용하면 <code>location_code</code>를 지정할 필요가 없습니다</strong>;<p>사용 가능한 위치와 해당 <code>location_name</code> 목록은 <code>https://api.dataforseo.com/v3/serp/google/autocomplete/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/google/languages</code>에 별도 요청해 받을 수 있습니다<p>예:<p><code class=\"long-string\">English</code></p>"
          },
          "client": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>자동완성 검색 클라이언트</em><p>선택 필드<p>자동완성 결과는 검색 클라이언트에 따라 달라질 수 있습니다;<p>가능한 값:<p><code>chrome</code> — Google 검색을 Google Chrome에서 열 때 사용됩니다;<p><code>chrome-omni</code> — Chrome 주소 표시줄에서 사용됩니다;<p><code>gws-wiz</code> — Google 검색 홈 페이지에서 사용됩니다;<p><code>gws-wiz-serp</code> — Google 검색 결과 페이지에서 사용됩니다;<p><code>safari</code> — Google 검색을 Safari 브라우저에서 열 때 사용됩니다;<p><code>firefox</code> — Google 검색을 Firefox 브라우저에서 열 때 사용됩니다;<p><code>psy-ab</code> — Google 검색을 Google Chrome 브라우저에서 열 때 사용할 수 있습니다;<p><code>toolbar</code> — XML을 반환합니다;<p><code>youtube</code> — JSONP를 반환합니다;<p><code>gws-wiz-local</code> — Google 로컬에서 사용됩니다;<p><code>img</code> — Google 이미지 검색에서 사용됩니다;<p><code>products-cc</code> — Google 쇼핑 검색에서 사용됩니다</p>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>사용자 정의 작업 식별자</em><p>선택 필드<p><em>최대 255자</em><p>이 매개변수를 사용해 작업을 식별하고 결과와 매칭할 수 있습니다<p>지정한 <code>tag</code> 값은 응답의 <code>data</code> 객체에서 확인할 수 있습니다</p>"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "keyword": "albert einstein",
            "client": "gws-wiz-serp"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "keyword": "albert einstein",
      "client": "gws-wiz-serp"
    }
  ]
}
```

## Responses

### 200 — 작업 성공

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

**application/json**

Schema: object | null

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

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소의 제목"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "필터 매개변수가 포함된 검색 URL"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "SERP 내 도메인"
    }
  }
}
```

### Response36Afe1097B20_Autocomplete

`#/components/schemas/Response36Afe1097B20_Autocomplete`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>SERP 그룹 순위</em><br><code>type</code> 값이 동일한 요소 그룹 내의 위치<br><code>type</code> 값이 다른 요소의 위치는 <code>rank_group</code>에서 제외됩니다"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>SERP 절대 순위</em><br>SERP의 모든 요소 중 절대 위치"
    },
    "relevance": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>제안 키워드의 관련성</em><br>대상 키워드에 대한 자동 완성 제안의 관련성을 나타냅니다<br><code>500</code>에서 <code>2000</code> 사이의 값을 가질 수 있습니다<br>값이 높을수록 제안의 관련성이 높습니다<br><strong>참고:</strong> 다음 <code>client</code>에서만 사용할 수 있습니다:<br><code>chrome/chrome-omni</code>"
    },
    "suggestion": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>Google 자동 완성 키워드 제안</em>"
    },
    "suggestion_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>Google 자동 완성 제안 유형</em><br><strong>참고:</strong> 다음 <code>client</code>에서만 사용할 수 있습니다:<br><code>chrome/chrome-omni</code>"
    },
    "search_query_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>검색 결과 URL</em><br>Google 자동 완성 제안과 관련된 검색 결과 URL"
    },
    "thumbnail_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>썸네일 이미지 URL</em><br>Google 자동 완성 제안의 썸네일 이미지 URL<br><strong>참고:</strong> 다음 <code>client</code>에서만 사용할 수 있습니다:<br><code>gws-wiz</code><br><code>gws-wiz-serp</code>"
    },
    "highlighted": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>자동 완성에서 강조 표시되는 키워드</em><br>검색창에서 강조 표시되는 Google 자동 완성 제안 목록을 포함합니다;<br><strong>참고:</strong> 배열은 다음 <code>client</code>에서만 사용할 수 있습니다:<br><code>gws-wiz</code><br><code>psy-ab</code><br><code>gws-wiz-local</code>"
    }
  }
}
```

### 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_RefinementChipsElement

`#/components/schemas/Response36Afe1097B20_RefinementChipsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소의 제목"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "필터 매개변수가 포함된 검색 URL"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "SERP 내 도메인"
    },
    "options": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "추가 검색 세분화 옵션"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsInfo

`#/components/schemas/Response36Afe1097B20_RefinementChipsInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소의 XPath"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsElement"
          }
        ]
      },
      "description": "요소의 항목"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAutocompleteLiveAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAutocompleteLiveAdvancedResponseInfo`

```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_SerpGoogleAutocompleteLiveAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>작업 배열</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleAutocompleteLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAutocompleteLiveAdvancedResultInfo`

```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>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>검색 엔진 결과로의 직접 URL</em><br>이 URL로 우리가 정확한 결과를 제공했는지 확인할 수 있습니다"
    },
    "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>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>검색 엔진의 자동 교정</em><br>검색 엔진이 교정된 키워드에 대한 결과를 제공한 경우, 검색 엔진이 교정한 키워드와 자동 교정 유형을 명시합니다;<br>이 경우 <code>null</code>입니다"
    },
    "refinement_chips": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsInfo"
        }
      ],
      "description": "<em>검색 세분화 칩</em>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>SERP의 검색 결과 유형</em><br>SERP에서 발견된 검색 결과 유형(<code>items</code>)을 포함합니다.<br>가능한 항목 유형:<br><code>autocomplete</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> SERP의 총 결과 수</em>",
      "format": "int64"
    },
    "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_Autocomplete"
          }
        ]
      },
      "description": "<em>요소의 항목</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAutocompleteLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAutocompleteLiveAdvancedTaskInfo`

```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_SerpGoogleAutocompleteLiveAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>결과 배열</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "검색 엔진 자동 교정 결과로 얻은 키워드\n교정된 키워드에 대한 결과가 제공됩니다"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "자동 교정 유형\n가능한 값:\ndid_you_mean, showing_results_for, no_results_found_for, including_results_for\n참고: Yahoo와 Yandex는 다음 자동 교정 유형만 지원합니다.\nincluding_results_for"
    }
  }
}
```
