Skip to Content
Welcome to Level2 Help Center
APIEndpointsGet user slippage

Get user slippage

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

Retrieves slippage 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 slippage 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 slippage records 200

SCHEMA

Records Object Array

Each entry in the records array represents a single trade execution’s price deviation.

ParameterTypeDescriptionExample
trade_idstringThe unique identifier for the specific trade executed.t789
slippagenumberThe slippage value measured in percentage or basis points.0.25
timestampdate-timeThe ISO 8601 timestamp of when the slippage was recorded.2025-10-17T16:00:00Z

Summary Data

ParameterTypeDescriptionExample
totalintegerThe total number of slippage records available in the system.50

EXAMPLE

{ "records": [ { "trade_id": "t789", "slippage": 0.25, "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