Retrieve an account
curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"object": "account",
"code": "1000000077",
"application": "app_5n2c6xq4ld7kz3pw7vby",
"created_at": "2026-09-25T07:41:30Z",
"restrictions": {
"trading_blocked": false,
"money_blocked": true,
"blocked": false,
"since": "2026-10-04T21:00:00Z",
"trading_blocked_at": null,
"money_blocked_at": "2026-10-04T21:00:00Z",
"blocked_at": null,
"trading_blocked_reason": null,
"money_blocked_reason": "Fraud review",
"blocked_reason": null
}
}Retrieve an account
Returns one of your accounts from our records, without asking the broker. Takes no query parameters. For what the broker holds in it, read its balance and positions. Requires the read scope.
GET
/
v1
/
accounts
/
{account}
Retrieve an account
curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/accounts/{account}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"object": "account",
"code": "1000000077",
"application": "app_5n2c6xq4ld7kz3pw7vby",
"created_at": "2026-09-25T07:41:30Z",
"restrictions": {
"trading_blocked": false,
"money_blocked": true,
"blocked": false,
"since": "2026-10-04T21:00:00Z",
"trading_blocked_at": null,
"money_blocked_at": "2026-10-04T21:00:00Z",
"blocked_at": null,
"trading_blocked_reason": null,
"money_blocked_reason": "Fraud review",
"blocked_reason": null
}
}Authorizations
Path Parameters
Response
One of your accounts.
One account this API key can trade for.