Skip to main content
airlinesanti-botreverse engineering5 min readBy Catmouse Engineering

Lufthansa Bot Detection Bypass: Protocol-Level Guide

Last reviewed
Short answer

Lufthansa bot detection bypass work starts with understanding what the protection asks of a client. lufthansa.com sits behind bot-management protection (vendor not re-verified). Such systems usually expect the client to run a challenge script and return a token.

The Catmouse solver API handles Kasada only and no vendor for the site has been verified, so this article is research into how such challenges work, not an integration guide for the site. Run it only against lufthansa.com endpoints that you operate or have written permission to test.

Who this is for

Engineers and data teams who own, or have explicit written authorization to test, Lufthansa and want to understand how its bot protection is described in this post before deciding on an approach.

On this page
  1. How bot-management challenges work on lufthansa.com
  2. Why browser automation is costly for read-heavy workloads (Lufthansa)
  3. Example: the solve request, if your capture shows Kasada (Lufthansa)
  4. Collecting airline distribution data responsibly
  5. Scope and limitations
  6. Evidence and sources
  7. Frequently asked questions
  8. Conclusion and next steps
Summary
  • Who it is for: engineers who are authorized to collect award seat availability, fare distribution endpoints, and flight schedule data from the site and want to understand the challenge flow.

How bot-management challenges work on lufthansa.com?

On this site, how the challenge and token flow works is the same as for any browser-verified bot management, so it is explained once in the bot-management reference. This section keeps only what applies to this particular site.

When a client without a valid session reaches an endpoint behind bot-management protection, it is typically served a challenge instead of the page or API payload. The challenge is a non-200 status plus a script or interstitial the client must complete. The Catmouse targets directory lists only a placeholder vendor label for the site, and no verified vendor is available, so this guide does not name a vendor and describes lufthansa.com as bot-management protection (vendor not re-verified). Confirm the real vendor with your own capture; the Catmouse API has a solver for Kasada only.

  1. Challenge delivery: the server returns a challenge response and a script or interstitial.
  2. Verification: the client returns a result, which may include a computed proof or a solved puzzle.
  3. Credential issue: the server issues a token, cookie or header set that later requests must carry.

Why browser automation is costly for read-heavy workloads (Lufthansa)?

A full browser per session needs much more memory and CPU than an HTTP client, so scaling a read-heavy job on browsers raises infrastructure cost. We have not measured this on the site, so no figures are given here.

Anti-bot scripts also commonly inspect automation signals such as navigator.webdriver (see Evidence and sources), and patches that overwrite those properties can leave traces of their own. Whether a given setup passes on the site has to be tested, and the answer can change when the protection is updated.

What a protocol-level client changes

A protocol-level client fetches the challenge script and answers it in code instead of rendering Lufthansa's pages in a browser. It still needs a solver that matches the vendor, and none is documented for the site here.

What separates lufthansa bot detection scraping bypass telemetry from plain HTTP replay?

In contrast, on lufthansa bot detection scraping bypass, you must refresh session state whenever a route returns a challenge instead of reusing old headers.

Architecture diagram illustrating the challenge handshake, script telemetry evaluation, and session token verification flow for Lufthansa Bot Detection Bypass: Protocol-Level Guide.
Figure 1: Challenge handshake and session-state verification flow for Lufthansa Bot Detection Bypass: Protocol-Level Guide.
Challenge bootstrap (lufthansa bot detection scraping bypass)
The initial HTTP challenge response on lufthansa bot detection scraping bypass that delivers the vendor script or session seed to the client.
Session state verification (lufthansa bot detection scraping bypass)
The header or cookie proof returned after telemetry evaluation on lufthansa bot detection scraping bypass that authorizes subsequent API calls.
Protocol verification stages for Lufthansa Bot Detection Bypass: Protocol-Level Guide
StagePlain HTTP replay on lufthansa bot detection scraping bypassVerified session state on lufthansa bot detection scraping bypass
Initial requestMissing session proof for lufthansa bot detection scraping bypassBootstraps fresh challenge state for lufthansa bot detection scraping bypass
Protected routeChallenged with HTTP 403 or 429 on lufthansa bot detection scraping bypassAttaches current session state for lufthansa bot detection scraping bypass

Example: the solve request, if your capture shows Kasada (Lufthansa)

Nothing in this article shows that lufthansa.com uses Kasada. If your own capture does (an ips.js script and x-kpsdk-* headers), this is the documented request shape; otherwise the API does not apply. The placeholders stand for values your own client would fetch.

import base64, os, requests

