# Google Hotel Info görevlerini oluşturma

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/business_data/google/hotel_info/task_post`

**Tags:** DataForSEO

Bir otel kaydı aramasını kuyruğa alır ve bir görev `id` değeri döndürür. Yanıt DataForSEO zarfı içinde gelir: veriler `tasks[0].result`, sonuç `tasks[0].status_code` içindedir; reddedilen bir istek yine de HTTP 200 döndürür. Ayrıştırılmış sonucu `get_dataforseo_business_google_hotel_info_fetch`, ham sonucu `get_dataforseo_business_google_hotel_info_fetch_html` ile alın.

### Fiyatlandırma referansı

- Ölçümlendirme: bildirilen yanıt maliyeti.
- Referans istek maliyeti tahmini: USD 0.2428.
- Referans müşteri çarpanı: 1.0. Kesinleşmiş müşteri tutarına yeniden uygulamayın.

Yalnızca referans üst verisidir — hesap teklifi, garantili fiyat veya harcama üst sınırı değildir. Kaynak kredileri Felo kredisi değildir. Nihai ücretler Felo faturalandırma kayıtlarını izler.

## Related links

- [Google SERP API](<https://docs.dataforseo.com/v3/serp/google/organic/overview/>)
- [Hotel Searches uç noktası](<https://docs.dataforseo.com/v3/business_data/google/hotel_searches/task_post/>)
- [Fiyatlandırma](<https://dataforseo.com/pricing/business-data/google-hotels-api>)
- [yardım merkezimize](<https://dataforseo.com/help-center/pingbacks-postbacks-with-dataforseo-api>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "hotel_identifier": {
            "type": "string",
            "description": "<em>benzersiz otel tanımlayıcısı</em><br><strong><code>keyword</code> belirtmezseniz zorunlu alan</strong><br><strong>bu alanı kullanırsanız <code>keyword</code> belirtmeniz gerekmez</strong><br>Google aramasında bir otel varlığının benzersiz tanımlayıcısı;<br>değeri Advanced Google SERP API (yanıtın <code>hotels_pack</code> öğesinde yer alır) veya Business Data API'nin Hotel Searches uç noktası üzerinden istek yaparak elde edebilirsiniz<br>örnek:<br><code>ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE</code>"
          },
          "keyword": {
            "type": "string",
            "description": "<em>anahtar kelime</em><br><strong><code>hotel_identifier</code> belirtmezseniz zorunlu alan</strong><br><strong>bu alanı kullanırsanız <code>hotel_identifier</code> belirtmeniz gerekmez</strong><br>belirttiğiniz anahtar kelime otel varlığının adını göstermelidir<br><code>keyword</code> alanında <strong>en fazla 700 karakter</strong> belirtebilirsiniz<br><strong>tüm %## dizileri çözümlenir (“+” karakteri boşluk karakterine çözümlenir)</strong><br><code>keyword</code> için “%” karakterini kullanmanız gerekiyorsa “%25” olarak belirtin"
          },
          "priority": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>görev önceliği</em><br>isteğe bağlı alan<br>şu değerleri alabilir:<br>1 – normal yürütme önceliği (varsayılan olarak ayarlanır)<br>2 – yüksek yürütme önceliği. Yüksek yürütme önceliğine sahip görevler için ek ücret alınır.<br>Maliyet Fiyatlandırma sayfasında hesaplanabilir."
          },
          "location_name": {
            "type": "string",
            "description": "<em>arama motoru konumunun tam adı</em><br><strong><code>location_code</code> veya <code>location_coordinate</code> belirtmezseniz zorunlu alan</strong><br><strong>bu alanı kullanırsanız <code>location_code</code> veya <code>location_coordinate</code> belirtmeniz gerekmez</strong><br>mevcut konumların listesini <code>location_name</code> değerleriyle birlikte <code>https://api.dataforseo.com/v3/business_data/google/locations</code> adresine ayrı bir istek yaparak alabilirsiniz<br>örnek:<br><code class=\"long-string\">London,England,United Kingdom</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>arama motoru konum kodu</em><br><strong><code>location_name</code> veya <code>location_coordinate</code> belirtmezseniz zorunlu alan</strong><br><strong>bu alanı kullanırsanız <code>location_name</code> veya <code>location_coordinate</code> belirtmeniz gerekmez</strong><br>mevcut konumların listesini <code>location_code</code> değerleriyle birlikte <code>https://api.dataforseo.com/v3/business_data/google/locations</code> adresine ayrı bir istek yaparak alabilirsiniz<br>örnek:<br><code class=\"long-string\">2840</code>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<em>bir konumun GPS koordinatları</em><br><strong><code>location_name</code> veya <code>location_code</code> belirtmezseniz zorunlu alan</strong><br><strong>bu alanı kullanırsanız <code>location_name</code> veya <code>location_code</code> belirtmeniz gerekmez</strong><br><code>location_coordinate</code> parametresi <em>\"latitude,longitude\"</em> biçiminde belirtilmelidir<br><em>\"latitude\"</em> ve <em>\"longitude\"</em> için maksimum ondalık basamak sayısı: 7<br><strong>Not</strong>: koordinatlar bir konumu ayarlamak için kullanılırsa arama en yakın yerleşim yerinde gerçekleşir;<br>örnek:<br><code class=\"long-string\">53.476225,-2.243572</code>"
          },
          "language_name": {
            "type": "string",
            "description": "<em>arama motoru dilinin tam adı</em><br><strong><code>language_code</code> belirtmezseniz zorunlu alan</strong><br><strong>bu alanı kullanırsanız <code>language_code</code> belirtmeniz gerekmez</strong><br>mevcut dillerin listesini <code>language_name</code> değerleriyle birlikte <code>https://api.dataforseo.com/v3/business_data/google/languages</code> adresine ayrı bir istek yaparak alabilirsiniz<br>örnek:<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": "string",
            "description": "<em>arama motoru dil kodu</em><br><strong><code>language_name</code> belirtmezseniz zorunlu alan</strong><br><strong>bu alanı kullanırsanız <code>language_name</code> belirtmeniz gerekmez</strong><br>mevcut dillerin listesini <code>language_code</code> değerleriyle birlikte <code>https://api.dataforseo.com/v3/business_data/google/languages</code> adresine ayrı bir istek yaparak alabilirsiniz<em><br></em>örnek:<em><br></em><code class=\"long-string\">en</code>"
          },
          "check_in": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>giriş tarihi</em><br>isteğe bağlı alan<br>bu alanı belirtmezseniz varsayılan olarak yarının tarihi kullanılır;<br>değer bugünün tarihinden önce olamaz<br>tarih biçimi: <code>\"yyyy-mm-dd\"</code><br>örnek:<br><code>\"2019-01-15\"</code>"
          },
          "check_out": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>çıkış tarihi</em><br>isteğe bağlı alan<br>bu alanı belirtmezseniz sistemimiz varsayılan olarak iki gün sonraki tarihi uygular;<br><strong>Not:</strong> değer <code>check_in</code> değerine eşit veya ondan küçük olamaz;<br><code>check_in</code> ve <code>check_out</code> değerleri arasındaki aralık 30 günü aşamaz<br>tarih biçimi: <code>\"yyyy-mm-dd\"</code><br>örnek:<br><code>\"2019-01-15\"</code>"
          },
          "currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>para birimi</em><br>isteğe bağlı alan<br>örnek:<br><code>\"USD\"</code>"
          },
          "adults": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>yetişkin sayısı</em><br>isteğe bağlı alan<br>bu alanı belirtmezseniz varsayılan olarak iki yetişkin kullanılır<br>örnek:<br><code>1</code>"
          },
          "children": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>çocuk sayısı ve yaşı</em><br>isteğe bağlı alan<br>bu alanı belirtmezseniz aramaya hiçbir çocuk dahil edilmez;<p>bir adet 14 yaşında çocuk eklemek için aşağıdaki değeri ayarlayın:<br><code>[14]</code><br>bir adet 13 yaşında ve bir adet 8 yaşında çocuk eklemek için aşağıdaki değeri ayarlayın:<br><code>[13,8]</code>"
          },
          "load_prices_by_dates": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>otel konaklama fiyatlarını tarihlere göre yükle</em><br>isteğe bağlı alan<br>bu parametreyi <code>true</code> değeriyle belirtirseniz yanıt, tarihlere göre bölünmüş otel konaklama fiyatlarını içeren <code>prices_by_dates</code> dizisini içerir<br>bu parametreyi kullanırsanız <strong>istek başına temel fiyatın iki katı</strong> tahsil edilir"
          },
          "prices_start_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>fiyatları tarihlere göre yüklemek için başlangıç tarihi</em><br>isteğe bağlı alan<br>bu parametreyi kullanmak için <code>load_prices_by_dates</code> değerini <code>true</code> olarak belirtmeniz gerekir<br>bu parametre belirtilmezse başlangıç tarihi <code>check_in</code> tarihine ayarlanır<br>tarih biçimi: <code>yyyy-mm-dd</code><br>örnek:<br><code>2025-05-20</code>"
          },
          "prices_end_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>fiyatları tarihlere göre yüklemek için bitiş tarihi</em><br>isteğe bağlı alan<br>bu parametreyi kullanmak için <code>load_prices_by_dates</code> değerini <code>true</code> olarak belirtmeniz gerekir<br>bu parametre belirtilmezse ay için tarihe göre fiyatlar alırsınız <br>tarih biçimi: <code>yyyy-mm-dd</code><br>örnek:<br><code>2025-05-21</code>"
          },
          "prices_date_range": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>günlük fiyat verilerini almak için önceden tanımlanmış dönem</em><br>isteğe bağlı alan<br>bu parametreyi kullanmak için <code>load_prices_by_dates</code> değerini <code>true</code> olarak belirtmeniz gerekir<br><code>prices_start_date </code>belirtilmezse başlangıç tarihi <code>check_in</code> tarihine ayarlanır<br>olası değerler: <code>month</code>, <code>three_months</code>, <code>six_months</code>, <code>year</code><br>varsayılan değer: <code>month</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>kullanıcı tanımlı görev tanımlayıcısı</em><br>isteğe bağlı alan<br><em>karakter sınırı 255</em><br>bu parametreyi görevi tanımlamak ve sonuçla eşleştirmek için kullanabilirsiniz;<br>belirtilen <code>tag</code> değerini yanıtın <code>data</code> nesnesinde bulacaksınız"
          },
          "postback_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>görev sonuçlarını göndermek için URL</em><br>isteğe bağlı alan<br>görev tamamlandığında sonuçları <code>gzip</code> biçiminde sıkıştırılmış bir POST isteğiyle belirttiğiniz <code>postback_url</code> adresine göndeririz;<br>“$id” dizesini <code>$id</code> değişkeni, “$tag” dizesini URL kodlamalı <code>$tag</code> değişkeni olarak kullanabilirsiniz. İstek gönderilmeden önce gerekli değerleri ayarlarız;<br>örnek:<br><code>http://your-server.com/postbackscript?id=$id</code><br><code>http://your-server.com/postbackscript?id=$id&amp;tag=$tag</code><br><strong>Not:</strong> <code>postback_url</code> içindeki özel karakterler URL kodlamalı olur; <br>yani <code>#</code> karakteri <code>%23</code> olarak kodlanır<p>daha fazla bilgi için yardım merkezimize göz atın"
          },
          "postback_data": {
            "type": "string",
            "description": "<em>postback_url veri türü</em><br><strong><code>postback_url</code> belirtirseniz zorunlu alan</strong><br>sunucunuza gönderilecek veri türüne karşılık gelir<br>olası değerler:<br><code>advanced</code>, <code>html</code>"
          },
          "pingback_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>tamamlanan görevin bildirim URL'si</em><br>isteğe bağlı alan<br>görev tamamlandığında belirttiğiniz URL'ye gönderilen bir GET isteğiyle sizi bilgilendiririz;<br>“$id” dizesini <code>$id</code> değişkeni, “$tag” dizesini URL kodlamalı <code>$tag</code> değişkeni olarak kullanabilirsiniz;<br>istek gönderilmeden önce gerekli değerleri ayarlarız;<br>örnek:<br><code>http://your-server.com/pingscript?id=$id</code><br><code>http://your-server.com/pingscript?id=$id&amp;tag=$tag</code><br><strong>Not:</strong> <code>pingback_url</code> içindeki özel karakterler URL kodlamalı olur; <br>yani <code>#</code> karakteri <code>%23</code> olarak kodlanır<p>daha fazla bilgi için yardım merkezimize göz atın"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_name": "New York,New York,United States",
            "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
            "tag": "some_string_123",
            "postback_url": "https://your-server.com/postbackscript.php",
            "postback_data": "advanced"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_name": "New York,New York,United States",
      "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
      "tag": "some_string_123",
      "postback_url": "https://your-server.com/postbackscript.php",
      "postback_data": "advanced"
    }
  ]
}
```

