# Find Agoda hotel rates with free cancellation

**Use case:** 

Separate refundable rates from non-refundable ones. Every offer in roomRates carries policies, pricePerNight, originalPricePerNight and taxesAndFeesIncluded.

## Input

```json
{
  "mode": "search",
  "locations": [
    "Bali"
  ],
  "checkIn": "2027-07-05",
  "checkOut": "2027-07-08",
  "adults": 2,
  "currency": "USD",
  "country": "US",
  "maxResultsPerInput": 3
}
```

## Output

```json
{
  "propertyName": {
    "label": "Property name",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "checkIn": {
    "label": "Check-in",
    "format": "string"
  },
  "checkOut": {
    "label": "Check-out",
    "format": "string"
  },
  "lowestPricePerNight": {
    "label": "Lowest nightly rate",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "available": {
    "label": "Available",
    "format": "boolean"
  },
  "roomRates": {
    "label": "Room rates",
    "format": "array"
  },
  "propertyUrl": {
    "label": "Property URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Agoda Hotel API](https://apify.com/johnvc/agoda-hotel-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/agoda-hotel-api) to learn more, explore other use cases, and run it yourself.