# Steps 1-3 run in YOUR client against YOUR target (authorized use only); the solver API never contacts the target.
# ips_body: UTF-8 text of the ips.js you fetched; ips_url: where you fetched it; ct_token: x-kpsdk-ct of the /fp response;
# kpsdk_v: the x-kpsdk-v the served script declares.
r = requests.post("https://kasadaapi.catmouse.ai/Solver/solve",
    headers={"x-api-key": os.environ["CATMOUSE_KEY"]},
    json={
        "ipsBody": ips_body,
        "ipsUrl": ips_url,
        "ctToken": ct_token,
        "kpsdkV": kpsdk_v,
        "tz": "America/New_York",
        "tzOffset": 240,
        "acceptLanguage": "en-US",
        "engine": "chrome",
    },
    timeout=60)
out = r.json()
if not out.get("success"):
    raise RuntimeError(f"{r.status_code} {out.get('error')}")   # 4xx/5xx are not charged
# Step 5 (your own client): POST base64.b64decode(out["payload"]) as the raw body to the target's /tl URL
# with the headers in out["headers"].

Credential lifetime and reuse

If you do use the API, a solve for the site is charged only when a payload comes back, and 4xx or 5xx responses are not charged. How long any credentials stay valid on the site was not measured here.

How does lufthansa bot detection scraping bypass validate a trusted TLS session?

For lufthansa bot detection scraping bypass, a client is a verified session when it sends fresh tokens versus static headers over a trusted TLS session.

Collecting airline distribution data responsibly

The Catmouse targets directory lists award seat availability, fare distribution endpoints, and flight schedule data as typical read targets for the site.

Check whether the airline offers an official API or a data licence first, because an official route may be more stable than scraping, subject to its terms and availability (see Evidence and sources).

Scope, limitations, and recommendations

It contains no benchmark results, success rates or service-level commitments, because none were measured for the site.

The Catmouse API never contacts lufthansa.com: your own client makes every request to it, and the API receives only the fields of the solve request. Until your own capture confirms it, treat any claim about the site that is not in the evidence list as unverified.

Last reviewed: .

Evidence and sources

Each source below is paired with the statement in this article that it supports. Quoted text was read on the linked page on 2026-10-09.

  • IANA HTTP Status Code Registry and MDN HTTP response status codes: reference definitions for HTTP status codes observed during lufthansa bot detection scraping bypass testing.
  • HTTP 429 means rate limiting, not a vendor. RFC 6585, section 4: "The 429 status code indicates that the user has sent too many requests in a given amount of time ("rate limiting")."
  • HTTP 403 means a refused request, not a vendor. RFC 9110, section 15.5.4: "The 403 (Forbidden) status code indicates that the server understood the request but refuses to fulfill it."
  • navigator.webdriver reports automation. W3C WebDriver defines the webdriver-active flag, set "when the user agent is under remote control", and MDN describes the property as indicating "whether the user agent is controlled by automation". That scripts can read it is documented; that a particular site acts on it is not claimed here.
  • Solver request and response fields. The Catmouse OpenAPI document and the API reference are Catmouse's own documentation of its API, not independent evidence about the target. They define the POST /Solver/solve body (ipsBody, ipsUrl, ctToken, kpsdkV, tz, tzOffset, engine) and the response fields payload and headers. The step order comes from the repository reference script for the targets it covers; it was not run against lufthansa.com for this article.
  • robots.txt. RFC 9309 (Robots Exclusion Protocol) lets service owners control how automated crawlers may access content. It is not an authorization to bypass a site's controls and does not replace its terms.
  • Official data route. Lufthansa Group API portal documents "all the public and partner calls". When this page was checked on 2026-10-09 it stated that registration was on hold, so availability to new users is unconfirmed.

Methodology and limits

Documented: HTTP status-code meanings, the navigator.webdriver definition, the robots exclusion protocol and Catmouse's own API fields, each cited above. Observation or unverified: which vendor protects the target (taken from the Catmouse targets directory or left unnamed, not re-verified), the general challenge flow, and browser versus HTTP-client cost, which was not measured. Reviewed 2026-10-09. Vendor behaviour changes without notice, so confirm anything you rely on with your own capture.

Frequently asked questions

Which bot protection does lufthansa.com use?

This guide does not name a vendor. The Catmouse targets directory lists only a placeholder vendor label for the site, and no verified vendor is available. Treat the protection as bot-management protection (vendor not re-verified) until you confirm it yourself.

Will the solver API always work on lufthansa.com?

No. The Catmouse API solves Kasada only, and the vendor for the site is not verified here, so there is nothing to promise. Confirm the vendor with your own capture first.

May I use this on any website?

No. Keep it to site traffic you operate or have written permission to test, and check the site's terms, its robots.txt and the law where you work.

Conclusion and next steps

If you are authorized to test lufthansa.com, read the API reference for the solve fields and error codes, check the targets directory for the current listing, and see the pricing page. Take this article as general explanation, not as a report of tests.

Keep your own capture of the challenge flow for the site, because the /fp and /tl URL shapes and the /tl header order are target-specific and are not verified here.

Authorized use. Use Catmouse only against systems you own or are explicitly authorized to test. Respect site terms, applicable law and rate limits.

Published by Catmouse Engineering. Last reviewed . About · Privacy · pricing · playground