Skip to main content
cURL
Cost: Free.
Needs the usage:read scope. How credits and limits work is on Credits and limits.

Credits this month

  • credits has the month’s allowance, what was used and what is remaining. used includes credits held by calls still running: they count against the limit too. A mid-month upgrade applies at once.
  • period is the UTC calendar month the API credits belong to. They reset at period.end.
  • daily is the daily ceiling: 25% of the month on paid plans, reset at the next UTC midnight. It’s null on Free, which can spend the whole month in one day.

Limits

Spending

upgrade_url links to the plan’s billing page in the Alura app.
A write_budget value Alura can’t read is null with a notice (write_budget_unavailable or write_budget_not_recorded), never 0. So is a used Alura last counted before its resets_at (write_budget_stale): the budget has reset since, and what is used is unknown until the next write is counted. If the credits or the fetch caps can’t be read, the call answers 503 instead.
For API credits per day, use Get usage by day. For each charge, use List usage events.

Authorizations

Authorization
string
header
required

An API key: Authorization: Bearer alura_sk_....

Query Parameters

fields
string

Comma-separated dotted paths to return; id, object and as_of always come back.

Response

OK

object
string
required
Allowed value: "usage"
plan
enum<string>
required

The workspace's Alura plan.

Available options:
free,
basic,
growth,
professional
period
object
required

The UTC calendar month the API credits belong to; they reset at end.

credits
object
required

This month's API credits.

daily
object | null
required

The daily ceiling: 25% of the month on paid plans. null when the plan has none (Free can spend the month in one day).

rate_limit
object
required

The plan's request rate.

fetch_caps
object
required

Today's (UTC) fetches of items Alura had not seen yet, per type, and the shop-name lookups.

by_operation
object
required

API credits spent this month, by operation id (the keys of costs).

by_client
object
required

API credits spent this month, by client: claude, chatgpt, cursor, script, other; unknown for charges whose client was not recorded.

writes
object
required

This month's writes to Etsy through the API, by operation id and outcome: succeeded landed in full, partial landed in part (some fields did not), failed wrote nothing, unknown is still being checked. A write still running is not counted yet.

write_budget
object[] | null
required

Each connected shop's Etsy write budgets: writes through the API and app automations share them. null when the shops cannot be read; a value that cannot be read is null with a notice, never 0.

notices
object[]
required

Why a part of the answer is unknown; empty when nothing is.

costs
object
required

The price of every operation, by operation id: credits per call, per non-empty page, per item returned or per write that landed on Etsy.

upgrade_url
string
required

The billing page in the Alura app, where the workspace's plan is changed.