Account
Account
Retrieve your account information including plan details, billing cycle, and current usage against limits.
GET /api/v1/account
Get your account details, current plan, and resource usage.
curl "https://u2l.ai/api/v1/account" \
-H "Authorization: Bearer u2l_live_your_api_key"const response = await fetch("https://u2l.ai/api/v1/account", {
headers: {
"Authorization": "Bearer u2l_live_your_api_key",
},
});
const account = await response.json();
console.log(account.plan); // "advanced"
console.log(account.usage.links); // 142import requests
response = requests.get(
"https://u2l.ai/api/v1/account",
headers={"Authorization": "Bearer u2l_live_your_api_key"},
)
account = response.json()
print(account["plan"]) # "advanced"
print(account["usage"]["links"]) # 142 Response fields
| Field | Type | Description |
|---|---|---|
id | string | Your account UUID |
email | string | Account email address |
plan | string | Current plan (pro, advanced, team, enterprise) |
billingCycle | string | null | Billing period (monthly, yearly, lifetime) |
createdAt | string | Account creation date (ISO 8601) |
usage | object | Current resource usage (links, qrCodes, customDomains, apiKeysUsed, apiKeysLimit) |
{
"id": "d4e5f6a7-b8c9-0123-def0-123456789abc",
"email": "user@example.com",
"plan": "advanced",
"billingCycle": "yearly",
"createdAt": "2025-06-15T10:00:00.000Z",
"usage": {
"links": 142,
"qrCodes": 34,
"customDomains": 2,
"apiKeysUsed": 1,
"apiKeysLimit": 1
}
}