directrate

Hotel chain

Marriott rates & Marriott Bonvoy points API

Every Marriott rate plan, the Bonvoy member rate, dynamic award nights in points and which 35k/40k/50k/85k free-night certificate covers them.

Public rate
✓
Member rate
✓
Award points
✓
Native calendar
✓
Comp set batch
✓
Credits per shop
1
Comp set, per hotel
0.25
Calendar, per night
0.1
  • ·Award pricing is dynamic: the points cost of the same room moves by the night and by the day you ask.
  • ·Comp sets ride a native area batch — up to 25 hotels in about one upstream call.
  • ·Property codes are MARSHA codes (CHIRL); find them with GET /hotels.
curl -s https://api.directrate.dev/v1/shop \
  -H "x-api-key: $DIRECTRATE_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "chain": "marriott",
    "hotel_code": "CHIRL",
    "checkin": "2026-11-10",
    "los": 1,
    "occupancy": {
      "adults": 2
    }
  }'
import os
import requests

r = requests.post(
    "https://api.directrate.dev/v1/shop",
    headers={"x-api-key": os.environ["DIRECTRATE_API_KEY"]},
    json={
      "chain": "marriott",
      "hotel_code": "CHIRL",
      "checkin": "2026-11-10",
      "los": 1,
      "occupancy": {
        "adults": 2,
      },
    },
)
r.raise_for_status()
print(r.headers.get("x-credits-charged"), r.json())
const res = await fetch("https://api.directrate.dev/v1/shop", {
  method: "POST",
  headers: {
    "x-api-key": process.env.DIRECTRATE_API_KEY,
    "content-type": "application/json",
  },
  body: JSON.stringify({
    "chain": "marriott",
    "hotel_code": "CHIRL",
    "checkin": "2026-11-10",
    "los": 1,
    "occupancy": {
      "adults": 2
    }
  }),
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(res.headers.get("x-credits-charged"), await res.json());
{
  "chain": "marriott",
  "hotel": {
    "code": "CHIRL",
    "currency": "USD",
    "name": "Residence Inn by Marriott Chicago Downtown/Loop",
    "brand": "Residence Inn"
  },
  "checkin": "2026-11-10",
  "los": 1,
  "status": "available",
  "rates": [
    {
      "room_name": "Superior",
      "rate_name": "Redemption with Points Upgrade",
      "rate_type": "other",
      "member_only": false,
      "refundable": true,
      "price_per_night": null,
      "price_per_night_after_tax": 23.78,
      "price_total": 23.78,
      "tax_included": false,
      "currency": "USD",
      "points_per_night": 60000
    },
    {
      "room_name": "1 Bedroom Suite",
      "rate_name": "Redemption with Points Upgrade",
      "rate_type": "other",
      "member_only": false,
      "refundable": true,
      "price_per_night": null,
      "price_per_night_after_tax": 35.67,
      "price_total": 35.67,
      "tax_included": false,
      "currency": "USD",
      "points_per_night": 62000
    }
  ],
  "rates_total": 55,
  "lowest": {
    "bar": 489,
    "member": 479,
    "bar_after_tax": 581.43,
    "member_after_tax": 569.54
  },
  "shopped_at": "2026-10-11T09:27:58.952Z",
  "source": "live",
  "cache_age_sec": 0
}

shopped 2026-10-11 09:27Z, live

{
  "chain": "marriott",
  "hotel": {
    "code": "CHIRL",
    "currency": "USD",
    "name": "Residence Inn by Marriott Chicago Downtown/Loop",
    "brand": "Residence Inn"
  },
  "checkin": "2026-11-10",
  "los": 1,
  "status": "available",
  "award_rates": [
    {
      "room_name": "Superior",
      "rate_name": "Redemption with Points Upgrade",
      "award_type": "standard",
      "points_per_night": 60000,
      "points_total": 60000,
      "cash_copay": null,
      "taxes_fees": 3.78,
      "currency": "USD"
    }
  ],
  "award_rates_total": 3,
  "cash_comparison": {
    "lowest_cash": 479,
    "lowest_cash_after_tax": 569.54,
    "member_rate": 479,
    "currency": "USD",
    "fx_to_usd": 1
  },
  "cpp": 1.02,
  "lowest_points": 56000,
  "lowest_points_cash": null,
  "cash_copay": null,
  "cpp_points_cash": null,
  "certs": [
    {
      "cert": "marriott_50k",
      "top_up": 6000
    },
    {
      "cert": "marriott_85k",
      "top_up": 0
    }
  ],
  "shopped_at": "2026-10-11T09:28:02.078Z",
  "source": "live",
  "cache_age_sec": 0
}

points, cpp and certificates for the same stay · 1 credit

{
  "chain": "marriott",
  "hotel": {
    "code": "CHIRL",
    "currency": "USD",
    "name": "Residence Inn by Marriott Chicago Downtown/Loop",
    "brand": "Residence Inn"
  },
  "start": "2026-11-10",
  "days": 7,
  "los": 1,
  "currency": "USD",
  "shopped_at": "2026-10-11T09:28:11.628Z",
  "source": "live",
  "nights": [
    {"date":"2026-11-10","status":"available","min_los":null,"lowest":{"member":479},"lowest_points":56000,"source":"live"},
    {"date":"2026-11-11","status":"available","min_los":null,"lowest":{"member":450},"lowest_points":56000,"source":"live"},
    {"date":"2026-11-12","status":"available","min_los":null,"lowest":{"member":266},"lowest_points":52000,"source":"live"},
    {"date":"2026-11-13","status":"available","min_los":null,"lowest":{"member":227},"lowest_points":49000,"source":"live"},
    {"date":"2026-11-14","status":"available","min_los":null,"lowest":{"member":227},"lowest_points":52000,"source":"live"},
    {"date":"2026-11-15","status":"available","min_los":null,"lowest":{"member":266},"lowest_points":47000,"source":"live"},
    {"date":"2026-11-16","status":"available","min_los":null,"lowest":{"member":577},"lowest_points":56000,"source":"live"}
  ]
}

7 nights from 2026-11-10 · 0.7 credits

Is there an official Marriott API?

Yes, for Marriott’s partners. Marriott runs a Developer Portal for what it calls its Enterprise APIs and a partner platform, the Central Provisioning Platform. As of November 2026 both sit behind a login, neither has a sign-up form, and no documentation can be read without an account. The partner platform asks a business that wants to become a Marriott partner to send a message. Homes & Villas by Marriott Bonvoy, its home rental arm, connects property management systems and channel managers through a programme of its own. We found nothing public that offers award night pricing.

So a company that sells Marriott rooms, or builds software for one, should ask Marriott. directrate is a different thing: an independent, read-only API. It returns the prices Marriott quotes any visitor to its site and app, points included, as JSON, with a key you create yourself and 250 free credits a month. It makes no bookings.

What a Marriott call returns

A request names a hotel by its MARSHA code and a check-in date. The answer is what Marriott quotes a visitor who is not signed in.

Call What comes back Credits
POST /shop Every room and rate plan on sale, the Marriott Bonvoy member rate as its own rows (member_only: true), and redemption rates with their points price 1
POST /award Award nights per room in points, the cash rate beside them, cents per point, and the free night certificates that cover the night 1
POST /calendar The lowest member rate and the points price of each night, up to 60 nights a call 0.1 a night
POST /compset The lowest price of up to 25 Marriott hotels for one stay 0.25 a hotel, at least 1
POST /parity Marriott’s own rate beside Booking.com, Expedia, Hotels.com, Trip.com and Agoda 1, plus 1 per booking site, and 1 more the first time a hotel is matched on a site

A repeat of the same question inside its cache window costs a quarter, and a call that fails costs nothing.

Four things particular to Marriott

  • Award prices move. Marriott prices award nights dynamically: the same room costs a different number of points by the night and by the day you ask. Track lowest_points run over run, or put a watch on the nights.
  • Certificates with the top-up worked out. certs lists which of the 35k, 40k, 50k and 85k certificates cover the night and the points each needs on top. In the response on this page a 56,000-point night takes a 50k certificate and 6,000 points, or an 85k with nothing added.
  • Prices are before tax. price_per_night is Marriott’s own figure (tax_included: false) and price_per_night_after_tax is the all-in one: $479 becomes $569.54 for the room on this page.
  • Comp sets in one read. Marriott answers a whole area at once, so /compset prices 25 hotels about as fast as one. Ten hotels cost 2.5 credits.

The calendar’s cash figure is the member rate, as on Hilton. A public rate for a night takes a /shop.

Marriott hotel codes: the MARSHA code

Marriott identifies a hotel by its MARSHA code, named after its reservation system: CHIRL is Residence Inn Chicago Downtown/Loop. It is five characters and starts with the city. There are three ways to get one:

  • The free hotel code finder: pick Marriott and type a city or an address.
  • GET /v1/hotels?chain=marriott&q=Chicago, IL returns Marriott’s codes around a place, nearest first, for 1 credit. Marriott’s search answers with codes and distances, not names; a /shop on a code returns the hotel’s name.
  • Read it from the hotel’s address on marriott.com, where it leads the last part: marriott.com/en-us/hotels/chirl-residence-inn-chicago-downtown-loop/overview.

What people build on it

  • Award tracking. Dynamic pricing is what makes a daily /calendar read worth keeping: a month of points prices is 3 credits a hotel. The award tools page has the whole pattern.
  • Rate shopping. A comp set of nearby Marriott hotels, on a schedule, for a quarter credit a hotel. For revenue managers covers it.
  • Parity checks. /parity puts Marriott’s public rate beside five booking sites and names the deepest undercut.
  • Cash or points. /award returns cents per point for the stay. The cash-or-points agent asks the same question through the MCP server.

directrate is an independent service. It is not affiliated with, endorsed by or a partner of Marriott, and it is not Marriott's own API. What this page says about Marriott's own programmes was read on Marriott's pages on November 25, 2026.

FAQ

Marriott questions

Is there an official Marriott API?

Yes, for Marriott's partners. Marriott runs a Developer Portal for its Enterprise APIs and a partner platform, the Central Provisioning Platform. As of November 2026 both sit behind a login, neither has a sign-up form, and no documentation can be read without an account. directrate is an independent, read-only API that returns the prices Marriott quotes any visitor.

Can I book a Marriott room through this API?

No. directrate reads prices and availability. It makes no reservation and touches no Marriott Bonvoy account, so send the guest to marriott.com to book.

What is a MARSHA code, and how do I look one up?

It is Marriott's own code for a hotel, five characters that start with the city, such as CHIRL. It leads the hotel's address on marriott.com. GET /hotels?chain=marriott&q=<city> returns the codes around a place, and the free hotel code finder on this site does the same in a browser.

Does it say which Marriott free night certificate covers a night?

Yes. POST /award lists the 35k, 40k, 50k and 85k certificates that cover the night's points price, cheapest first, each with the top-up it needs, up to the 15,000 points Marriott allows.

Do I need a Marriott Bonvoy account?

No. The member rate is what Marriott quotes an anonymous visitor who is not logged in; it comes back as its own rows with member_only: true and under lowest.member. Points come back the same way, without any login.

What does a Marriott shop cost?

1 credit live, a quarter of that from cache; errors and unknown codes are free. On the Free plan's 250 credits that is 250 shops a month; on Growth (15,000) 15,000. A /calendar night is 0.1 credit through Marriott's native calendar.