Skip to main content
kasadaprotocolarchitectureapi8 min readBy Catmouse Engineering

Kasada holdMs Timeline Anchoring and Proxy Exit Timezone (tz / tzOffset) Alignment

Last reviewed
Short answer

Kasada timeline anchoring and timezone alignment is a protocol coherence mechanism in POST /Solver/solve that pairs your proxy exit timezone (tz and tzOffset) with five monotonic client timestamps and a holdMs pacing interval before POST /tl. Below: how each field works in /openapi.json.

Who this is for

Security researchers and automation engineers integrating POST /Solver/solve across multi-region proxy pools who want to avoid 400 missing geo rejections and timeline anomalies on POST /tl.

On this page
  1. Why must tz and tzOffset match your proxy exit IP?
  2. How do caller timeline timestamps and holdMs pacing work?
  3. How do you pass tz, tzOffset, ipsTransferSize, and timeline to POST /Solver/solve?
  4. What common timezone and timeline mistakes cause /tl rejections?
  5. Key takeaways
  6. Conclusion and scope
  7. Evidence and sources
  8. Frequently asked questions

Why must tz and tzOffset match your proxy exit IP?

The target edge compares the timezone encoded inside the telemetry payload against the autonomous system and geographic region of the connecting client IP address.

When an HTTP client fetches /fp and ips.js and submits POST /tl over a trusted TLS session, the target edge knows the geographic region of the proxy exit IP. Simultaneously, the encrypted telemetry payload inside POST /tl reports the browser or device timezone via the IANA Time Zone Database identifier (such as America/New_York or Asia/Seoul), its minute offset from UTC, and the optional long display name (tzLong, such as Eastern Daylight Time).

In contrast to optional metadata fields, tz and tzOffset are strictly required on SolveRequest in the Catmouse OpenAPI 3.1 contract (and as Timezone and TimezoneOffset in KasadaEnvelope). Production runs with the geo gate active and returns HTTP 400 Bad Request (RFC 9110) with missing geo whenever either field is absent.

Understanding tz, tzOffset, tzLong, and ipsTransferSize

Four request parameters on POST /Solver/solve anchor the network and geographic environment of the solve:

tz (Required IANA Timezone String)
The IANA timezone of the proxy exit IP that your client uses to reach the target (for example, America/New_York, Europe/London, or Asia/Seoul).
tzOffset (Required Minute Offset, JavaScript Sign Convention)
Integer offset in minutes matching Date.prototype.getTimezoneOffset(): positive west of UTC (America/New_York in summer is 240) and negative east of UTC.
tzLong (Optional Display Name)
Long zone display string (for example, Eastern Daylight Time) obtained from your geo lookup for the proxy exit IP.
ipsTransferSize (Optional Resource-Timing Size)
Content-encoded byte size (Content-Length) of the ips.js response, used to populate the W3C Resource Timing transferSize field. Accepted aliases: ips_transfer_size, transfer_size, ips_content_length, and ipsContentLength.

How do caller timeline timestamps and holdMs pacing work?

Providing five non-decreasing client clock readings anchors the challenge timeline and lets the solver return a hold duration before the client posts telemetry.

On Chrome/web solves, SolveRequest accepts an opt-in timeline object containing five epoch-millisecond readings recorded from a single client clock during the /fp and ips.js bootstrap. The server uses timeline only when all five numbers are present, finite, and non-decreasing in exact sequence: fpSentAt ≤ fpDoneAt ≤ ipsSentAt ≤ ipsDoneAt ≤ sentAt.

Comparing the five timeline timestamps versus the holdMs response field

The table below defines each timestamp in the Timeline schema and how it pairs with holdMs on SolveResponse:

Table 1. Caller-measured Timeline request fields and holdMs response pacing in POST /Solver/solve
FieldLocationOrdering ConstraintProtocol Meaning
fpSentAtSolveRequest.timelineFirst readingClient clock (epoch milliseconds) immediately before sending GET /fp
fpDoneAtSolveRequest.timeline>= fpSentAtClient clock when the /fp response headers and HTML body finish arriving
ipsSentAtSolveRequest.timeline>= fpDoneAtClient clock immediately before sending GET ips.js
ipsDoneAtSolveRequest.timeline>= ipsSentAtClient clock when the ips.js script body finishes downloading
sentAtSolveRequest.timeline>= ipsDoneAtClient clock when the caller dispatches POST /Solver/solve
holdMsSolveResponseInteger durationReturned on timeline-anchored solves: wait this many milliseconds before sending POST /tl
Four-step diagram for Kasada timezone and timeline alignment: 1. Match proxy exit IP timezone (tz America/New_York and tzOffset 240). 2. Record five non-decreasing client timestamps (fpSentAt, fpDoneAt, ipsSentAt, ipsDoneAt, sentAt). 3. Send POST /Solver/solve to receive payload, headers, and holdMs (omitting tz or tzOffset returns 400 missing geo). 4. Wait holdMs before sending POST /tl over the same proxy exit.
Figure 1. Aligning proxy exit tz / tzOffset and five-point caller timeline timestamps with holdMs pacing before POST /tl. Diagram by Catmouse Engineering.

How do you pass tz, tzOffset, ipsTransferSize, and timeline to POST /Solver/solve?

