API Hop

Belgeler

API Hop Belgeleri

TripAdvisor başvurusu

Tripadvisor yerlerini arayın; yer bilgilerini ve yorumları alın.

Eşzamanlılık sınırı

AI ve Data, hesap genelinde ayrı eşzamanlı istek havuzlarını paylaşır: varsayılan 5 AI / 2 Data; aboneliğe göre değişir. Uç nokta sınırları da kategori havuzuyla sınırlıdır. Herhangi bir sınıra ulaşıldığında HTTP 429 döner. Asenkron görevler yürütme bitene kadar yer tutar.

GET /v1/tripadvisor/search
Varsayılan sınır: 2
GET /v1/tripadvisor/place
Varsayılan sınır: 2
GET /v1/tripadvisor/reviews
Varsayılan sınır: 2

Tripadvisor yerlerini arayın; yer bilgilerini ve yorumları alın.

Kimlik doğrulama ve ücret

Varsayılan fiyat başarılı istek başına $0.0003 (300 credits) tutarındadır. API Hop API anahtarınızı kullanın. Erişim etkin ağ geçitleri ve izinlere bağlıdır. Başarılı istek ücretini katalog ve hesabınızdan kontrol edin; hesaba özel fiyat önceliklidir. Başarılı boş sonuçlar ücretlidir. Hatalar rezervasyonu bırakır. Süre sınırı 60 saniyedir; otomatik tekrar ve sayfalama yoktur. Hesaplaşma hatası sağlayıcı isteğini tekrarlamaz.

http
Authorization: Bearer YOUR_API_KEY

Tripadvisor: Yer ara

GET https://api.apihop.ai/v1/tripadvisor/search

Parametreler

AlanTürSınırlarÖrnek
querystringArama metni; query: REQUIREDrestaurants in Austin
locationstringArama konumu; location: optional-
languagestringDil; language: optional-
next_page_tokenstringSonraki sayfa belirteci; next_page_token: optional; UTF-8 bytes: 24576-
limitintegerSonuç sınırı; limit: optional; min: 1; max: 1001
devicestringCihaz; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanYanıtları arşivleme; zero_trace: optionaltrue
latitudenumberEnlem; latitude: optional; min: -90; max: 90-90
longitudenumberBoylam; longitude: optional; min: -180; max: 180-180
ssrcstringArama kapsamı; ssrc: optional; a, r, A, h, g, fa
offsetintegerSonuç konumu; offset: optional; min: 0; max: 10000
tripadvisor_domainstringTripadvisor bölgesel alan adı; tripadvisor_domain: optional; ar.tripadvisor.com, cn.tripadvisor.com, en.tripadvisor.com.hk, fr.tripadvisor.be, fr.tripadvisor.ca, fr.tripadvisor.ch, it.tripadvisor.ch, no.tripadvisor.com, th.tripadvisor.com, tripadvisor.at, tripadvisor.be, tripadvisor.ca, tripadvisor.ch, tripadvisor.cl, tripadvisor.co, tripadvisor.co.id, tripadvisor.co.il, tripadvisor.co.kr, tripadvisor.co.nz, tripadvisor.co.uk, tripadvisor.co.za, tripadvisor.com, tripadvisor.com.ar, tripadvisor.com.au, tripadvisor.com.br, tripadvisor.com.eg, tripadvisor.com.gr, tripadvisor.com.hk, tripadvisor.com.mx, tripadvisor.com.my, tripadvisor.com.pe, tripadvisor.com.ph, tripadvisor.com.sg, tripadvisor.com.tr, tripadvisor.com.tw, tripadvisor.com.ve, tripadvisor.com.vn, tripadvisor.de, tripadvisor.dk, tripadvisor.es, tripadvisor.fr, tripadvisor.ie, tripadvisor.in, tripadvisor.it, tripadvisor.jp, tripadvisor.nl, tripadvisor.pt, tripadvisor.ru, tripadvisor.se, www.tripadvisor.at, www.tripadvisor.be, www.tripadvisor.ca, www.tripadvisor.ch, www.tripadvisor.cl, www.tripadvisor.co, www.tripadvisor.co.id, www.tripadvisor.co.il, www.tripadvisor.co.kr, www.tripadvisor.co.nz, www.tripadvisor.co.uk, www.tripadvisor.co.za, www.tripadvisor.com, www.tripadvisor.com.ar, www.tripadvisor.com.au, www.tripadvisor.com.br, www.tripadvisor.com.eg, www.tripadvisor.com.gr, www.tripadvisor.com.hk, www.tripadvisor.com.mx, www.tripadvisor.com.my, www.tripadvisor.com.pe, www.tripadvisor.com.ph, www.tripadvisor.com.sg, www.tripadvisor.com.tr, www.tripadvisor.com.tw, www.tripadvisor.com.ve, www.tripadvisor.com.vn, www.tripadvisor.de, www.tripadvisor.dk, www.tripadvisor.es, www.tripadvisor.fr, www.tripadvisor.ie, www.tripadvisor.in, www.tripadvisor.it, www.tripadvisor.jp, www.tripadvisor.nl, www.tripadvisor.pt, www.tripadvisor.ru, www.tripadvisor.sear.tripadvisor.com

