Estadísticas de marcado
GETRequiere autenticación
Recupere el margen de beneficio agregado y las estadísticas de trading para sus aplicaciones registradas Over un rango de fechas.
Endpoint
GET
/applications/v1/markup-statisticsURL Base: https://api.derivws.com
Requiere autenticación
Este endpoint requiere un token de portador OAuth2 con el alcance
application_read y un encabezado Deriv-App-ID.Parámetros de consulta
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
date_from | string (fecha) | Sí | Fecha de inicio del intervalo (AAAA-MM-DD), inclusiva, UTC. Ejemplo: 2026-05-01 |
date_to | string (fecha) | Sí | Fecha de finalización del intervalo (AAAA-MM-DD), inclusiva, UTC. Ejemplo: 2026-05-06 |
Códigos de Estado
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
Respuestas de Error
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
}
}422Validation error
{
"errors": [
{
"status": 422,
"code": "FieldIsRequired",
"message": "date_from is required"
}
],
"meta": {
"endpoint": "/applications/v1/markup-statistics",
"method": "GET",
"timing": 12
}
}¿Alguna otra pregunta? Póngase en contacto