# 실시간 ‘DataForSEO Trends Subregion Interests’ 작업 설정

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/keywords_data/dataforseo_trends/subregion_interests/live`

**Tags:** DataForSEO

키워드에 대한 관심이 어디에 집중되는지 `location_code` 내 하위 지역별로 분석합니다. DataForSEO 응답 봉투로 감싸집니다. 데이터는 `tasks[0].result`, 처리 결과는 `tasks[0].status_code`에 있으며, 거부된 요청도 HTTP 200을 반환합니다. 어디가 아니라 누구인지 보려면 `post_dataforseo_keywords_trends_demography_live`를 사용하세요.

### 가격 참고

- 과금 기준: 보고된 응답 비용.
- 참고 요청 추정치: USD 0.0024.
- 참고 고객 배수: 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": {
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "<em>키워드</em><br><strong>필수 필드</strong><br>지정할 수 있는 최대 키워드 수: 5개<br>기호와 특수 문자(예: UTF 기호, 이모지)는 사용하지 마세요;<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>에서 확인하세요"
          },
          "location_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>검색 엔진 위치의 전체 이름</em><br>선택 필드<br>이 필드를 사용하지 않으면 전 세계 결과를 받게 됩니다<br><strong>이 필드를 사용하면 <code>location_code</code>를 지정할 필요가 없습니다</strong><br>사용 가능한 검색 엔진 위치와 해당 <code>location_name</code> 목록은 <code>https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations</code>로 별도 요청해 받을 수 있습니다<br><strong>데이터는 지정한 <code>location_name</code>이 속한 국가에 대해 제공됩니다;</strong><br>예:<br><code class=\"long-string\">United Kingdom</code>"
          },
          "location_code": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>검색 엔진 위치 코드</em><br>선택 필드<br>이 필드를 사용하지 않으면 전 세계 결과를 받게 됩니다<br><strong>이 필드를 사용하면 <code>location_name</code>을 지정할 필요가 없습니다</strong><br>사용 가능한 검색 엔진 위치와 해당 <code>location_code</code> 목록은 <code>https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations</code>로 별도 요청해 받을 수 있습니다<br><strong>데이터는 지정한 <code>location_code</code>가 속한 국가에 대해 제공됩니다;</strong><br>예:<br><code class=\"long-string\">2840</code>"
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "요소 유형"
          },
          "date_from": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>시간 범위의 시작 날짜</em><br>선택 필드<br>이 필드를 지정하지 않으면 전년도의 현재 일자와 월이 기본으로 사용됩니다<br><code>web</code> 유형의 최솟값: <code>2004-01-01</code><br>기타 유형의 최솟값: <code>2008-01-01</code><br>날짜 형식: <code>\"yyyy-mm-dd\"</code><br>예:<br><code>\"2019-01-15\"</code>"
          },
          "date_to": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>시간 범위의 종료 날짜</em><br>선택 필드<br>이 필드를 지정하지 않으면 오늘 날짜가 기본으로 사용됩니다<br>날짜 형식: <code>\"yyyy-mm-dd\"</code><br>예:<br><code>\"2019-01-15\"</code>"
          },
          "time_range": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>사전 설정된 기간</em><br>선택 필드<br><code>date_from</code> 또는 <code>date_to</code> 매개변수를 지정하면 작업을 설정할 때 이 필드는 무시됩니다<br><em>모든 <code>type</code> 매개변수에 사용할 수 있는 값:</em><br><code>past_4_hours</code>, <code>past_day</code>, <code>past_7_days</code>, <code>past_30_days</code>, <code>past_90_days</code>, <code>past_12_months</code>, <code>past_5_years</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>사용자 정의 작업 식별자</em><br>선택 필드<br><em>최대 255자</em><br>이 매개변수를 사용해 작업을 식별하고 결과와 매칭할 수 있습니다<br><code>tag</code>에 지정한 값은 응답의 <code>data</code> 객체에서 확인할 수 있습니다"
          }
        },
        "example": [
          {
            "keywords": [
              "rugby",
              "cricket"
            ],
            "date_from": "2023-01-01",
            "date_to": "2024-01-01",
            "type": "web",
            "location_name": "United States"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "keywords": [
        "rugby",
        "cricket"
      ],
      "date_from": "2023-01-01",
      "date_to": "2024-01-01",
      "type": "web",
      "location_name": "United States"
    }
  ]
}
```

## Responses

### 200 — 작업 성공

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

**application/json**

Schema: object | null

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

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AbsoluteItems

`#/components/schemas/Response36Afe1097B20_AbsoluteItems`

```json
{
  "type": "object",
  "properties": {
    "geo_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>위치 식별자</em><br>이 필드를 사용하면 얻은 결과를 요청에 지정한 위치 매개변수와 매칭할 수 있습니다<br>사용 가능한 위치 전체 목록과 해당 <code>geo_id</code>는 <a href=\"/v3/keywords_data/dataforseo_trends/locations/\" rel=\"noopener noreferrer\" target=\"_blank\">여기</a>에서 확인하거나 <code>https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations</code>로 별도 요청하여 확인하세요<br>예:<br><code>US-NY</code>"
    },
    "geo_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>위치 이름</em><br>이 필드를 사용하면 얻은 결과를 요청에 지정한 위치 매개변수와 매칭할 수 있습니다<br>사용 가능한 위치 전체 목록과 해당 <code>geo_name</code>은 <a href=\"/v3/keywords_data/dataforseo_trends/locations/\" rel=\"noopener noreferrer\" target=\"_blank\">여기</a>에서 확인하거나 <code>https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations</code>로 별도 요청하여 확인하세요<br>예:<br><code>Andorra</code>"
    },
    "values": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>국가 또는 지역별 상대적 키워드 인기도 데이터를 포함합니다</em>"
    }
  }
}
```