Doğrulama

Yalnız sorgu parametreleri kabul edilir; gövde gönderilmez. Bilinmeyen, yinelenen, boş ve geçersiz değerler reddedilir. Yalnız JSON yanıtları; otomatik sayfalama veya tekrar yoktur. Kurallar: AND = ikisi, OR = veya, XOR = yalnız biri, NOT = hariç, => = gerektirir.

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • latitude => longitude; longitude => latitude
  • NOT (next_page_token AND offset); next_page_token: opaque, expires after 1 hour; keep account, filters, device and limit unchanged

Örnekler

bash
curl --get "https://api.apihop.ai/v1/tripadvisor/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=restaurants in Austin"

Tripadvisor: Yer bilgilerini al

GET https://api.apihop.ai/v1/tripadvisor/place

Parametreler

AlanTürSınırlarÖrnek
idstringYer kimliği; id: REQUIRED27936245
languagestringDil; language: optional-
devicestringCihaz; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanYanıtları arşivleme; zero_trace: optionaltrue
tripadvisor_domainstringTripadvisor bölgesel alan adı; tripadvisor_domain: optional; ar.tripadvisor.com, cn.tripadvisor.com, en.tripadvisor.com.hk, fr.tripadvisor.be, fr.tripadvisor.ca, fr.tripadvisor.ch, it.tripadvisor.ch, no.tripadvisor.com, th.tripadvisor.com, tripadvisor.at, tripadvisor.be, tripadvisor.ca, tripadvisor.ch, tripadvisor.cl, tripadvisor.co, tripadvisor.co.id, tripadvisor.co.il, tripadvisor.co.kr, tripadvisor.co.nz, tripadvisor.co.uk, tripadvisor.co.za, tripadvisor.com, tripadvisor.com.ar, tripadvisor.com.au, tripadvisor.com.br, tripadvisor.com.eg, tripadvisor.com.gr, tripadvisor.com.hk, tripadvisor.com.mx, tripadvisor.com.my, tripadvisor.com.pe, tripadvisor.com.ph, tripadvisor.com.sg, tripadvisor.com.tr, tripadvisor.com.tw, tripadvisor.com.ve, tripadvisor.com.vn, tripadvisor.de, tripadvisor.dk, tripadvisor.es, tripadvisor.fr, tripadvisor.ie, tripadvisor.in, tripadvisor.it, tripadvisor.jp, tripadvisor.nl, tripadvisor.pt, tripadvisor.ru, tripadvisor.se, www.tripadvisor.at, www.tripadvisor.be, www.tripadvisor.ca, www.tripadvisor.ch, www.tripadvisor.cl, www.tripadvisor.co, www.tripadvisor.co.id, www.tripadvisor.co.il, www.tripadvisor.co.kr, www.tripadvisor.co.nz, www.tripadvisor.co.uk, www.tripadvisor.co.za, www.tripadvisor.com, www.tripadvisor.com.ar, www.tripadvisor.com.au, www.tripadvisor.com.br, www.tripadvisor.com.eg, www.tripadvisor.com.gr, www.tripadvisor.com.hk, www.tripadvisor.com.mx, www.tripadvisor.com.my, www.tripadvisor.com.pe, www.tripadvisor.com.ph, www.tripadvisor.com.sg, www.tripadvisor.com.tr, www.tripadvisor.com.tw, www.tripadvisor.com.ve, www.tripadvisor.com.vn, www.tripadvisor.de, www.tripadvisor.dk, www.tripadvisor.es, www.tripadvisor.fr, www.tripadvisor.ie, www.tripadvisor.in, www.tripadvisor.it, www.tripadvisor.jp, www.tripadvisor.nl, www.tripadvisor.pt, www.tripadvisor.ru, www.tripadvisor.sear.tripadvisor.com

Doğrulama

Yalnız sorgu parametreleri kabul edilir; gövde gönderilmez. Bilinmeyen, yinelenen, boş ve geçersiz değerler reddedilir. Yalnız JSON yanıtları; otomatik sayfalama veya tekrar yoktur. Kurallar: AND = ikisi, OR = veya, XOR = yalnız biri, NOT = hariç, => = gerektirir.

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • id: positive integer string <= 2147483647 OR canonical HTTPS Tripadvisor URL; no query, fragment, credentials or port

Örnekler

bash
curl --get "https://api.apihop.ai/v1/tripadvisor/place" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=27936245"

Tripadvisor: Yorumları al

GET https://api.apihop.ai/v1/tripadvisor/reviews

