Skip to main content
cURL
Cost: 1 API credit per page.
One shop per call: shop_id is optional only when the workspace has one connected shop. A shop outside the workspace answers 404. The key needs the workspace:read and orders:read scopes. This endpoint is REST only and takes an API key, which only a workspace owner or admin can create. It is not available to AI assistants over an MCP connection.

Read the whole ledger

Entries come in Etsy’s order, by sequence_number, up to 1,000 a page. Set after to the last sequence_number you read and call again until a page comes back empty. next_cursor also works, but stops after 10,000 entries. after never does. Store entries by id and upsert: a later sync can rewrite an entry. Read the whole shop again from after=0 now and then. summary.as_of is when the shop’s finances last synced in full, and a shop whose finances have not synced in full in the last 7 days, or ever, gets the stale_shops notice. The ledger guide has the full recipe.

Tie entries to orders

unknown never means “no order”. An order’s sum is final only once its refunds have had time to arrive: a transaction fee refund can come a day or more after the refund it belongs to.

Money

amount and balance are in the entry’s own currency. When the payment account changed currency, the running balance does not carry across the change. Amounts are served for AUD, CAD, CHF, DKK, EUR, GBP, HKD, ILS, INR, MAD, MXN, MYR, NOK, NZD, PHP, SEK, TRY, USD and ZAR. Every other currency has amount and balance null and amount_error: "currency_unknown": Alura has not verified how Etsy counts it in the ledger, and never guesses.
A page stops before sequence numbers Alura has not stored, with has_more: false and next_cursor: null, so continue by after. summary.not_stored names them, and so does a notice:not_stored.after skips the range on purpose. A ledger_unsequenced notice means the shop has entries Etsy sent without a sequence number, which no page serves.
total is a lower bound ("relation": "gte"): the ledger is not counted. An empty page is free.
For shop totals over a range, use Get shop stats.

Authorizations

Authorization
string
header
required

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

Query Parameters

shop_id
string

The Etsy shop ID of one of the workspace's connected shops; optional when the workspace has one.

Pattern: ^[0-9]{1,20}$
Example:

"22841907"

after
string

Serve the entries after this sequence number; default 0, the start of the ledger. Page by setting it to the last sequence_number you read: next_cursor stops after 10,000 entries, after never does.

Pattern: ^\d{1,10}$
limit
integer

Page size: at most 1000, the default. A larger whole number gets 1000 rows and limit_applied.

Required range: x >= 1
cursor
string

The next_cursor of the previous page. Bound to the query, the workspace and the key.

fields
string

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

Response

OK

object
string
required
Allowed value: "list"
data
object[]
required
has_more
boolean
required
next_cursor
string | null
required
total
object
required
summary
object
required
limit_applied
integer

Present only when limit asked for more than 1000: the page size used instead, 1000.