Check your credit balance and rate limit. Free — 0 credits.Costs nothing and doesn't make an upstream request, but it's still key-authed and rate-limited like every other endpoint. See Credits & pricing for how the balance is spent.
curl "https://api.threadsnoop.com/v1/account" \
-H "x-api-key: ts_live_YOUR_KEY"const res = await fetch("https://api.threadsnoop.com/v1/account", {
headers: { "x-api-key": "ts_live_YOUR_KEY" },
});
const data = await res.json();
console.log(data.data.credits_balance);type AccountResponse = {
data: { credits_balance: number; rate_limit: { qps: number; burst: number } };
_threadsnoop: { credits_used: number; credits_remaining: number };
};
const res = await fetch("https://api.threadsnoop.com/v1/account", {
headers: { "x-api-key": "ts_live_YOUR_KEY" },
});
const data: AccountResponse = await res.json();
console.log(data.data.credits_balance);import requests
r = requests.get(
"https://api.threadsnoop.com/v1/account",
headers={"x-api-key": "ts_live_YOUR_KEY"},
)
data = r.json()
print(data["data"]["credits_balance"]){
"data": { "credits_balance": 328, "rate_limit": { "qps": 2, "burst": 10 } },
"_threadsnoop": { "credits_used": 0, "credits_remaining": 328 }
}