# Search hotels (JSON body) (/api-reference/hotels/search-with-a-body)

`POST https://api.voyagelabs.ai/v1/hotels/search`

**The same search, with its fields in a JSON body**

Needs a key: `X-API-Key: vl_live_...` (or `vl_test_...`), or `Authorization: Bearer <key>`.

## Request body

- `application/json`: object (SearchRequest)

## Responses

- `200`: The page asked for.
- `400`: The request cannot be read.
- `401`: No key, or one nobody issued.
- `403`: The key may not do this, or not from this network.
- `429`: Over a limit. Retry-After says when.
- `502`: The supplier failed.
- `503`: Temporarily unavailable. Retry-After says when.
- `504`: The supplier took too long.