Skip to main content

Account

Account endpoints let you check your credit balance and quota, understand your rate limits, and store per-key UI preferences.


Endpoints​

MethodPathDescription
GET/v1/accountYour balance, quota, plan, and rate-limit state
GET/v1/me/prefsGet your stored UI preferences
PUT/v1/me/prefsSet your UI preferences

GET /v1/account​

Returns your current account state — credit balance, quota used this period, rate-limit window, and plan details.

This endpoint is always free (0 credits, not rate-limited) because it must be readable even when you're rate-limited or out of credits. Authentication is still required.

No parameters.

GET /v1/account

Response shape​

{
"plan": "pro",
"balance": 9820,
"quota": {
"used": 180,
"limit": 10000,
"resets_at": "2026-09-01T00:00:00Z"
},
"rate_limit": {
"limit_per_minute": 60,
"remaining": 58,
"reset_at": "2026-08-29T12:00:45Z"
},
"unlimited": false
}
FieldDescription
balanceRemaining credits.
quota.usedCredits consumed in the current billing period.
quota.limitMonthly credit allowance for your plan.
quota.resets_atWhen the monthly quota resets.
rate_limit.limit_per_minuteMax requests per minute for your plan.
rate_limit.remainingRequests remaining in the current 1-minute window.
unlimitedtrue for internal/unlimited API keys.

Credit costs​

Common operations and their credit costs:

OperationCredits
GET /v1/news1
GET /v1/news/by-tickers1
GET /v1/news/search1
GET /v1/stocks (search mode)1
POST /v1/stocks/resolve1
GET /v1/financials1
GET /v1/financials/compare1–5
GET /v1/financials/find0 (free resolver)
POST /v1/screen1–3 (by complexity)
GET /v1/options/:ticker/sentiment1
GET /v1/positioning1
GET /v1/portfolios/:id/context5
GET /v1/themes/:id/summary15
GET /v1/brief15
GET /v1/account0 (always free)
GET/PUT /v1/me/prefs0 (always free)

GET /v1/me/prefs​

Get your stored UI preferences. Returns an empty object {} if no preferences are saved yet.

Free — 0 credits.

GET /v1/me/prefs

Response​

{
"prefs": {
"theme": "dark",
"default_currency": "USD",
"default_country": "US"
}
}

PUT /v1/me/prefs​

Store UI preferences as a JSON object. The entire blob is replaced on each write — merge on the client side before sending.

Free — 0 credits. Max 16KB per key.

Request body​

Send either the preferences object directly:

{
"theme": "dark",
"default_currency": "USD",
"default_country": "US"
}

Or wrap it in a prefs key:

{
"prefs": {
"theme": "dark",
"default_currency": "USD"
}
}

Both forms are accepted. The value must be a JSON object (not an array or scalar).

Response​

{
"ok": true,
"prefs": { "theme": "dark", "default_currency": "USD" }
}

:::info Merge yourself PUT /v1/me/prefs replaces the entire blob. To update one key without losing others, GET first, merge, then PUT. :::