List API keys (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/keys \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/keys"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"current": true,
"environment": "<string>",
"key_id": "<string>",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"<string>"
],
"state": "<string>",
"created_at": "<string>",
"expires_at": "<string>",
"last_used_at": "<string>",
"overlap_until": "<string>",
"revoked_at": "<string>"
}
],
"total": 123
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}API keys
List API keys (production)
Switched off. Production trading is implemented but not available: orders are refused with 403 production_trading_disabled. Once it opens, Bullionwale enables production access per account (see Production access requirements).
Your API keys in this environment, newest first: ids, names, scopes, state and timestamps. Never a secret.
List API keys (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/keys \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/keys"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"current": true,
"environment": "<string>",
"key_id": "<string>",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"<string>"
],
"state": "<string>",
"created_at": "<string>",
"expires_at": "<string>",
"last_used_at": "<string>",
"overlap_until": "<string>",
"revoked_at": "<string>"
}
],
"total": 123
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}