API ReferenceAccount
Get account
Your account, its plans and what's left on each.
GET
https://api.riftip.com/v1/accountReturns the account the API key belongs to, with every active plan and its remaining balance.
#Request
curl https://api.riftip.com/v1/account \
-H "Authorization: Bearer $RIFTIP_API_KEY"const res = await fetch("https://api.riftip.com/v1/account", {
headers: { Authorization: `Bearer ${process.env.RIFTIP_API_KEY}` },
});
const account = await res.json();account = requests.get(
"https://api.riftip.com/v1/account",
headers={"Authorization": f"Bearer {API_KEY}"},
).json()#Response
JSON
{
"id": "acct_31f9a2",
"name": "Acme Data",
"email": "ops@acme.com",
"trial_ends_at": null,
"plans": [
{
"id": "plan_res_7d21",
"network": "residential",
"billing": "per_gb",
"traffic_total_bytes": 536870912000,
"traffic_used_bytes": 214748364800,
"renews_at": "2026-11-04T00:00:00Z"
},
{
"id": "plan_isp_2c90",
"network": "isp",
"billing": "per_ip",
"ips": 50,
"renews_at": "2026-11-07T00:00:00Z"
}
]
}