Record your client timestamps around the /fp and ips.js fetches, pass them inside timeline alongside your proxy exit's tz and tzOffset, and sleep for holdMs if present on the response.

The Python snippet below shows a complete request to POST https://kasadaapi.catmouse.ai/Solver/solve including tz, tzOffset, tzLong, ipsTransferSize, and the five-point timeline object:

import os
import requests

r = requests.post(
    "https://kasadaapi.catmouse.ai/Solver/solve",
    headers={"x-api-key": os.environ["CATMOUSE_KEY"]},
    json={
        "ipsBody": "<contents of the ips.js response, as UTF-8 text>",
        "ipsUrl": "https://www.example.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/ips.js?x-kpsdk-v=j-1.2.899&x-kpsdk-im=ZXhhbXBsZQ",
        "ipsTransferSize": 184320,
        "ctToken": "<x-kpsdk-ct response header of the /fp request>",
        "kpsdkV": "j-1.2.899",
        "tz": "America/New_York",
        "tzOffset": 240,
        "tzLong": "Eastern Daylight Time",
        "acceptLanguage": "en-US",
        "engine": "chrome",
        "timeline": {
            "fpSentAt": 1761220000100,
            "fpDoneAt": 1761220000240,
            "ipsSentAt": 1761220000250,
            "ipsDoneAt": 1761220000420,
            "sentAt": 1761220000430,
        },
    },
    timeout=60,
)
print(r.status_code, r.text)

What common timezone and timeline mistakes cause /tl rejections?

When auditing client integrations that receive {"reload":true} on /tl or HTTP 400 on POST /Solver/solve, four recurring bugs stand out:

  1. Inverting the sign of tzOffset: Passing -240 instead of 240 for America/New_York (EDT) violates the JavaScript getTimezoneOffset() sign convention documented in /openapi.json.
  2. Hardcoding tz across a global proxy pool: Sending "tz": "America/New_York" when your HTTP client exits through a Tokyo or Frankfurt proxy creates an immediate geo mismatch between the TLS peer IP and the solved telemetry.
  3. Out-of-order timeline readings: Mixing wall-clock readings from different worker machines or passing ipsSentAt < fpDoneAt causes the server to ignore the timeline object because the five values must be non-decreasing.
  4. Posting to /tl without waiting for holdMs: When SolveResponse returns holdMs, firing POST /tl immediately causes the payload to arrive at the target edge earlier than the internal execution timestamps claim.

Key takeaways

  • Always send tz and tzOffset: Both fields are required by the production geo gate on POST /Solver/solve; omitting either returns HTTP 400 missing geo.
  • Use the JavaScript getTimezoneOffset() sign: Zones west of UTC are positive (240 for EDT) and zones east of UTC are negative.
  • Keep timeline readings monotonic: All five timestamps (fpSentAt through sentAt) must be finite and non-decreasing from a single client clock.
  • Respect holdMs and ipsTransferSize: Wait holdMs milliseconds before posting to /tl, and pass the Content-Length of ips.js as ipsTransferSize.

Conclusion and scope

Following these recommendations for proxy exit timezone lookup, five-point timeline capture, and holdMs pacing ensures that every POST /tl submission is geographically and temporally coherent with the network exit your client uses.

Scope and limitations. All field definitions (tz, tzOffset, tzLong, ipsTransferSize, timeline, and holdMs) and error codes (400 missing geo) are verified from the live Catmouse OpenAPI 3.1 contract (/openapi.json) as of 2026-10-23. No pass-rate, latency, or throughput figures are claimed. Use these protocol techniques only on systems you own or have explicit written authorization to test.

Evidence and sources

Every request property, sign convention, and timing standard discussed in this post is backed by the primary references below:

Methodology and limits. Documented: exact field rules and types enforced by the Catmouse server source and published in /openapi.json. Not claimed: unverified third-party edge heuristics or numerical benchmarks. Reviewed 2026-10-23.

Frequently asked questions

Why does POST /Solver/solve return HTTP 400 missing geo if tz or tzOffset is omitted?

Production runs with the geo gate enabled so that no telemetry payload is emitted with a default or mismatched timezone. Both tz (an IANA timezone string such as America/New_York) and tzOffset (an integer minute offset) are required on every SolveRequest.

What sign convention does tzOffset use in POST /Solver/solve?

Per the Catmouse OpenAPI 3.1 contract (/openapi.json), tzOffset uses the standard JavaScript Date.prototype.getTimezoneOffset() sign convention in minutes: zones west of UTC are positive (for example, America/New_York in summer is 240) and zones east of UTC are negative.

What are the five fields inside the optional timeline object on SolveRequest?

The timeline object contains fpSentAt, fpDoneAt, ipsSentAt, ipsDoneAt, and sentAt. All five must be present, finite, and non-decreasing epoch-millisecond readings from one client clock on Chrome/web solves.

What should my HTTP client do when SolveResponse includes holdMs?

When POST /Solver/solve returns the integer holdMs field on a timeline-anchored solve, your client should wait holdMs milliseconds before sending POST /tl to the target so that the edge arrival timestamp matches the internal telemetry timeline.

Why should I pass ipsTransferSize to POST /Solver/solve?

The ipsTransferSize field records the content-encoded response size (Content-Length) of the fetched ips.js script and populates the W3C PerformanceResourceTiming transferSize entry inside the telemetry payload.