directrate

Hotel chain

Meliá rates & Meliá Rewards member rates API

Meliá public and MeliáRewards member rates, with a two-year availability calendar that tells /calendar which nights to skip.

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.02
  • ·Points are login-gated at the source; the column comes back empty.
  • ·The native calendar carries availability and close-to-arrival/departure flags, no price — /calendar shops only the open nights.
  • ·Prices are tax-inclusive natively.
curl -s https://api.directrate.dev/v1/shop \
  -H "x-api-key: $DIRECTRATE_API_KEY" \
  -H "content-type: application/json" \
  -d '{"chain":"melia","hotel_code":"<hotel_code>","checkin":"2026-11-10","los":1}'

Find a Meliá code first: GET /v1/hotels?chain=melia&q=<city> (1 credit).

curl -s "https://api.directrate.dev/v1/hotels?chain=melia&q=Chicago,%20IL&radius=5" \
  -H "x-api-key: $DIRECTRATE_API_KEY"
{
  "chain": "melia",
  "hotel": {
    "code": "<hotel_code>",
    "name": "…",
    "currency": "USD"
  },
  "checkin": "2026-11-10",
  "los": 1,
  "status": "available",
  "rates": [
    {
      "room_name": "…",
      "rate_name": "…",
      "rate_type": "bar",
      "member_only": false,
      "price_per_night": 0,
      "price_per_night_after_tax": 0,
      "tax_included": true,
      "currency": "USD"
    }
  ],
  "lowest": {
    "bar": 0,
    "member": 0,
    "bar_after_tax": 0,
    "member_after_tax": 0
  },
  "shopped_at": "…",
  "source": "live",
  "cache_age_sec": 0
}

ShopResponse — the full schema is in the API reference.

No snapshot response is shown for Meliá on this page; the shape above is the contract every chain answers in. Run it live with a free key.

FAQ

Meliá questions

Do I need a Meliá Rewards account?

No. The member rate is what Meliá 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, however, are login-gated at the source and come back empty rather than estimated.

What does a Meliá 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.02 credit through Meliá's native calendar.

Where do I find Meliá hotel codes?

GET /hotels?chain=melia&q=<city or address> returns Meliá's own property codes around a place, nearest first. Codes are the chain's internal identifiers, not shared with any other chain.

All sources: coverage matrix · chains & coverage docs · weights.