curl --request GET \
--url https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs \
--header 'Authorization: Bearer <token>'import requests
url = "https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs', 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://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs",
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://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs"
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://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs")
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{
"schema": "rugs-leaderboard/1",
"state": "ok",
"available": true,
"entries": [
{}
],
"count": 123,
"empty": true,
"empty_reason": "<string>",
"reason": "<string>",
"window_hours": 123,
"generated_at": 123
}{
"error": "unauthorized",
"reason": "<string>"
}{
"schema": "rugs-leaderboard/1",
"state": "no_snapshot",
"available": false,
"entries": [],
"count": 0,
"empty": true,
"reason": "SUPABASE_URL / SUPABASE_SERVICE_ROLE_KEY are unset, so the flagged_wallets table cannot be read"
}Recently flagged wallets
The Wall of Rugs feed. Reads a table rather than calling a chain provider, so it costs no upstream quota.
Three outcomes, not two. state: "ok" with a non-empty entries is a result; state: "ok" with entries: [] is a genuine quiet day; state: "no_snapshot" means the table could not be read and NOTHING WAS CHECKED. The third must never be rendered as the second.
On the current production deployment this route returns 503 no_snapshot on every request, because SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY are unset.
curl --request GET \
--url https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs \
--header 'Authorization: Bearer <token>'import requests
url = "https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs', 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://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs",
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://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs"
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://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scienter-intelligence-production.up.railway.app/api/leaderboard/rugs")
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{
"schema": "rugs-leaderboard/1",
"state": "ok",
"available": true,
"entries": [
{}
],
"count": 123,
"empty": true,
"empty_reason": "<string>",
"reason": "<string>",
"window_hours": 123,
"generated_at": 123
}{
"error": "unauthorized",
"reason": "<string>"
}{
"schema": "rugs-leaderboard/1",
"state": "no_snapshot",
"available": false,
"entries": [],
"count": 0,
"empty": true,
"reason": "SUPABASE_URL / SUPABASE_SERVICE_ROLE_KEY are unset, so the flagged_wallets table cannot be read"
}Authorizations
The streaming endpoints additionally accept ?token= for clients that cannot set headers, such as a browser WebSocket. Mint a separate token for that: a credential in a URL reaches access logs, proxies and browser history.
Query Parameters
Capped at 100. Without a ceiling this is an unauthenticated full-table export of every address the product has ever accused.
1 <= x <= 100Response
The table answered. entries may legitimately be empty.
"rugs-leaderboard/1"
no_snapshot means nothing was checked. It is not an empty result.
ok, no_snapshot