Obtenir tous les comptes
GetAuthentification requise
Obtenir tous les comptes de trading Options
Point de terminaison
Get
/trading/v1/options/accountsURL de base : https://api.derivws.com
Codes de statut
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
Réponses d'erreur
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
}
}Authentification requise
Ce point de terminaison nécessite l'en-tête
Deriv-App-ID pour identifier votre application. Champ OAuth2 : tradeÀ propos de Obtenir tous les comptes
Le point de terminaison GET /trading/v1/options/accounts : Obtenir tous les comptes de trading Options
Informations sur le compte
Ce point de terminaison renvoie tous les comptes de trading Options associés à vos informations d'authentification, y compris les comptes démo et réels.
D'autres questions ? Nous contacter