Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

RateHawk Hotel Search API

The Hotel Search API from RateHawk — 4 operation(s) for hotel search.

RateHawk Hotel Search API is one of 6 APIs that RateHawk publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Hotel Search. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 4 operations across 4 paths, and defines 7 schemas. It is described by OpenAPI 3.0.1, at version 3.0.

Requests are made against 2 base URLs: https://api.worldota.net/api/b2b/v3, https://api-sandbox.worldota.net/api/b2b/v3.

4 operations 4 paths 7 schemas 4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
3.0
Base URL
https://api.worldota.net/api/b2b/v3
Authentication
HTTP Basic
Terms of Service
Resource Areas
1

Authentication & Security 1

RateHawk Hotel Search API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — HTTP Basic authentication. The username is the API key id and the password is the API key (uuid). Both are issued per contract for the test (sandbox) and produ…

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 POST. Each is listed below with its method, path, parameters, and response codes.

Hotel Search 4
POST
/search/serp/region/
Search Engine Results Page by region
searchRegion body → 200
POST
/search/serp/hotels/
Search Engine Results Page by hotel IDs
searchHotels body → 200
POST
/search/serp/geo/
Search Engine Results Page by geo coordinates
searchGeo body → 200
POST
/search/hp/
Retrieve hotelpage
searchHotelPage body → 200

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are BaseSearchRequest (7 properties), SearchResponse (3 properties), GuestsGroup (2 properties). Each schema is shown below with its type and property counts.

HotelPageRequest
SearchResponse
object
3 properties
HotelsSearchRequest
BaseSearchRequest
object
7 properties 3 required
RegionSearchRequest
GuestsGroup
object
2 properties 1 required
GeoSearchRequest

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ratehawk-hotel-search-api-openapi.yml Raw ↑

Other APIs RateHawk publishes across the network.

RateHawk Booking API
RateHawk Cancellation API
RateHawk Hotel Content API
RateHawk Orders API
RateHawk Prebook API