Länderliste
Die Ländercodes, die eine Engine annimmt, aus denselben Regeln, die eine Übermittlung prüfen. Filter mit ?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"
}
}Ohne
model liefert der Endpoint alle vergebenen ISO-3166-1-alpha-2-Codes. Mit model liefert er nur die Länder, die diese Engine annimmt; eine Auswahl aus dieser Liste bietet also keine Kombination an, die die Übermittlung mit 422 REGION_UNSUPPORTED ablehnt.
COMMERCE_SERP und COMMERCE_PRODUCT liefern die Länder aller ihrer Shops. Jeder Shop bedient genau ein Land: Senden Sie die site oder die Produkt-URL, die zum gewählten Land gehört; jede andere Kombination liefert 422 REGION_UNSUPPORTED.
Neben unseren taskTypes werden die Anbieternamen von Cloro akzeptiert. aioverview und GOOGLE bezeichnen die AI-Overviews-Engine, google und GOOGLE_SERP die Such-Engine. Eine Engine, die wir nicht verkaufen, liefert 400 VALIDATION_ERROR.
Die Liste ändert sich selten: beim Start einmal abrufen und mindestens 24 Stunden zwischenspeichern. Die Antwort ist das Array selbst, wie bei Cloro, mit Cache-Control: public, max-age=3600.Abfrageparameter
Antwort
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"
}
}