Criar um Place Lookup
Pergunte aos mecanismos de IA sobre um estabelecimento. Cada pergunta entra na fila como uma tarefa comum.
POST
/
v1
/
place-lookup
Create a place lookup
curl --request POST \
--url https://api.querying.ai/v1/place-lookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"place": {
"name": "Canlis",
"address": "2576 Aurora Ave N, Seattle, WA 98109",
"location": {
"latitude": 47.6430534,
"longitude": -122.3467361
},
"phone": "(206) 283-3313",
"website": "https://canlis.com/"
},
"country": "US",
"idempotencyKey": "canlis-2026-10"
}
'import requests
url = "https://api.querying.ai/v1/place-lookup"
payload = {
"place": {
"name": "Canlis",
"address": "2576 Aurora Ave N, Seattle, WA 98109",
"location": {
"latitude": 47.6430534,
"longitude": -122.3467361
},
"phone": "(206) 283-3313",
"website": "https://canlis.com/"
},
"country": "US",
"idempotencyKey": "canlis-2026-10"
}
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({
place: {
name: 'Canlis',
address: '2576 Aurora Ave N, Seattle, WA 98109',
location: {latitude: 47.6430534, longitude: -122.3467361},
phone: '(206) 283-3313',
website: 'https://canlis.com/'
},
country: 'US',
idempotencyKey: 'canlis-2026-10'
})
};
fetch('https://api.querying.ai/v1/place-lookup', 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/place-lookup",
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([
'place' => [
'name' => 'Canlis',
'address' => '2576 Aurora Ave N, Seattle, WA 98109',
'location' => [
'latitude' => 47.6430534,
'longitude' => -122.3467361
],
'phone' => '(206) 283-3313',
'website' => 'https://canlis.com/'
],
'country' => 'US',
'idempotencyKey' => 'canlis-2026-10'
]),
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/place-lookup"
payload := strings.NewReader("{\n \"place\": {\n \"name\": \"Canlis\",\n \"address\": \"2576 Aurora Ave N, Seattle, WA 98109\",\n \"location\": {\n \"latitude\": 47.6430534,\n \"longitude\": -122.3467361\n },\n \"phone\": \"(206) 283-3313\",\n \"website\": \"https://canlis.com/\"\n },\n \"country\": \"US\",\n \"idempotencyKey\": \"canlis-2026-10\"\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/place-lookup")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"place\": {\n \"name\": \"Canlis\",\n \"address\": \"2576 Aurora Ave N, Seattle, WA 98109\",\n \"location\": {\n \"latitude\": 47.6430534,\n \"longitude\": -122.3467361\n },\n \"phone\": \"(206) 283-3313\",\n \"website\": \"https://canlis.com/\"\n },\n \"country\": \"US\",\n \"idempotencyKey\": \"canlis-2026-10\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/place-lookup")
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 \"place\": {\n \"name\": \"Canlis\",\n \"address\": \"2576 Aurora Ave N, Seattle, WA 98109\",\n \"location\": {\n \"latitude\": 47.6430534,\n \"longitude\": -122.3467361\n },\n \"phone\": \"(206) 283-3313\",\n \"website\": \"https://canlis.com/\"\n },\n \"country\": \"US\",\n \"idempotencyKey\": \"canlis-2026-10\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"lookup": {
"id": "canlis-2026-10"
},
"tasks": [
{
"engine": "CHATGPT",
"ask": 1,
"success": true,
"task": {
"id": "9d02deef-4c1c-47db-8d86-e1a71f8b00e8",
"taskType": "CHATGPT",
"status": "QUEUED",
"priority": 1,
"createdAt": "2026-10-20T09:00:00.000Z",
"idempotencyKey": "canlis-2026-10:CHATGPT:1"
}
},
{
"engine": "CHATGPT",
"ask": 2,
"success": true,
"task": {
"id": "91505c8f-d2d6-4bd3-8623-a8706249f1e1",
"taskType": "CHATGPT",
"status": "QUEUED",
"priority": 1,
"createdAt": "2026-10-20T09:00:00.000Z",
"idempotencyKey": "canlis-2026-10:CHATGPT:2"
}
}
]
}{
"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": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}Autorizações
Your API key, sent as Authorization: Bearer <key>.
Corpo
application/json
The store and its official details. address or location is required.
Show child attributes
Show child attributes
The store's country, an ISO 3166-1 alpha-2 code such as US or KR.
Engines to ask. Default: all five in KR, CHATGPT, GEMINI, GOOGLE and BING_COPILOT elsewhere.
Minimum array length:
1An engine a place lookup asks. NAVER_AI_TAB answers for KR only.
Opções disponíveis:
CHATGPT, GEMINI, GOOGLE, BING_COPILOT, NAVER_AI_TAB Names the lookup and becomes lookup.id. Without it the server mints a UUID. The same request under it adds only the missing questions.
Required string length:
1 - 200Set on every task. Out-of-range values are clamped. It does not guarantee execution order.
Intervalo necessário:
1 <= x <= 10⌘I
Create a place lookup
curl --request POST \
--url https://api.querying.ai/v1/place-lookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"place": {
"name": "Canlis",
"address": "2576 Aurora Ave N, Seattle, WA 98109",
"location": {
"latitude": 47.6430534,
"longitude": -122.3467361
},
"phone": "(206) 283-3313",
"website": "https://canlis.com/"
},
"country": "US",
"idempotencyKey": "canlis-2026-10"
}
'import requests
url = "https://api.querying.ai/v1/place-lookup"
payload = {
"place": {
"name": "Canlis",
"address": "2576 Aurora Ave N, Seattle, WA 98109",
"location": {
"latitude": 47.6430534,
"longitude": -122.3467361
},
"phone": "(206) 283-3313",
"website": "https://canlis.com/"
},
"country": "US",
"idempotencyKey": "canlis-2026-10"
}
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({
place: {
name: 'Canlis',
address: '2576 Aurora Ave N, Seattle, WA 98109',
location: {latitude: 47.6430534, longitude: -122.3467361},
phone: '(206) 283-3313',
website: 'https://canlis.com/'
},
country: 'US',
idempotencyKey: 'canlis-2026-10'
})
};
fetch('https://api.querying.ai/v1/place-lookup', 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/place-lookup",
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([
'place' => [
'name' => 'Canlis',
'address' => '2576 Aurora Ave N, Seattle, WA 98109',
'location' => [
'latitude' => 47.6430534,
'longitude' => -122.3467361
],
'phone' => '(206) 283-3313',
'website' => 'https://canlis.com/'
],
'country' => 'US',
'idempotencyKey' => 'canlis-2026-10'
]),
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/place-lookup"
payload := strings.NewReader("{\n \"place\": {\n \"name\": \"Canlis\",\n \"address\": \"2576 Aurora Ave N, Seattle, WA 98109\",\n \"location\": {\n \"latitude\": 47.6430534,\n \"longitude\": -122.3467361\n },\n \"phone\": \"(206) 283-3313\",\n \"website\": \"https://canlis.com/\"\n },\n \"country\": \"US\",\n \"idempotencyKey\": \"canlis-2026-10\"\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/place-lookup")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"place\": {\n \"name\": \"Canlis\",\n \"address\": \"2576 Aurora Ave N, Seattle, WA 98109\",\n \"location\": {\n \"latitude\": 47.6430534,\n \"longitude\": -122.3467361\n },\n \"phone\": \"(206) 283-3313\",\n \"website\": \"https://canlis.com/\"\n },\n \"country\": \"US\",\n \"idempotencyKey\": \"canlis-2026-10\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/place-lookup")
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 \"place\": {\n \"name\": \"Canlis\",\n \"address\": \"2576 Aurora Ave N, Seattle, WA 98109\",\n \"location\": {\n \"latitude\": 47.6430534,\n \"longitude\": -122.3467361\n },\n \"phone\": \"(206) 283-3313\",\n \"website\": \"https://canlis.com/\"\n },\n \"country\": \"US\",\n \"idempotencyKey\": \"canlis-2026-10\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"lookup": {
"id": "canlis-2026-10"
},
"tasks": [
{
"engine": "CHATGPT",
"ask": 1,
"success": true,
"task": {
"id": "9d02deef-4c1c-47db-8d86-e1a71f8b00e8",
"taskType": "CHATGPT",
"status": "QUEUED",
"priority": 1,
"createdAt": "2026-10-20T09:00:00.000Z",
"idempotencyKey": "canlis-2026-10:CHATGPT:1"
}
},
{
"engine": "CHATGPT",
"ask": 2,
"success": true,
"task": {
"id": "91505c8f-d2d6-4bd3-8623-a8706249f1e1",
"taskType": "CHATGPT",
"status": "QUEUED",
"priority": 1,
"createdAt": "2026-10-20T09:00:00.000Z",
"idempotencyKey": "canlis-2026-10:CHATGPT:2"
}
}
]
}{
"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": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}