> ## Documentation Index
> Fetch the complete documentation index at: https://docs.querying.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 지원 국가 목록

> 엔진 하나가 받는 국가 코드를, 제출을 검증하는 같은 규칙으로 알려 줍니다. ?model=로 거릅니다.

`model` 없이 호출하면 ISO 3166-1 alpha-2로 지정된 모든 국가 코드를 반환합니다. `model`을 주면 그 엔진이 받는 국가만 반환하므로, 이 목록으로 만든 선택기는 제출이 `422 REGION_UNSUPPORTED`로 거절할 조합을 보여 주지 않습니다.

`COMMERCE_SERP`와 `COMMERCE_PRODUCT`는 모든 쇼핑몰의 국가를 합쳐 반환합니다. 쇼핑몰마다 국가가 하나이므로 고른 국가에 맞는 `site`나 상품 URL을 보내야 하고, 맞지 않는 조합은 `422 REGION_UNSUPPORTED`를 받습니다.

우리 taskType과 함께 Cloro의 엔진 이름도 받습니다. `aioverview`와 `GOOGLE`은 AI Overview 엔진, `google`과 `GOOGLE_SERP`는 검색 엔진입니다. 판매하지 않는 엔진은 `400 VALIDATION_ERROR`를 반환합니다.

목록이 거의 바뀌지 않으므로 서비스 시작 시 한 번 받아 24시간 이상 캐시하십시오. 응답은 Cloro와 같이 배열 그대로이고 `Cache-Control: public, max-age=3600`을 함께 보냅니다.


## OpenAPI

````yaml GET /v1/countries
openapi: 3.1.0
info:
  title: querying.ai
  description: >-
    One API for every AI answer engine. Every task is asynchronous: submit, then
    collect the result via webhook or polling.
  version: 1.0.0
servers:
  - url: https://api.querying.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/countries:
    get:
      tags:
        - Operations
      summary: List of countries
      description: >-
        The ISO 3166-1 alpha-2 codes one engine accepts, and every assigned code
        when no model is named. Read it at start-up and cache it: the list
        changes rarely. Filtering follows the same rules that validate a
        submission, so a country from this list passes submit. COMMERCE_SERP and
        COMMERCE_PRODUCT list the countries of all their storefronts, and each
        storefront serves one country, so the `site` or product URL must belong
        to the country sent. A model we do not sell returns 400. The response is
        a bare array, as in Cloro, so a client that moves over parses it
        unchanged.
      operationId: getCountries
      parameters:
        - name: model
          in: query
          required: false
          description: >-
            One engine. Cloro's provider names are accepted alongside our
            taskTypes: `aioverview` and `GOOGLE` are the AI Overviews engine,
            `google` and `GOOGLE_SERP` the search one. Aliases such as
            `bing_copilot_search` work too.
          schema:
            type: string
            examples:
              - aioverview
              - aimode
              - bing_aimode
              - chatgpt
              - gemini
              - google
              - perplexity
          example: bing_aimode
      responses:
        '200':
          description: Country codes, ascending.
          headers:
            Cache-Control:
              schema:
                type: string
                example: public, max-age=3600
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                  example: US
              example:
                - AE
                - AU
                - BR
                - CA
                - DE
                - EE
                - ES
                - FR
                - GB
                - HK
                - HU
                - IE
                - IN
                - IT
                - JP
                - MX
                - NL
                - PL
                - PT
                - RO
                - RS
                - SE
                - SG
                - SK
                - TR
                - US
                - ZA
        '400':
          description: '`model` is not an engine we sell.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: VALIDATION_ERROR
                  message: Request validation failed
                  details:
                    - field: model
                      message: '''grok'' is not a model we serve; use one of ...'
                  timestamp: '2026-11-10T02:00:00.000Z'
      security: []
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          $ref: '#/components/schemas/ErrorDetail'
    ErrorDetail:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable, safe to branch on. See the Errors guide for the full list.
        message:
          type: string
          description: For humans. May change.
        details:
          description: >-
            Context for the error. An array of `{field, message}` on most
            `VALIDATION_ERROR`s; an object elsewhere (for example `{id}` on
            `RESOURCE_NOT_FOUND`, `retryAfterSec` on 429 and 503 codes). Omitted
            when there is nothing to add.
          oneOf:
            - type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
            - type: object
              additionalProperties: true
        timestamp:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key, sent as `Authorization: Bearer <key>`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.