What an EVM address holds, scored
curl --request GET \
--url https://api.atlasyield.club/v1/wallets/{address}/positionsimport requests
url = "https://api.atlasyield.club/v1/wallets/{address}/positions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.atlasyield.club/v1/wallets/{address}/positions', 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.atlasyield.club/v1/wallets/{address}/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.atlasyield.club/v1/wallets/{address}/positions"
req, _ := http.NewRequest("GET", url, nil)
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.atlasyield.club/v1/wallets/{address}/positions")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlasyield.club/v1/wallets/{address}/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"address": "<string>",
"scannedAt": "2023-11-07T05:31:56Z",
"complete": true,
"chainsScanned": [
123
],
"chainsFailed": [
123
],
"vaultsScanned": 123,
"totalValueUsd": 123,
"positions": [
{
"vaultId": "<string>",
"chainId": 123,
"protocolId": "<string>",
"name": "<string>",
"asset": "<string>",
"shareToken": "<string>",
"shareBalance": "<string>",
"shareDecimals": 123,
"valueUsd": 123,
"valueSource": "tvl_per_share",
"score": {
"composite": 123,
"label": "<string>",
"pillarScores": {
"yield": 123,
"safety": 123,
"liquidity": 123,
"sustainability": 123
},
"dataQuality": "sufficient",
"scoredAt": "2023-11-07T05:31:56Z",
"scorerVersion": "<string>",
"yieldQuality": 123,
"exitSafety": 123,
"notYieldProduct": true
},
"routable": true,
"pageUrl": "<string>"
}
],
"unscored": [
{
"vaultId": "<string>",
"chainId": 123,
"protocolId": "<string>",
"name": "<string>",
"asset": "<string>",
"shareToken": "<string>",
"shareBalance": "<string>",
"shareDecimals": 123,
"valueUsd": 123,
"valueSource": "tvl_per_share"
}
],
"notCovered": "<string>",
"disclaimer": "<string>"
}{
"success": false,
"error": "Invalid params: address must be a 0x-prefixed 40-character hex address",
"details": [
{
"field": "address",
"message": "must be a 0x-prefixed 40-character hex address"
}
]
}Endpoints
Wallet positions
Reads the address’s balance in every EVM vault in the AtlasYield catalog (chains 1, 8453, 42161, 10, 56) and returns each holding. Scored vaults come back in positions with their score; catalog vaults without a score come back in unscored with no Atlas number. Solana (Kamino) and tokens outside the catalog are not read. valueUsd is an estimate: tvl / totalSupply for share tokens, the PT price for Pendle, null when neither is available. A chain whose reads failed is listed in chainsFailed and complete is false; treat that as unknown, never as holds nothing. Cached 2 minutes per address; 20 scans per minute per client.
GET
/
wallets
/
{address}
/
positions
What an EVM address holds, scored
curl --request GET \
--url https://api.atlasyield.club/v1/wallets/{address}/positionsimport requests
url = "https://api.atlasyield.club/v1/wallets/{address}/positions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.atlasyield.club/v1/wallets/{address}/positions', 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.atlasyield.club/v1/wallets/{address}/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.atlasyield.club/v1/wallets/{address}/positions"
req, _ := http.NewRequest("GET", url, nil)
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.atlasyield.club/v1/wallets/{address}/positions")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlasyield.club/v1/wallets/{address}/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"address": "<string>",
"scannedAt": "2023-11-07T05:31:56Z",
"complete": true,
"chainsScanned": [
123
],
"chainsFailed": [
123
],
"vaultsScanned": 123,
"totalValueUsd": 123,
"positions": [
{
"vaultId": "<string>",
"chainId": 123,
"protocolId": "<string>",
"name": "<string>",
"asset": "<string>",
"shareToken": "<string>",
"shareBalance": "<string>",
"shareDecimals": 123,
"valueUsd": 123,
"valueSource": "tvl_per_share",
"score": {
"composite": 123,
"label": "<string>",
"pillarScores": {
"yield": 123,
"safety": 123,
"liquidity": 123,
"sustainability": 123
},
"dataQuality": "sufficient",
"scoredAt": "2023-11-07T05:31:56Z",
"scorerVersion": "<string>",
"yieldQuality": 123,
"exitSafety": 123,
"notYieldProduct": true
},
"routable": true,
"pageUrl": "<string>"
}
],
"unscored": [
{
"vaultId": "<string>",
"chainId": 123,
"protocolId": "<string>",
"name": "<string>",
"asset": "<string>",
"shareToken": "<string>",
"shareBalance": "<string>",
"shareDecimals": 123,
"valueUsd": 123,
"valueSource": "tvl_per_share"
}
],
"notCovered": "<string>",
"disclaimer": "<string>"
}{
"success": false,
"error": "Invalid params: address must be a 0x-prefixed 40-character hex address",
"details": [
{
"field": "address",
"message": "must be a 0x-prefixed 40-character hex address"
}
]
}Headers
Response
The address's holdings across the catalog.