API Hop

Dokumentation

API Hop-Dokumentation

TripAdvisor API-Referenz

Tripadvisor-Orte suchen und Details sowie Bewertungen abrufen.

Parallelitätslimit

KI und Data teilen jeweils einen kontoweiten Pool gleichzeitiger Anfragen: standardmäßig 5 KI / 2 Data, abhängig vom Abonnement. Endpunktspezifische Limits bleiben durch den Kategoriepool begrenzt. Bei Erreichen eines Limits wird HTTP 429 zurückgegeben. Asynchrone Aufgaben belegen einen Platz bis zum Ausführungsende.

GET /v1/tripadvisor/search
Standardlimit: 2
GET /v1/tripadvisor/place
Standardlimit: 2
GET /v1/tripadvisor/reviews
Standardlimit: 2

Tripadvisor-Orte suchen und Details sowie Bewertungen abrufen.

Authentifizierung und Abrechnung

Der Standardpreis beträgt $0.0003 (300 credits) pro erfolgreicher Anfrage. Verwenden Sie Ihren API Hop-API-Schlüssel. Aktive Gateways und Schlüsselrechte bestimmen den Zugriff. Der aktuelle Katalog und Ihr Konto zeigen den Preis pro erfolgreicher Anfrage; Kontopreise haben Vorrang. Erfolgreiche leere Ergebnisse sind kostenpflichtig. Fehler geben die Reservierung frei. Zeitlimit: 60 Sekunden, ohne automatische Wiederholung oder Seitennavigation. Abrechnungsfehler wiederholen die Anbieteranfrage nicht.

http
Authorization: Bearer YOUR_API_KEY

Tripadvisor: Orte suchen

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

Abfrageparameter

FeldTypGrenzenBeispiel
querystringSuchbegriff; query: REQUIREDrestaurants in Austin
locationstringSuchort; location: optional-
languagestringSprache; language: optional-
next_page_tokenstringToken der nächsten Seite; next_page_token: optional; UTF-8 bytes: 24576-
limitintegerErgebnislimit; limit: optional; min: 1; max: 1001
devicestringGerät; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanAntworten nicht archivieren; zero_trace: optionaltrue
latitudenumberBreitengrad; latitude: optional; min: -90; max: 90-90
longitudenumberLängengrad; longitude: optional; min: -180; max: 180-180
ssrcstringSuchbereich; ssrc: optional; a, r, A, h, g, fa
offsetintegerErgebnisversatz; offset: optional; min: 0; max: 10000
tripadvisor_domainstringRegionale Tripadvisor-Domain; 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

Validierung

Nur Abfrageparameter, kein Anfragekörper. Unbekannte, doppelte, leere und ungültige Werte werden abgelehnt. Nur JSON-Antworten; keine automatische Seitennavigation oder Wiederholung. Regeln: AND = beide, OR = oder, XOR = genau eines, NOT = ausgeschlossen, => = benötigt.

  • 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

Beispiele

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

Tripadvisor: Ortsdetails abrufen

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

Abfrageparameter

FeldTypGrenzenBeispiel
idstringOrtskennung; id: REQUIRED27936245
languagestringSprache; language: optional-
devicestringGerät; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanAntworten nicht archivieren; zero_trace: optionaltrue
tripadvisor_domainstringRegionale Tripadvisor-Domain; 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

Validierung

Nur Abfrageparameter, kein Anfragekörper. Unbekannte, doppelte, leere und ungültige Werte werden abgelehnt. Nur JSON-Antworten; keine automatische Seitennavigation oder Wiederholung. Regeln: AND = beide, OR = oder, XOR = genau eines, NOT = ausgeschlossen, => = benötigt.

  • 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

Beispiele

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

Tripadvisor: Bewertungen abrufen

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

Abfrageparameter

FeldTypGrenzenBeispiel
idstringOrtskennung; id: REQUIRED27936245
languagestringSprache; language: optional-
next_page_tokenstringToken der nächsten Seite; next_page_token: optional; UTF-8 bytes: 24576-
limitintegerErgebnislimit; limit: optional; min: 1; max: 201
sort_bystringSortierung; sort_by: optional; recommended, newest, most_recent, detailed_reviewrecommended
devicestringGerät; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanAntworten nicht archivieren; zero_trace: optionaltrue
ratingstringSterne, kommagetrennt; rating: optional-
monthstringMonate, kommagetrennt; month: optional-
offsetintegerErgebnisversatz; offset: optional; min: 0; max: 1000000
tripadvisor_domainstringRegionale Tripadvisor-Domain; 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_visitstringBesuchstypen, kommagetrennt; type_of_visit: optional-

Validierung

Nur Abfrageparameter, kein Anfragekörper. Unbekannte, doppelte, leere und ungültige Werte werden abgelehnt. Nur JSON-Antworten; keine automatische Seitennavigation oder Wiederholung. Regeln: AND = beide, OR = oder, XOR = genau eines, NOT = ausgeschlossen, => = benötigt.

  • 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

Beispiele

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

Antworten und Fehler

Original-JSON und Zahlengenauigkeit bleiben erhalten. Das Beispiel zeigt ein leeres erfolgreiches Ergebnis. HTTP 400: Eingabe; 401: Anmeldung; 402: Guthaben; 403: Zugriff; 405: Methode; 429: Ratenlimit; 5xx: Dienstfehler. Bewahren Sie X-Request-Id auf.

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