List an account's assets and whether it can use them
curl --request GET \
--url https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets"
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))
}HttpResponse<String> response = Unirest.get("https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"result": [
{
"chain": "BASE",
"cryptoCurrency": "USDC",
"decimals": 6,
"contractAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"permitStatus": "READY"
},
{
"chain": "AVALANCHE",
"cryptoCurrency": "USDC",
"decimals": 6,
"contractAddress": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"permitStatus": "ACTION_REQUIRED"
}
]
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"success": false,
"errors": [
{
"code": "forbidden",
"message": "You do not have permission to access this resource."
}
]
}{
"success": false,
"errors": [
{
"code": "account-not-found",
"message": "The requested resource was not found."
}
]
}{
"success": false,
"errors": [
{
"code": "internal-error",
"message": "An unexpected error occurred. Please try again later."
}
]
}Supported Assets
List account supported assets
See which assets an account can actually move, and what’s blocking the rest.
GET
/
accounts
/
{accountId}
/
supported-assets
List an account's assets and whether it can use them
curl --request GET \
--url https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets"
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))
}HttpResponse<String> response = Unirest.get("https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/accounts/{accountId}/supported-assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"result": [
{
"chain": "BASE",
"cryptoCurrency": "USDC",
"decimals": 6,
"contractAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"permitStatus": "READY"
},
{
"chain": "AVALANCHE",
"cryptoCurrency": "USDC",
"decimals": 6,
"contractAddress": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"permitStatus": "ACTION_REQUIRED"
}
]
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"success": false,
"errors": [
{
"code": "forbidden",
"message": "You do not have permission to access this resource."
}
]
}{
"success": false,
"errors": [
{
"code": "account-not-found",
"message": "The requested resource was not found."
}
]
}{
"success": false,
"errors": [
{
"code": "internal-error",
"message": "An unexpected error occurred. Please try again later."
}
]
}Requires scope:
Only
manage:accounts — see Required scopes.
The same assets as List supported assets, each annotated with a permitStatus telling you whether this account can move that asset yet.
Check this before offering an asset to an end-user. An asset the tenant has enabled is not automatically usable by every account: the account’s wallet needs an allowance in place first, and on a self-custody wallet only the customer can grant it.
permitStatus | What it means | Who acts |
|---|---|---|
READY | Usable now | — |
ACTIVATING | Allowance in place, wallets not usable yet | Nobody — re-read shortly |
ACTION_REQUIRED | No allowance yet on a self-custody wallet | The customer must sign |
PENDING | No allowance yet on a Venly-managed wallet | Venly |
FAILED | Granting the allowance failed | Retry, then support |
NO_WALLET | No wallet on that asset’s chain | Create one |
permitStatus is derived on every request and never stored. Don’t cache it — a status can change as soon as a customer signs or a wallet finishes activating.READY means “spend now”. Treat everything else as unavailable, and use ACTION_REQUIRED as the trigger to send the customer through permits and allowances.Authorizations
OAuth2 client credentials flow. Token endpoints:
Path Parameters
Unique account identifier
Was this page helpful?

