지원 국가 목록
엔진 하나가 받는 국가 코드를, 제출을 검증하는 같은 규칙으로 알려 줍니다. ?model=로 거릅니다.
GET
/
v1
/
countries
List of countries
curl --request GET \
--url https://api.querying.ai/v1/countriesimport requests
url = "https://api.querying.ai/v1/countries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.querying.ai/v1/countries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.querying.ai/v1/countries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.querying.ai/v1/countries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.querying.ai/v1/countries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/countries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
"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"
]{
"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"
}
}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을 함께 보냅니다.쿼리 매개변수
응답
Country codes, ascending.
⌘I
List of countries
curl --request GET \
--url https://api.querying.ai/v1/countriesimport requests
url = "https://api.querying.ai/v1/countries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.querying.ai/v1/countries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.querying.ai/v1/countries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.querying.ai/v1/countries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.querying.ai/v1/countries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/countries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
"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"
]{
"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"
}
}