Getting started · Authentication

Authentication

Every `/v1/*` endpoint requires an `X-API-Key` header — including the health probe, the reference catalogue, the Aviation Data API and the authenticated Shopping / Orders surfaces. Requests without the header (or with an unknown key) are rejected with `401 Unauthorized`.

How to authenticate

Get your API key from the Norba dashboard, then send it as the `X-API-Key` header on every request.

# 1. Export the key issued from the dashboard
export NORBA_KEY="nbr_live_a8b…"

# 2. Send it as X-API-Key on every request — public or authenticated.
curl --request GET \
  --url https://api.norba.io/v1/aviation/airports \
  --header "X-API-Key: $NORBA_KEY"

curl --request POST \
  --url https://api.norba.io/v1/shopping/offers \
  --header "X-API-Key: $NORBA_KEY" \
  --header "Content-Type: application/json" \
  --data '{ "origin": "LHR", "destination": "JFK", "departure_date": "2026-06-15", "adults": 1 }'

API key details

PropertyDetails
Header nameX-API-Key
FormatOpaque string, prefixed with environment (nbr_live_*, nbr_test_*)
Where to get itNorba dashboard → API Keys section
EnvironmentTest keys work on all endpoints. Live keys require a production subscription.
RotationKeys can be rotated from the dashboard. Old key remains valid for 24h after rotation.

Common auth errors

HTTPError codeMeaning
400invalid_requestMissing or malformed field in the request body.
401unauthorizedMissing or invalid API key.
403forbiddenAPI key valid but agency lacks permission.
API Documentation — Norba | Norba — NDC Aggregation API