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

Hopper Analytics API

In order to measure and continuously improve HTS Ancillaries performance, specific events occurring during a customer session can be sent by the partner airlines using some dedicated endpoints.

Hopper Analytics API is one of 5 APIs that Hopper publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Analytics. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version v1.1.

Requests are made against a single base URL, https://airlines-api.hopper.com/airline/v1.1.

1 operations 1 paths 6 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v1.1
Base URL
https://airlines-api.hopper.com/airline/v1.1
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

Hopper Analytics API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (PartnerAuth). An API key is passed in the header as HC-Session-ID (SessionAuth).

  • PartnerAuth — This API is authenticated with OAuth 2, Client Credentials grant.\ Clients should use their clientid and clientsecret to obtain an accesstoken.\ The accesstoke…
  • SessionAuth — Header Parameters | headerName | description | |-----------------|---------------------------------------------------------------------------------------------…

Paths & Operations 1

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

Analytics 1

In order to measure and continuously improve HTS Ancillaries performance, specific events occurring during a customer session can be sent by the partner airlines using some dedica…

POST
/events
Send a Backend Event
postEvents 1 param body → 204400401403404422500

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are booking_confirmed (4 properties), error (3 properties), offers_displayed (2 properties), unprocessable_entity (1 property). Each schema is shown below with its type and property counts.

booking_confirmed
object
4 properties 2 required
event
bad_request
object
1 property 1 required
unprocessable_entity
object
1 property 1 required
offers_displayed
object
2 properties 2 required
error
object
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hopper-com-analytics-api-openapi.yml Raw ↑

Other APIs Hopper publishes across the network.

Hopper Authentication API
Hopper Cancel For Any Reason (CFAR) API
Hopper Disruption Guarantee (DG) API
Hopper Sessions API