# Rove Hotels Checkout API documentation \| HyperGuest Store

Use this API to look up hotels in the store catalog and check live room availability and prices. Both endpoints return JSON. Catalog results help you locate a property; availability results reflect the requested dates and guest occupancy.

## Base URL and authentication

Send requests to `https://checkout.rovehotels.com`. Send requests directly to the public store. No sign-in, API key or Authorization header is required. The store supplies its own HyperGuest credentials on the server.

## API versioning and deprecation

The current REST API major version is v1. Use the /api/v1/ paths to pin your integration. Breaking changes require a new major version. Existing unversioned URLs are aliases of v1. When a version is deprecated, affected responses will carry a Deprecation header. Once a removal date is set, affected responses will also carry a Sunset header, and /docs will publish the removal date and migration instructions. Removal will be announced at least 90 days in advance.

## Free tier

Catalog suggestions and live availability searches are free. You can make your first API call immediately without an account, payment details or an API key. Hotel bookings are priced separately.

## Rate limits

Each documented endpoint allows 120 requests per 60-second window, per client IP, store and server instance. Requests that fail endpoint validation count toward the quota.

- `RateLimit-Policy` reports the quota (`q`) and window length in seconds (`w`).
- `RateLimit` reports the remaining quota (`a`) and seconds until the window ends (`w`).
- `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` provide those values as separate integers.

When the quota is exhausted, the endpoint returns HTTP 429 with code `rate_limit_exceeded`. Wait the number of seconds in `Retry-After` before retrying.

## Error format

API errors include a machine-readable `code` and a human-readable `message`. For example, a missing suggestion query returns HTTP 400 with:

```json
{"code":"missing_query","message":"Provide a property or destination name in the query parameter."}
```

Rate-limit and sandbox errors also include the legacy `error` field with the same value as `code`.

Availability and suggestions return HTTP 501 with `store_config_unavailable` when the Store configuration is unavailable.

## Pagination

Availability, catalog suggestions, and sandbox availability accept optional `limit` and `cursor` query parameters. Send `limit` (1–100) for the first page. Subsequent requests use the previous response's `nextCursor` as `cursor`, with the same search filters and page size. If you send a cursor without a limit, the page size is 25.

```json
{"items":[],"nextCursor":null}
```

A null `nextCursor` means the last page. A request beyond the end returns empty `items` and a null cursor. Each page is based on the current results, so catalog or availability changes between calls can shift items. Availability pages count properties, with all returned room offers included for each property. Invalid or repeated pagination parameters return HTTP 400 with `invalid_pagination`. Requests that omit both parameters return the original array.

## Destination and property suggestions

`GET /api/v1/auto-suggest`

Pass a hotel or city name in the required `query` parameter. Omit `type` to find both properties and destinations, or set it to `property` or `destination` to narrow the results. This example looks up hotels matching Amsterdam:

```sh
curl --get 'https://checkout.rovehotels.com/api/v1/auto-suggest' \
  --data-urlencode 'query=Amsterdam' \
  --data-urlencode 'type=property'
```

Without pagination, a successful response is an array of suggestions. Here is an example property result:

```json
[
  {
    "id": 97333,
    "name": "NH Amsterdam Zuid",
    "type": "property",
    "displayName": "Amsterdam, North Holland, Netherlands",
    "slug": "nh-amsterdam-zuid"
  }
]
```

Use an ID from a result whose `type` is `property` for the availability request. A destination ID identifies a location rather than a hotel. Catalog contents vary by store. If no suggestions appear, try a different name or choose a hotel from the store's listings. A missing `query` returns HTTP 400.

## Hotel availability search

`GET /api/v1/search`

Send the property ID from the suggestion, or use the numeric ID in the store's hotel listing URL. Choose a future check-in date and specify the length of the stay and guests per room. This example requests a two-night stay for two adults. Replace the date and property ID with values for your trip.

