# Marriott API

> Marriott provides hotel listings, nightly rates, and details as a workflow and API.

Marriott’s Search hotels method returns hotel listings, standard public nightly rates, and details for a location and check-in and check-out dates.

- Page: https://fous.com/tools/marriott
- Handle: `@marriott`
- Category: [Travel](https://fous.com/tools/category/travel)
- Source website: https://marriott.com
- Last verified: Sep 29, 2026

## Methods

### Search hotels

Operation `search_hotels`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Find Marriott-family hotels for a place and stay dates in Marriott’s search order, with standard public nightly rates and hotel details. Rates exclude taxes and may change before booking.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `brand` | string | no | `"Courtyard"` | Brand name to filter by, for example Courtyard. Leave blank for all brands. |
| `rooms` | integer | no | `1` | Number of rooms, for example 1. |
| `adults` | integer | no | `1` | Adults per room, for example 2. |
| `check_in` | string | yes | `"2026-10-22"` | Arrival date, for example 2026-10-20. |
| `location` | string | yes | `"Portland, Oregon"` | Place to search, for example Seattle. |
| `check_out` | string | yes | `"2026-10-24"` | Departure date, for example 2026-10-22. |
| `max_results` | integer | no | `5` | Maximum hotels to return, for example 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "location",
    "check_in",
    "check_out"
  ],
  "properties": {
    "brand": {
      "type": "string",
      "default": "",
      "description": "Brand name to filter by, for example Courtyard. Leave blank for all brands.",
      "examples": [
        "Courtyard"
      ]
    },
    "rooms": {
      "type": "integer",
      "default": 1,
      "minimum": 1,
      "description": "Number of rooms, for example 1.",
      "examples": [
        1
      ]
    },
    "adults": {
      "type": "integer",
      "default": 2,
      "minimum": 1,
      "description": "Adults per room, for example 2.",
      "examples": [
        1
      ]
    },
    "check_in": {
      "type": "string",
      "format": "date",
      "description": "Arrival date, for example 2026-10-20.",
      "examples": [
        "2026-10-22",
        "2026-10-20"
      ]
    },
    "location": {
      "type": "string",
      "description": "Place to search, for example Seattle.",
      "examples": [
        "Portland, Oregon",
        "Seattle"
      ]
    },
    "check_out": {
      "type": "string",
      "format": "date",
      "description": "Departure date, for example 2026-10-22.",
      "examples": [
        "2026-10-24",
        "2026-10-22"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum hotels to return, for example 20.",
      "x-fous-developer": true,
      "examples": [
        5,
        8
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "brand": "Courtyard",
      "rooms": 1,
      "adults": 1,
      "check_in": "2026-10-22",
      "location": "Portland, Oregon",
      "check_out": "2026-10-24",
      "max_results": 5
    },
    {
      "check_in": "2026-10-20",
      "location": "Seattle",
      "check_out": "2026-10-22",
      "max_results": 8
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `hotels` | array |  |  |
| `hotels[].url` | string | `"https://www.marriott.com/en-us/hotels/pdxpc-courtyard-portland-city-center/overview/"` |  |
| `hotels[].name` | string | `"Courtyard by Marriott Portland City Center"` |  |
| `hotels[].brand` | string | `"Courtyard"` |  |
| `hotels[].address` | string or null | `"550 SW Oak Street, Portland, OR, 97204, US"` |  |
| `hotels[].currency` | string or null | `"USD"` |  |
| `hotels[].guest_rating` | number or null | `4` |  |
| `hotels[].nightly_rate` | number or null | `116.35` |  |
| `hotels[].review_count` | integer or null | `1571` |  |
| `hotels[].property_code` | string | `"PDXPC"` |  |
| `hotels[].distance_miles` | number or null | `0.45` |  |

**Example input**

```json
{
  "brand": "Courtyard",
  "rooms": 1,
  "adults": 1,
  "check_in": "2026-10-22",
  "location": "Portland, Oregon",
  "check_out": "2026-10-24",
  "max_results": 5
}
```

**Example output**

```json
{
  "hotels": [
    {
      "url": "https://www.marriott.com/en-us/hotels/pdxpc-courtyard-portland-city-center/overview/",
      "name": "Courtyard by Marriott Portland City Center",
      "brand": "Courtyard",
      "address": "550 SW Oak Street, Portland, OR, 97204, US",
      "currency": "USD",
      "guest_rating": 4,
      "nightly_rate": 116.35,
      "review_count": 1571,
      "property_code": "PDXPC",
      "distance_miles": 0.45
    },
    {
      "url": "https://www.marriott.com/en-us/hotels/pdxcl-courtyard-portland-downtown-convention-center/overview/",
      "name": "Courtyard by Marriott Portland Downtown/Convention Center",
      "brand": "Courtyard",
      "address": "435 NE Wasco St, Portland, OR, 97232, US",
      "currency": "USD",
      "guest_rating": 4.2,
      "nightly_rate": 179.77,
      "review_count": 1224,
      "property_code": "PDXCL",
      "distance_miles": 1.48
    },
    {
      "url": "https://www.marriott.com/en-us/hotels/pdxnh-courtyard-portland-north/overview/",
      "name": "Courtyard by Marriott Portland North",
      "brand": "Courtyard",
      "address": "1231 North Anchor Way, Portland, OR, 97217, US",
      "currency": "USD",
      "guest_rating": 3.7,
      "nightly_rate": 120.73,
      "review_count": 789,
      "property_code": "PDXNH",
      "distance_miles": 6.2
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@marriott",
  "visibility": "public",
  "operation": "search_hotels",
  "version": 1,
  "input": {
    "brand": "Courtyard",
    "rooms": 1,
    "adults": 1,
    "check_in": "2026-10-22",
    "location": "Portland, Oregon",
    "check_out": "2026-10-24",
    "max_results": 5
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@marriott\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_hotels\",\n  \"version\": 1,\n  \"input\": {\n    \"brand\": \"Courtyard\",\n    \"rooms\": 1,\n    \"adults\": 1,\n    \"check_in\": \"2026-10-22\",\n    \"location\": \"Portland, Oregon\",\n    \"check_out\": \"2026-10-24\",\n    \"max_results\": 5\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@marriott",
  "visibility": "public",
  "operation": "search_hotels",
  "version": 1,
  "input": {
    "brand": "Courtyard",
    "rooms": 1,
    "adults": 1,
    "check_in": "2026-10-22",
    "location": "Portland, Oregon",
    "check_out": "2026-10-24",
    "max_results": 5
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/marriott`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `search_hotels`: Search hotels. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-marriott https://api.fous.com/mcp/tools/marriott --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Compare Marriott-family hotels by location and stay dates
- Review hotel brands, addresses, and guest ratings
- Check standard public nightly rates before booking
- Find hotels within a distance of a location

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Marriott tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a Marriott account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from marriott.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What Marriott-family hotels are available for my location and dates?

Search hotels returns hotel listings for a location and check-in and check-out dates.

### What are the standard public nightly rates?

Search hotels returns standard public nightly rates. Rates exclude taxes and may change before booking.

### What details are available for each hotel?

Search hotels returns details including hotel name, brand, address, guest rating, review count, and distance.

## Related

- [Expedia API](https://fous.com/tools/expedia.md): Expedia helps travelers find hotels, vacation stays, and travel deals, with hotel prices and flight options for selected destinations and dates; flight listings may be limited.
- [Google Hotels API](https://fous.com/tools/google-hotels.md): Google Hotels finds stays, guest details and reviews, and compares booking-site totals, cancellation and links for up to six adults; prices and availability can change, and some prices or topic ratings may be unavailable.
- [Kayak API](https://fous.com/tools/kayak.md): Kayak compares flight and hotel prices across booking sites and current rental car offers; hotel rates assume two adults per room and cover public location pages, while prices and availability can change at booking.
- [Booking.com API](https://fous.com/tools/booking-com.md): Booking.com helps find stays, property details and public guest reviews; prices and cancellation terms depend on selected dates, and displayed prices may exclude taxes and fees.
- [Trip.com API](https://fous.com/tools/trip-com.md): Trip.com offers hotel and flight bookings, with hotel listings limited to initial public results and prices and fares subject to change.
- [Tripadvisor API](https://fous.com/tools/tripadvisor.md): Tripadvisor provides traveler-ranked first-page city listings of attractions, restaurants and hotels, plus latest reviews; hotel prices and booking sites depend on supplied stay dates and availability.
- [Agoda API](https://fous.com/tools/agoda.md): Agoda finds stays and room prices for selected dates; displayed prices exclude taxes and fees, and availability, prices, and cancellation terms may change before booking.
- [Priceline API](https://fous.com/tools/priceline.md): Priceline finds travel deals and returns publicly priced hotel options with ratings, USD prices and cancellation details, plus rental-car offers whose prices may change at checkout.
- [All Travel tools](https://fous.com/tools/category/travel)
