Hotel

Schema for a Starwood Hotels and Resorts hotel property

Properties

Name Type Description
id string Unique Starwood hotel identifier
name string Full hotel property name
brand string Starwood brand code
brandName string Full Starwood brand name
category integer SPG category level (1-7, higher is more luxury)
thumbnail string URL to the hotel thumbnail image
address string Street address
city string City name
state string State or province code
country string Two-letter ISO country code
zipcode string Postal code
phone string Hotel front desk phone number
fax string Hotel fax number
description string Hotel property description
latitude number Geographic latitude
longitude number Geographic longitude
bestRate number Best available rate per night in USD
currency string Currency code for rates
redeemPoints integer SPG Starpoints required for award redemption per night
redeemCashPoints integer Starpoints required for cash-and-points redemption
amenities array List of hotel amenity codes
View JSON Schema on GitHub

JSON Schema

starwood-hotel-search-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/starwood-hotels-and-resorts/main/json-schema/starwood-hotel-search-schema.json",
  "title": "Hotel",
  "description": "Schema for a Starwood Hotels and Resorts hotel property",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique Starwood hotel identifier"
    },
    "name": {
      "type": "string",
      "description": "Full hotel property name"
    },
    "brand": {
      "type": "string",
      "description": "Starwood brand code",
      "enum": ["SH", "WI", "WH", "SR", "LM", "FP", "AL", "EL", "TP", "DH"]
    },
    "brandName": {
      "type": "string",
      "description": "Full Starwood brand name",
      "examples": ["Sheraton", "Westin", "W Hotels", "St. Regis", "Le Méridien"]
    },
    "category": {
      "type": "integer",
      "description": "SPG category level (1-7, higher is more luxury)",
      "minimum": 1,
      "maximum": 7
    },
    "thumbnail": {
      "type": "string",
      "format": "uri",
      "description": "URL to the hotel thumbnail image"
    },
    "address": {
      "type": "string",
      "description": "Street address"
    },
    "city": {
      "type": "string",
      "description": "City name"
    },
    "state": {
      "type": "string",
      "description": "State or province code"
    },
    "country": {
      "type": "string",
      "description": "Two-letter ISO country code",
      "pattern": "^[A-Z]{2}$"
    },
    "zipcode": {
      "type": "string",
      "description": "Postal code"
    },
    "phone": {
      "type": "string",
      "description": "Hotel front desk phone number"
    },
    "fax": {
      "type": "string",
      "description": "Hotel fax number"
    },
    "description": {
      "type": "string",
      "description": "Hotel property description"
    },
    "latitude": {
      "type": "number",
      "description": "Geographic latitude",
      "minimum": -90,
      "maximum": 90
    },
    "longitude": {
      "type": "number",
      "description": "Geographic longitude",
      "minimum": -180,
      "maximum": 180
    },
    "bestRate": {
      "type": "number",
      "description": "Best available rate per night in USD",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "description": "Currency code for rates",
      "pattern": "^[A-Z]{3}$"
    },
    "redeemPoints": {
      "type": "integer",
      "description": "SPG Starpoints required for award redemption per night",
      "minimum": 0
    },
    "redeemCashPoints": {
      "type": "integer",
      "description": "Starpoints required for cash-and-points redemption",
      "minimum": 0
    },
    "amenities": {
      "type": "array",
      "description": "List of hotel amenity codes",
      "items": {
        "type": "string"
      }
    }
  },
  "required": ["id", "name", "brand", "country"],
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/starwood-hotel-search"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.