Deriv API
Documentation
Account Management

Markup Statistics

GETAuth required

Retrieve aggregated markup and trading statistics for your registered applications over a date range.

Endpoint

GET/applications/v1/markup-statistics

Base URL: https://api.derivws.com

Query Parameters

ParameterTypeRequiredDescription
date_fromstring (date)YesInterval start date (YYYY-MM-DD), inclusive, UTC. Example: 2026-05-01
date_tostring (date)YesInterval end date (YYYY-MM-DD), inclusive, UTC. Example: 2026-05-06

Status Codes

200OK - Markup statistics returned successfully
400Bad request - Invalid or missing query parameters
401Unauthorized - Invalid or missing authentication
403Forbidden - Access denied
404Not found - Resource not found
422Unprocessable entity - Validation error
504Gateway timeout - Upstream service timeout

Error Responses

400Bad request
{
  "errors": [
    {
      "status": 400,
      "code": "ValidationError",
      "message": "date_from is required"
    }
  ],
  "meta": {
    "endpoint": "/applications/v1/markup-statistics",
    "method": "GET",
    "timing": 12
  }
}
401Unauthorized
{
  "errors": [
    {
      "status": 401,
      "code": "Unauthorized",
      "message": "Invalid or missing authentication credentials"
    }
  ],
  "meta": {
    "endpoint": "/applications/v1/markup-statistics",
    "method": "GET",
    "timing": 10
  }
}
403Forbidden
{
  "errors": [
    {
      "status": 403,
      "code": "AccessDenied",
      "message": "You do not have permission to access this resource"
    }
  ],
  "meta": {
    "endpoint": "/applications/v1/markup-statistics",
    "method": "GET",
    "timing": 11
  }
}
Click to open live chat support. Get instant help from our support team.