Getting Started

Quickstart

Make your first request against the Open Hotel Protocols API.

Last updated

Follow these steps to make your first call against a property.

1. Request access#

Request early access from the main site. You will be issued an API key scoped to the properties you operate.

2. Set your key#

export NERVE_API_KEY="nrv_..."

3. Query availability#

curl https://api.nervepms.com/v1/availability \
  -H "Authorization: Bearer $NERVE_API_KEY" \
  -G --data-urlencode "property=demo" \
     --data-urlencode "from=2026-09-01" \
     --data-urlencode "to=2026-09-03"

A successful response lists every bookable rate plan for the window:

{
  "property": "demo",
  "nights": 2,
  "offers": [
    { "rate_plan": "flex", "room_type": "king-city", "total": 412.00, "currency": "GBP" }
  ]
}

Tip

Every endpoint is content-negotiated. Send Accept: application/schema+json to get the machine-readable description of the response an agent needs in order to reason about it.

You are ready to build.