directrate

Hotel chain

Premier Inn rates API

Premier Inn (UK) cash rates per night — the chain has no loyalty rate and no points, and the API says so rather than inventing them.

Public rate
✓
Member rate
n/a
Award points
n/a
Native calendar
✓
Comp set batch
–
Credits per shop
1
Comp set, per hotel
0.25
Calendar, per night
0.1
  • ·Cash-only: member and points columns are n/a, never estimated.
  • ·No native calendar upstream: ≤9-night spans price every night exactly, bisected around sold-out nights.
  • ·Prices in GBP, tax-inclusive.
curl -s https://api.directrate.dev/v1/shop \
  -H "x-api-key: $DIRECTRATE_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "chain": "premierinn",
    "hotel_code": "<hotel_code>",
    "checkin": "2027-01-09",
    "los": 1
  }'
import os
import requests

r = requests.post(
    "https://api.directrate.dev/v1/shop",
    headers={"x-api-key": os.environ["DIRECTRATE_API_KEY"]},
    json={
      "chain": "premierinn",
      "hotel_code": "<hotel_code>",
      "checkin": "2027-01-09",
      "los": 1,
    },
)
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": "premierinn",
    "hotel_code": "<hotel_code>",
    "checkin": "2027-01-09",
    "los": 1
  }),
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(res.headers.get("x-credits-charged"), await res.json());

Find a Premier Inn code first: GET /v1/hotels?chain=premierinn&q=<city> (1 credit).

curl -s "https://api.directrate.dev/v1/hotels?chain=premierinn&q=Chicago,%20IL&radius=5" \
  -H "x-api-key: $DIRECTRATE_API_KEY"
{
  "chain": "premierinn",
  "hotel": {
    "code": "<hotel_code>",
    "name": "…",
    "currency": "USD"
  },
  "checkin": "2027-01-09",
  "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 Premier Inn on this page; the shape above is the contract every chain answers in. Run it live with a free key.

FAQ

Premier Inn questions

Do I need a Premier Inn account?

No account exists to need: Premier Inn is cash-only, so member and points fields are n/a.

What does a Premier Inn 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 Premier Inn's native calendar.

Where do I find Premier Inn hotel codes?

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