Skip to content

trivago.com.br

Trivago API

Query public Trivago data with GeckoAPI and receive structured JSON. Choose an operation to review its inputs, credit cost and response fields.

Searches accommodations in Trivago by destination, dates and occupancy, returning predicted prices, reviews, highlights and pagination in structured JSON.

GeckoAPI is independent of Trivago. This integration reads public data; it does not grant access to private accounts or account management operations.

Available operations

Search stays

trivago.com.br:plp

Searches accommodations in Trivago by destination, dates and occupancy, returning predicted prices, reviews, highlights and pagination in structured JSON.

1 credit per request

Get accommodation details

trivago.com.br:pdp

Extracts a listing's details from Trivago, including identity, description, review, address, images, amenities, rooms, and available deals.

1 credit per request

These are standard credit costs. Account-specific pricing is shown in the dashboard. Each operation has its own supported inputs and regional coverage.

Make your first request

The example uses search stays. Replace YOUR_API_KEY with your server-side API key. Copy supported inputs from the reference for the operation you choose.

Trivago · cURL
curl -X POST https://api.geckoapi.com.br/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "target": "trivago.com.br",
  "type": "plp",
  "location": "São Paulo",
  "checkinDate": "2026-08-10",
  "checkoutDate": "2026-08-12",
  "numAdults": 2,
  "numRooms": 1,
  "numChildren": 0,
  "page": 1,
  "currency": "BRL",
  "lang": "pt-br"
}'

Example JSON response

Abbreviated example from the same operation. Arrays and nested objects are shortened here; the endpoint reference includes the full documented schema. Source content retains its original language.

Abbreviated response
{
  "requestId": "527587af-83dc-4c96-a7fb-8a29bbb64ab8",
  "executionId": "01JZTRIVAGOPLP000000000001",
  "data": {
    "source": "trivago.com.br",
    "type": "plp",
    "parser": "1.0.0",
    "requestUrl": "https://www.trivago.com.br/pt-BR/odr/hotels-sao-paulo?search=200-60123",
    "extractedAt": "2026-07-12T15:30:00.000Z",
    "location": "São Paulo",
    "checkinDate": "2026-08-10",
    "checkoutDate": "2026-08-12",
    "numAdults": 2,
    "numChildren": 0,
    "numRooms": 1,
    "currency": "BRL",
    "lang": "pt-BR",
    "destination": {
      "id": 60123,
      "namespace": 200,
      "name": "São Paulo",
      "locationLabel": "São Paulo, Brasil",
      "type": "City"
    },
    "page": 1,
    "resultsPerPage": 35,
    "offset": 0,
    "returnedResults": 35
  }
}
Explore the full response and field descriptions

Integrate with REST or MCP

Call POST /v1/extract from your backend, or use the operation-specific tool on POST /v1/mcp. The API reference includes both request formats. Keep credentials in your backend and handle missing fields, pagination and errors according to that operation's rules.

Authentication and getting started

Ready to test the Trivago API?

Open the documented example in the sandbox and inspect the response before integrating it into your application.