### Response36Afe1097B20_BaseKeywordDataDataforseoTrendsItem

`#/components/schemas/Response36Afe1097B20_BaseKeywordDataDataforseoTrendsItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "position": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>요소의 정렬</em><br>다음 값을 사용할 수 있습니다: <code>1</code>, <code>2</code>, <code>3</code>, <code>4</code> 등."
    },
    "keywords": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>POST 배열의 키워드</em>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "dataforseo_trends_graph": "#/components/schemas/Response36Afe1097B20_DataforseoTrendsDataforseoTrendsGraphElementItem",
      "subregion_interests": "#/components/schemas/Response36Afe1097B20_DataforseoTrendsSubregionInterestsElementItem",
      "demography": "#/components/schemas/Response36Afe1097B20_DataforseoTrendsDemographyElementItem"
    }
  }
}
```

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

`#/components/schemas/Response36Afe1097B20_DataforseoTrendsSubregionInterestsElementItem`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseKeywordDataDataforseoTrendsItem"
    },
    {
      "type": "object",
      "properties": {
        "interests": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_DataforseoTrendsinterestsInfo"
              }
            ]
          },
          "description": "<em>지정된 각 검색어에 대한 하위 지역 키워드 인기도 데이터</em>"
        },
        "interests_comparison": {
          "type": [
            "object",
            "null"
          ],
          "oneOf": [
            {
              "$ref": "#/components/schemas/Response36Afe1097B20_InterestsComparison"
            }
          ],
          "description": "<em>지정된 매개변수에 대한 하위 지역 키워드 인기도 데이터 비교</em><br>키워드를 하나만 지정한 경우 값은 <code>null</code>입니다"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_DataforseoTrendsinterestsInfo

`#/components/schemas/Response36Afe1097B20_DataforseoTrendsinterestsInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>관련 키워드</em><br><code>values</code> 요소에 포함된 데이터는 이 키워드를 기준으로 합니다"
    },
    "values": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_DataforseoTrendsinterestsValuesInfo"
          }
        ]
      },
      "description": "<em>국가 또는 지역별 상대적 키워드 인기도 데이터를 포함합니다</em>"
    }
  }
}
```

### Response36Afe1097B20_DataforseoTrendsinterestsValuesInfo

`#/components/schemas/Response36Afe1097B20_DataforseoTrendsinterestsValuesInfo`

```json
{
  "type": "object",
  "properties": {
    "geo_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>위치 식별자</em><br>이 필드를 사용하면 얻은 결과를 요청에 지정한 위치 매개변수와 매칭할 수 있습니다<br>사용 가능한 위치 전체 목록과 해당 <code>geo_id</code>는 <a href=\"/v3/keywords_data/dataforseo_trends/locations/\" rel=\"noopener noreferrer\" target=\"_blank\">여기</a>에서 확인하거나 <code>https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations</code>로 별도 요청하여 확인하세요<br>예:<br><code>US-NY</code>"
    },
    "geo_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>위치 이름</em><br>이 필드를 사용하면 얻은 결과를 요청에 지정한 위치 매개변수와 매칭할 수 있습니다<br>사용 가능한 위치 전체 목록과 해당 <code>geo_name</code>은 <a href=\"/v3/keywords_data/dataforseo_trends/locations/\" rel=\"noopener noreferrer\" target=\"_blank\">여기</a>에서 확인하거나 <code>https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations</code>로 별도 요청하여 확인하세요<br>예:<br><code>Andorra</code>"
    },
    "value": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>지정된 위치의 상대적 키워드 인기도 비율</em><br>지정된 기간 동안의 위치별 키워드 인기도 비율을 나타냅니다;<br>이 <code>value</code>를 사용하면 키워드가 한 위치에서 다른 위치와 비교해 얼마나 인기 있는지 알 수 있습니다;<br>계산: 모든 위치에서 관련 키워드의 최고 인기도 값을 확인한 다음, 다른 모든 값을 그 최고 값(100)에 대한 백분율로 표현합니다;<br><code>100</code> 값은 해당 검색어의 최고 인기도입니다<br><code>50</code> 값은 해당 검색어의 인기도가 절반이라는 뜻입니다<br><code>0</code> 값은 해당 검색어에 대한 데이터가 충분하지 않았음을 뜻합니다"
    }
  }
}
```

### Response36Afe1097B20_InterestsComparison

`#/components/schemas/Response36Afe1097B20_InterestsComparison`

```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AbsoluteItems"
          }
        ]
      },
      "description": "<em>키워드 인기도 및 관련 데이터를 포함합니다</em>"
    },
    "absolute_items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AbsoluteItems"
          }
        ]
      },
      "description": "<em>모든 위치의 키워드 인기도</em><br>이 배열의 값은 모든 위치의 최댓값에 대한 백분율입니다"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataDataforseoTrendsSubregionInterestsLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataDataforseoTrendsSubregionInterestsLiveResponseInfo`

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

### Response36Afe1097B20_KeywordsDataDataforseoTrendsSubregionInterestsLiveResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataDataforseoTrendsSubregionInterestsLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keywords": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>POST 배열의 키워드</em>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST 배열의 위치 코드</em><br>데이터가 없으면 값은 <code>null</code>입니다"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 배열의 언어 코드</em><br>데이터가 없으면 값은 <code>null</code>입니다"
    },
    "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_DataforseoTrendsSubregionInterestsElementItem"
          }
        ]
      },
      "description": "<em>키워드 인기도 및 관련 데이터를 포함합니다</em>"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataDataforseoTrendsSubregionInterestsLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataDataforseoTrendsSubregionInterestsLiveTaskInfo`

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