Google 리다이렉트 해석
Google 결과의 redirectLink가 가리키는 페이지 주소입니다.
POST
/
v1
/
google
/
goto
Resolve a Google redirect
curl --request POST \
--url https://api.querying.ai/v1/google/goto \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx"
}
'import requests
url = "https://api.querying.ai/v1/google/goto"
payload = { "url": "https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx'
})
};
fetch('https://api.querying.ai/v1/google/goto', 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/google/goto",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => 'https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.querying.ai/v1/google/goto"
payload := strings.NewReader("{\n \"url\": \"https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.querying.ai/v1/google/goto")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/google/goto")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"url": "https://www.rtings.com/headphones/reviews/best/wireless-bluetooth-earbuds-under-100"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "Missing or invalid API key",
"timestamp": "2026-07-09T04:12:00.000Z"
}
}{
"success": false,
"error": {
"code": "GOOGLE_REDIRECT_UNRESOLVED",
"message": "goto did not answer a redirect; retry later",
"timestamp": "2026-11-09T00:00:00.000Z"
}
}리다이렉트를 제때 읽지 못한 Google 결과는
link가 비어 있고 리다이렉트가 redirectLink에 있습니다. 이 redirectLink를 url로 보내면 실제 페이지 주소를 받습니다. 요청 하나에 링크 하나이고 크레딧은 들지 않습니다. POST /v1/monitor/google/goto도 같은 요청에 답하므로 Cloro 경로로 작성한 클라이언트를 그대로 쓸 수 있습니다.
502 GOOGLE_REDIRECT_UNRESOLVED는 Google이 아직 리다이렉트를 주지 않았다는 뜻입니다. 응답에 Retry-After가 있으면 그 초가 지난 뒤, 없으면 잠시 뒤에 다시 요청합니다.본문
application/json
⌘I
Resolve a Google redirect
curl --request POST \
--url https://api.querying.ai/v1/google/goto \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx"
}
'import requests
url = "https://api.querying.ai/v1/google/goto"
payload = { "url": "https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx'
})
};
fetch('https://api.querying.ai/v1/google/goto', 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/google/goto",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => 'https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.querying.ai/v1/google/goto"
payload := strings.NewReader("{\n \"url\": \"https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.querying.ai/v1/google/goto")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/google/goto")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"https://www.google.com/goto?url=CAESjgEB6zswFXseyYyAhWD5OBf1yt0u8gIlzwuA5qsqIm3tBmKqh3hpxRZdyK_1IDcHZx\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"url": "https://www.rtings.com/headphones/reviews/best/wireless-bluetooth-earbuds-under-100"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "Missing or invalid API key",
"timestamp": "2026-07-09T04:12:00.000Z"
}
}{
"success": false,
"error": {
"code": "GOOGLE_REDIRECT_UNRESOLVED",
"message": "goto did not answer a redirect; retry later",
"timestamp": "2026-11-09T00:00:00.000Z"
}
}