> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.awardtool.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.awardtool.com/_mcp/server.

# All Hotel 

POST https://apisv2.awardtoolapi.com/api/hotel_all
Content-Type: application/json

## Get All Supported Hotels

Returns all hotels currently supported by AwardTool, including availability, cash and points pricing, location, ratings, and update information.

### Endpoint

```
POST https://apisv2.awardtoolapi.com/api/hotel_all

 ```

### Request Fields

`api_key` — API key used to authenticate the request.

### Response Fields

Each item in `data` represents one hotel supported by AwardTool.

`id` — AwardTool’s unique hotel identifier, such as `hyatt_kauai`.

`hotel_id` — Hotel identifier used by the associated hotel loyalty program.

`name` — Hotel’s display name.

`brand` — Parent hotel brand or loyalty program, such as `hyatt` or `marriott`.

`sub_brand` — Hotel’s sub-brand or collection, such as `Grand Hyatt`. This field may be omitted when unavailable.

`availability` — Human-readable award-availability percentage, such as `89%`.

`availability_num` — Award-availability percentage with greater numeric precision.

`cash_min` — Lowest observed cash price.

`cash_median` — Median observed cash price.

`cash_max` — Highest observed cash price.

`points_min` — Lowest observed points price.

`points_median` — Median observed points price.

`points_max` — Highest observed points price.

`point_val_min` — Lowest observed redemption value in cents per point.

`point_val_median` — Median observed redemption value in cents per point.

`point_val_max` — Highest observed redemption value in cents per point.

`formatted_address` — Hotel’s formatted street address and geographic area.

`hotel_location` — Hotel’s geographic coordinates.

- `latitude` — Hotel’s latitude.
    
- `longitude` — Hotel’s longitude.
    

`g_link` — Google Maps link for the hotel.

`g_rating` — Hotel’s Google rating.

`g_rating_total` — Total number of Google ratings or reviews.

`image` — URL of the hotel image hosted by AwardTool.

`popularity` — AwardTool popularity score used to rank hotels. Higher values indicate greater relative popularity.

`update_date` — Date associated with the hotel data in `YYYY-MM-DD` format.

`update_epoch` — Unix timestamp associated with the hotel record.

`mid_cash_r` — Additional derived cash-rate value. This field may be omitted when unavailable.

Reference: https://docs.awardtool.com/award-tool-api/award-hotel-api/all-hotel

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/hotel_all:
    post:
      operationId: 'All Hotel '
      summary: 'All Hotel '
      description: >-
        ## Get All Supported Hotels


        Returns all hotels currently supported by AwardTool, including
        availability, cash and points pricing, location, ratings, and update
        information.


        ### Endpoint


        ```

        POST https://apisv2.awardtoolapi.com/api/hotel_all

         ```

        ### Request Fields


        `api_key` — API key used to authenticate the request.


        ### Response Fields


        Each item in `data` represents one hotel supported by AwardTool.


        `id` — AwardTool’s unique hotel identifier, such as `hyatt_kauai`.


        `hotel_id` — Hotel identifier used by the associated hotel loyalty
        program.


        `name` — Hotel’s display name.


        `brand` — Parent hotel brand or loyalty program, such as `hyatt` or
        `marriott`.


        `sub_brand` — Hotel’s sub-brand or collection, such as `Grand Hyatt`.
        This field may be omitted when unavailable.


        `availability` — Human-readable award-availability percentage, such as
        `89%`.


        `availability_num` — Award-availability percentage with greater numeric
        precision.


        `cash_min` — Lowest observed cash price.


        `cash_median` — Median observed cash price.


        `cash_max` — Highest observed cash price.


        `points_min` — Lowest observed points price.


        `points_median` — Median observed points price.


        `points_max` — Highest observed points price.


        `point_val_min` — Lowest observed redemption value in cents per point.


        `point_val_median` — Median observed redemption value in cents per
        point.


        `point_val_max` — Highest observed redemption value in cents per point.


        `formatted_address` — Hotel’s formatted street address and geographic
        area.


        `hotel_location` — Hotel’s geographic coordinates.


        - `latitude` — Hotel’s latitude.
            
        - `longitude` — Hotel’s longitude.
            

        `g_link` — Google Maps link for the hotel.


        `g_rating` — Hotel’s Google rating.


        `g_rating_total` — Total number of Google ratings or reviews.


        `image` — URL of the hotel image hosted by AwardTool.


        `popularity` — AwardTool popularity score used to rank hotels. Higher
        values indicate greater relative popularity.


        `update_date` — Date associated with the hotel data in `YYYY-MM-DD`
        format.


        `update_epoch` — Unix timestamp associated with the hotel record.


        `mid_cash_r` — Additional derived cash-rate value. This field may be
        omitted when unavailable.
      tags:
        - Award Hotel API
      responses:
        '200':
          description: Successful response
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                api_key:
                  type: string
              required:
                - api_key
servers:
  - url: https://apisv2.awardtoolapi.com
    description: Default

```

## Examples

**Request**

```json
{
  "api_key": "YOUR_API_KEY"
}
```

**SDK Code**

```python
import requests

url = "https://apisv2.awardtoolapi.com/api/hotel_all"

payload = { "api_key": "YOUR_API_KEY" }
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://apisv2.awardtoolapi.com/api/hotel_all';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"api_key":"YOUR_API_KEY"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://apisv2.awardtoolapi.com/api/hotel_all"

	payload := strings.NewReader("{\n  \"api_key\": \"YOUR_API_KEY\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://apisv2.awardtoolapi.com/api/hotel_all")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"api_key\": \"YOUR_API_KEY\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://apisv2.awardtoolapi.com/api/hotel_all")
  .header("Content-Type", "application/json")
  .body("{\n  \"api_key\": \"YOUR_API_KEY\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://apisv2.awardtoolapi.com/api/hotel_all', [
  'body' => '{
  "api_key": "YOUR_API_KEY"
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://apisv2.awardtoolapi.com/api/hotel_all");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"api_key\": \"YOUR_API_KEY\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = ["api_key": "YOUR_API_KEY"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://apisv2.awardtoolapi.com/api/hotel_all")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```