Risk ratings of every token the vaults hold
curl --request GET \
--url https://api.atlasyield.club/v1/tokensimport requests
url = "https://api.atlasyield.club/v1/tokens"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.atlasyield.club/v1/tokens', 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/tokens",
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/tokens"
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/tokens")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlasyield.club/v1/tokens")
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,
"disclaimer": "Research and information, not investment advice.",
"count": 123,
"censusAt": "2023-11-07T05:31:56Z",
"data": [
{
"chainId": 123,
"address": "<string>",
"assetId": "<string>",
"name": "<string>",
"symbol": "<string>",
"family": "<string>",
"band": "strong",
"total": 123,
"dimensions": {
"backing": 123,
"redemption": 123,
"peg": 123,
"control": 123,
"track": 123
},
"caps": [
{
"kind": "peg",
"reason": "off peg by 1.50% across the last 24 h"
}
],
"reviewDue": true,
"exposureUsd": 123,
"computedAt": "2023-11-07T05:31:56Z"
}
]
}{
"success": false,
"error": "Validation error",
"details": {}
}Endpoints
Token ratings
Every token the scored vaults hold or lend against, with its band, total, five dimension scores, active live caps and our exposure, largest first. band=unrated and reviewDue=true are the review queue. The rubric is published at docs/research/TOKEN_RISK_RUBRIC.md in the AtlasYield repository.
GET
/
tokens
Risk ratings of every token the vaults hold
curl --request GET \
--url https://api.atlasyield.club/v1/tokensimport requests
url = "https://api.atlasyield.club/v1/tokens"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.atlasyield.club/v1/tokens', 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/tokens",
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/tokens"
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/tokens")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlasyield.club/v1/tokens")
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,
"disclaimer": "Research and information, not investment advice.",
"count": 123,
"censusAt": "2023-11-07T05:31:56Z",
"data": [
{
"chainId": 123,
"address": "<string>",
"assetId": "<string>",
"name": "<string>",
"symbol": "<string>",
"family": "<string>",
"band": "strong",
"total": 123,
"dimensions": {
"backing": 123,
"redemption": 123,
"peg": 123,
"control": 123,
"track": 123
},
"caps": [
{
"kind": "peg",
"reason": "off peg by 1.50% across the last 24 h"
}
],
"reviewDue": true,
"exposureUsd": 123,
"computedAt": "2023-11-07T05:31:56Z"
}
]
}{
"success": false,
"error": "Validation error",
"details": {}
}Headers
Query Parameters
Response
Token ratings.
When the score tick that produced this list ran. The list is exactly the tokens that tick's vault compositions reached, so a token no vault holds any more drops out at the next tick. Null only in the minutes after an API restart, before the first tick, when the list is the newest stored rating per token from the last two days.