Spotnana Hotel API

These endpoints provide comprehensive functionality for managing hotel bookings. They enable users to search for hotels, check room rates and availability, create and modify bookings, and handle cancellations and rebooking.

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/hotel/search Search hotels for a trip · Get hotel search results #
Ask an LLM
“Which hotels are available for my business trip?”
“Can I filter hotel search results by price or amenities?”
Tell an agent
Search hotels for user {userId} with {searchParams}.
Find hotels matching {searchParams} for {userId} sorted by {sortOptions}.
POST /v2/hotel/details Get details of one hotel · Get hotel details #
Ask an LLM
“What are the room types and amenities at a specific hotel?”
“Can I see hotel details for a date range?”
Tell an agent
Get details for hotel {hotelDetailsKey}.
Show hotel {hotelDetailsKey} details for {occupancyDates}.
POST /v2/hotel/price-check Check if a hotel price changed · Verify hotel price #
Ask an LLM
“Has the price of the hotel I selected changed since I last checked?”
“Can I validate the original hotel price?”
Tell an agent
Check the price of hotel {priceValidateKey}.
Validate hotel {priceValidateKey} price for trip {tripId}.
POST /v2/hotel/validate-rebooking Check if a hotel rebooking saves money · Validate rebooking for price optimization #
Ask an LLM
“Can I rebook my hotel for a lower price?”
“Is a price-optimized rebooking possible for this booking?”
Tell an agent
Validate rebooking for hotel {cancelSourcePnrId} on trip {tripId} for {travelers}.
Check if rebooking {cancelSourcePnrId} saves money.
POST /v2/hotel/create-pnr Book a hotel room · Create a new hotel booking #
Ask an LLM
“How do I book a hotel room for my trip?”
“Can I add special requests and ancillaries when booking a hotel?”
Tell an agent
Book hotel {bookingKey} for {travelers} on {tripData} with payment {bookingPaymentDetails} and contact {bookingContact}.
Create a hotel booking {bookingKey} for {travelers} on {tripData} with payment {bookingPaymentDetails}, contact {bookingContact} and ancillaries {ancillaryKeys}.
POST /v2/hotel/pnrs/{pnrId}/cancel-pnr Cancel a hotel booking · Cancel hotel pnr #
Ask an LLM
“How do I cancel a hotel booking by PNR?”
“What happens to the PNR when a hotel booking is cancelled?”
Tell an agent destructive · confirm first
Cancel hotel PNR {pnrId}.
Delete booking PNR {pnrId} and send payment verification {postPaymentVerificationInfo}.
POST /v2/hotel/pnrs/{pnrId}/modify-details Change dates or room type on a hotel booking · Modify hotel details #
Ask an LLM
“Can I change the dates or room type on my hotel booking?”
“What modifications are available for an existing hotel booking?”
Tell an agent
Modify the dates on hotel booking {pnrId} to {occupancyDates}.
Change the room type on hotel {pnrId} to {occupancyDates}.
POST /v2/hotel/pnrs/{pnrId}/modify-book Confirm changes to a hotel booking · Modify hotel booking #
Ask an LLM
“How do I confirm the new dates or room type on my hotel booking?”
“Can I change the travelers on a booking I already made?”
Tell an agent
Confirm changes on hotel booking {pnrId} with {travelers} on {tripData}, contact {bookingContact}, booking {bookingKey}.
Apply the modified dates to hotel {pnrId} using booking {bookingKey}, travelers {travelers}, trip {tripData}, contact {bookingContact}.
POST /v2/hotel/ancillaries List add-on services for a hotel booking · Get hotel ancillaries #
Ask an LLM
“What breakfast, parking or spa add-ons are available for my hotel booking?”
“Can I see the extras I can add to a hotel room?”
Tell an agent
List ancillaries for hotel {priceValidateKey}.
Show add-on services available for booking {priceValidateKey}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spotnana:spotnana-hotel-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spotnana-hotel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hotel API
  version: v2
  description: These endpoints provide comprehensive functionality for managing hotel bookings. They enable users to search for hotels, check room rates and availability, create and modify bookings, and handle cancellations and rebooking.
servers:
- url: https://api-ext-sboxmeta.partners.spotnana.com
  description: Sandbox URL
security:
- Bearer: []
tags:


# --- truncated at 32 KB (225 KB total) ---
# Full source: https://artifacts.apis.io/spotnana/openapi/spotnana-hotel-api-openapi.yml