## Responses

### 200 — Başarılı işlem

Headers:
- `X-Request-Id` (string) — Felo desteğiyle iletişime geçerken belirtilecek istek tanımlayıcısı.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelInfoTaskPostResponseInfo"
    }
  ]
}
```

### 400 — İstek işlenemedi. İstek parametrelerini kontrol edin.

### 401 — Geçerli bir Felo API anahtarı gerekir.

### 402 — Faturalandırma koşulu karşılanmadığı için istek devam edemiyor.

### 403 — Hesabın bu işlemi gerçekleştirme izni yok.

### 429 — İstek veya harcama sınırına ulaşıldı.

### 502 — Hizmet isteği tamamlayamadı.

### 503 — API veya faturalandırma hizmeti geçici olarak kullanılamıyor.

### 504 — İstek işlenirken hizmet zaman aşımına uğradı.

### default — Hata yanıtı; upstream sağlayıcıdan doğrudan aktarılan yanıtlar sağlayıcı biçimlerini kullanabilir

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API'nin geçerli sürümü"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "genel durum kodu\nyanıt kodlarının tam listesini burada bulabilirsiniz"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "genel bilgilendirme mesajı\ngenel bilgilendirme mesajlarının tam listesini burada bulabilirsiniz"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "toplam yürütme süresi, saniye"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "toplam görev maliyeti, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks dizisindeki görev sayısı",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks dizisinde hata ile dönen görev sayısı",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "görev tanımlayıcısı\nsistemimizde UUID biçiminde benzersiz görev tanımlayıcısı"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "görevin durum kodu\nDataForSEO tarafından oluşturulur; şu aralıkta olabilir: 10000-60000\nyanıt kodlarının tam listesini burada bulabilirsiniz"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "görevin bilgilendirme mesajı\ngenel bilgilendirme mesajlarının tam listesini burada bulabilirsiniz"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "yürütme süresi, saniye"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "toplam görev maliyeti, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result dizisindeki öğe sayısı",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL yolu"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST isteğinde belirttiğiniz parametrelerin aynısını içerir"
    }
  }
}
```

### Response36Afe1097B20_BusinessDataGoogleHotelInfoTaskPostResponseInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelInfoTaskPostResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelInfoTaskPostTaskInfo"
              }
            ]
          },
          "description": "<em>görev dizisi</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BusinessDataGoogleHotelInfoTaskPostTaskInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelInfoTaskPostTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "object",
            "null"
          ],
          "description": "<em>sonuç dizisi</em><br>bu durumda değer <code>null</code> olur"
        }
      }
    }
  ]
}
```
