Obtener todas las cuentas
GetRequiere autenticación
Obtener todas las cuentas de trading de Options
Endpoint
Get
/trading/v1/options/accountsURL Base: https://api.derivws.com
Códigos de Estado
200OK - Successfully retrieved all accounts
400Bad request - Invalid request parameters
401Unauthorized - Invalid or missing authentication
403Forbidden - Access denied
404Not found - Resource not found
504Gateway timeout - Upstream service timeout
Respuestas de Error
400Bad request
{
"errors": [
{
"status": 400,
"code": "ValidationError",
"message": "Invalid request parameters"
}
],
"meta": {
"endpoint": "/accounts",
"method": "GET",
"timing": 45
}
}401Unauthorized
{
"errors": [
{
"status": 401,
"code": "Unauthorized",
"message": "Invalid or missing authentication credentials"
}
],
"meta": {
"endpoint": "/accounts",
"method": "GET",
"timing": 12
}
}403Forbidden
{
"errors": [
{
"status": 403,
"code": "AccessDenied",
"message": "You do not have permission to access this resource"
}
],
"meta": {
"endpoint": "/accounts",
"method": "GET",
"timing": 15
}
}404Not found
{
"errors": [
{
"status": 404,
"code": "AccountNotFound",
"message": "Resource not found"
}
],
"meta": {
"endpoint": "/accounts",
"method": "GET",
"timing": 32
}
}Requiere autenticación
Este endpoint requiere el encabezado
Deriv-App-ID para identificar su aplicación. Alcance OAuth2: tradeAcerca de Obtener todas las cuentas
El endpoint GET /trading/v1/options/accounts: Obtener todas las cuentas de trading de Options
Información de Cuenta
Este endpoint devuelve todas las cuentas de trading de opciones asociadas con sus credenciales de autenticación, incluidas las cuentas demo y reales.
¿Alguna otra pregunta? Póngase en contacto