```sh
curl --get 'https://checkout.rovehotels.com/api/v1/search' \
  --data-urlencode 'checkIn=2027-06-15' \
  --data-urlencode 'nights=2' \
  --data-urlencode 'hotelIds=97333' \
  --data-urlencode 'guests=2' \
  --data-urlencode 'currency=USD' \
  --data-urlencode 'nationality=GB'
```

### Search parameters

- `checkIn` is the arrival date in YYYY-MM-DD format.
- `nights` is a positive integer.
- `hotelIds` contains one or more comma-separated property IDs.
- `guests` describes the occupancy of each room, with rooms separated by dots. For example, `2-5,8.1` represents two adults and children aged five and eight in the first room, and one adult in the second.
- `currency` is the requested currency code, or `PROPERTY` to request the property's currency.
- `nationality` is the guest's two-letter nationality code.
- `ratePlans` is an optional filter available when the store enables it.

### Reading the response

Results are grouped by property. Without pagination, HTTP 200 returns a JSON array. Each entry has an `id` and a `rooms` array. Use `roomCode` and `ratePlanCode` to distinguish offers, `numberOfAvailableRooms` for inventory, and `pax` for the occupancy used for the quote. Read `price.amount` together with `price.currency`. Check `fees` and `cancellationPolicies` before comparing offers.

An empty array means no offers matched the search. Try changing dates, occupancy or properties. Rates and availability can change between requests. To reserve a room, open its hotel page and complete checkout.

### Search errors

- HTTP 400 returns `invalid_nights` for an invalid number of nights or `invalid_search` for other rejected search parameters.
- HTTP 403 returns `rate_plan_filter_forbidden` when the store has disabled the `ratePlans` filter. Retry without it.
- HTTP 500 returns `store_auth_configuration_error` when store credentials are unavailable or `search_unavailable` when the search could not be completed.


## Sandbox

Use the free sandbox to try the availability response with a fictional hotel. It returns synthetic data and cannot create reservations or access live inventory.

### Self-serve API keys

Send an empty `POST /api/v1/sandbox/keys` to generate a sandbox API key immediately. No account or approval is required. HTTP 201 returns `apiKey` and `expiresAt` (UTC). Keys work on this store's sandbox for one hour.

The `Idempotency-Key` header is optional. Send a fresh UUIDv7 per key issuance and reuse it on retries. The same UUID returns the same API key and expiry on this store for one hour from the UUID timestamp. Timestamps up to 30 seconds ahead are accepted. Omitting the header issues a new API key. An invalid, repeated or expired header returns HTTP 400 with `invalid_idempotency_key`. Retries count toward the rate limit.

```sh
# Generate once per issuance with Node.js 26 and keep the value for retries.
IDEMPOTENCY_KEY="$(node -p 'require("node:crypto").randomUUIDv7()')"
SANDBOX_KEY="$(curl -fsS -X POST -H "Idempotency-Key: $IDEMPOTENCY_KEY" 'https://checkout.rovehotels.com/api/v1/sandbox/keys' | jq -er '.apiKey')"
curl -fsS -H "X-API-Key: $SANDBOX_KEY" 'https://checkout.rovehotels.com/api/v1/sandbox/search?hotelIds=999000001'
```

The sandbox accepts a comma-separated list of numeric `hotelIds`. Use `999000001` to get the sample offer or another ID to see an empty result. The sample represents two adults in a double room and uses USD. A missing, invalid or expired key returns HTTP 401. Generate a new key if yours expires.

## Resources

- [OpenAPI specification (JSON)](https://checkout.rovehotels.com/openapi.json)
- [Hotel availability skill](https://checkout.rovehotels.com/skills/find-hotel-availability/SKILL.md)
- [Store guide for AI agents](https://checkout.rovehotels.com/llms.txt)
- [HyperGuest GitHub organization](https://github.com/hg-official)


[View page](https://checkout.rovehotels.com/docs) · [Store homepage](https://checkout.rovehotels.com) · [Pricing](/pricing.md) · [Sitemap](/sitemap.xml)
