Skip to Content
Welcome to Level2 Help Center
APIEndpointsGet user latency

Get user latency

GET https://hub2.trylevel2.com/broker/get_broker_user_latency_by_email

Retrieves latency information for trades triggered by a user, identified by their email address.

Request:

QUERY PARAMETERS

Required & Optional Parameters

ParameterTypeRequirementDescription
user_emailemailRequiredThe registered email address of the user whose records are being fetched.
limitintegerOptionalThe maximum number of latency records to retrieve.

Parameter Constraints

When setting the limit parameter, adhere to the following system boundaries:

  • Minimum Value: 1
  • Maximum Value: 100
  • Default Value: 30 (if no value is provided)

Responces:

Successful response with latency records 200

SCHEMA

Records Object Array

Each entry in the records array represents a single execution event.

ParameterTypeDescriptionExample
trade_idstringThe unique identifier for the specific trade executed.t789
latency_msintegerThe execution delay measured in milliseconds.150
timestampdate-timeThe ISO 8601 timestamp of when the latency was recorded.2025-10-17T16:00:00Z

Summary Data

ParameterTypeDescriptionExample
totalintegerThe total count of latency records available for the requested period.50

EXAMPLE

{ "records": [ { "trade_id": "t789", "latency_ms": 150, "timestamp": "2025-10-17T16:00:00Z" } ], "total": 50 }

Responces:

Internal Server Error 500

SCHEMA

ParameterTypeDescription
errorstringA descriptive message detailing the specific issue encountered.

EXAMPLE

{ "error": "An unexpected error occurred" }
Last updated on