Parametreler

AlanTürSınırlarÖrnek
idstringYer kimliği; id: REQUIRED27936245
languagestringDil; language: optional-
next_page_tokenstringSonraki sayfa belirteci; next_page_token: optional; UTF-8 bytes: 24576-
limitintegerSonuç sınırı; limit: optional; min: 1; max: 201
sort_bystringSıralama; sort_by: optional; recommended, newest, most_recent, detailed_reviewrecommended
devicestringCihaz; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanYanıtları arşivleme; zero_trace: optionaltrue
ratingstringYıldızlar, virgülle ayrılır; rating: optional-
monthstringAylar, virgülle ayrılır; month: optional-
offsetintegerSonuç konumu; offset: optional; min: 0; max: 1000000
tripadvisor_domainstringTripadvisor bölgesel alan adı; tripadvisor_domain: optional; ar.tripadvisor.com, cn.tripadvisor.com, en.tripadvisor.com.hk, fr.tripadvisor.be, fr.tripadvisor.ca, fr.tripadvisor.ch, it.tripadvisor.ch, no.tripadvisor.com, th.tripadvisor.com, tripadvisor.at, tripadvisor.be, tripadvisor.ca, tripadvisor.ch, tripadvisor.cl, tripadvisor.co, tripadvisor.co.id, tripadvisor.co.il, tripadvisor.co.kr, tripadvisor.co.nz, tripadvisor.co.uk, tripadvisor.co.za, tripadvisor.com, tripadvisor.com.ar, tripadvisor.com.au, tripadvisor.com.br, tripadvisor.com.eg, tripadvisor.com.gr, tripadvisor.com.hk, tripadvisor.com.mx, tripadvisor.com.my, tripadvisor.com.pe, tripadvisor.com.ph, tripadvisor.com.sg, tripadvisor.com.tr, tripadvisor.com.tw, tripadvisor.com.ve, tripadvisor.com.vn, tripadvisor.de, tripadvisor.dk, tripadvisor.es, tripadvisor.fr, tripadvisor.ie, tripadvisor.in, tripadvisor.it, tripadvisor.jp, tripadvisor.nl, tripadvisor.pt, tripadvisor.ru, tripadvisor.se, www.tripadvisor.at, www.tripadvisor.be, www.tripadvisor.ca, www.tripadvisor.ch, www.tripadvisor.cl, www.tripadvisor.co, www.tripadvisor.co.id, www.tripadvisor.co.il, www.tripadvisor.co.kr, www.tripadvisor.co.nz, www.tripadvisor.co.uk, www.tripadvisor.co.za, www.tripadvisor.com, www.tripadvisor.com.ar, www.tripadvisor.com.au, www.tripadvisor.com.br, www.tripadvisor.com.eg, www.tripadvisor.com.gr, www.tripadvisor.com.hk, www.tripadvisor.com.mx, www.tripadvisor.com.my, www.tripadvisor.com.pe, www.tripadvisor.com.ph, www.tripadvisor.com.sg, www.tripadvisor.com.tr, www.tripadvisor.com.tw, www.tripadvisor.com.ve, www.tripadvisor.com.vn, www.tripadvisor.de, www.tripadvisor.dk, www.tripadvisor.es, www.tripadvisor.fr, www.tripadvisor.ie, www.tripadvisor.in, www.tripadvisor.it, www.tripadvisor.jp, www.tripadvisor.nl, www.tripadvisor.pt, www.tripadvisor.ru, www.tripadvisor.sear.tripadvisor.com
type_of_visitstringZiyaret türleri, virgülle ayrılır; type_of_visit: optional-

Doğrulama

Yalnız sorgu parametreleri kabul edilir; gövde gönderilmez. Bilinmeyen, yinelenen, boş ve geçersiz değerler reddedilir. Yalnız JSON yanıtları; otomatik sayfalama veya tekrar yoktur. Kurallar: AND = ikisi, OR = veya, XOR = yalnız biri, NOT = hariç, => = gerektirir.

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • id: positive integer string <= 2147483647 OR canonical HTTPS Tripadvisor URL; no query, fragment, credentials or port
  • NOT (next_page_token AND offset); next_page_token: opaque, expires after 1 hour; keep account, filters, device and limit unchanged
  • rating: distinct 1..5; month: distinct 1..12; type_of_visit: distinct /^[A-Za-z_]+$/; lists comma-separated

Örnekler

bash
curl --get "https://api.apihop.ai/v1/tripadvisor/reviews" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=27936245"

Yanıtlar ve hatalar

Özgün JSON ve sayı hassasiyeti korunur. Örnek başarılı boş sonuçtur. HTTP 400: girdi; 401: kimlik; 402: bakiye; 403: erişim; 405: yöntem; 429: sınır; 5xx: hizmet. X-Request-Id saklayın.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}