Skip to main content
cURL
Cost: 1 API credit per page.
Needs the seller’s Chrome open somewhere, with the Alura extension and signed in to Etsy for this shop. The script or agent can run on another computer. An offline extension answers extension_offline; the live status can name a more specific connection problem. Errors cost no API credits. See Chrome extension.
Needs the ads:read scope and the Etsy Ads workspace permission. A listing Etsy no longer knows answers 404 not_found.

What you get

Each term has its impressions, clicks, click rate, orders, spend, revenue and ROAS, and Etsy’s marks for a high click rate and a high order rate (high_click_rate, high_order_rate).
  • Terms are Etsy’s stemmed forms, so they may not match what a buyer typed word for word.
  • Terms that never ran are left out.
  • relevance keeps all terms (the default), or only the relevant or irrelevant ones as Etsy counts them.

The date window

Etsy keeps the last 31 days and today, and no more. range (max, the default, or last_7, last_30, last_90, last_365) and from/to are capped to that window. When that happens, range_capped is true and range_capped_reason is etsy_rolling_window. range doesn’t go with from or to, and days are Etsy’s days, US Eastern.

Limits

429 live_rate_limited means the shop had too many live reads: more than 2 at a time or 30 a minute. Wait for Retry-After. The list is one live read. A repeat within 60 seconds comes from Alura’s copy. A list of more than one page is kept 10 minutes so its later pages read that copy, and an expired cursor answers 400 invalid_cursor. An empty page and every failure are free. See Credits and limits.

Authorizations

Authorization
string
header
required

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

Path Parameters

listing_id
string
required

The Etsy listing ID of one of the shop's listings.

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

"1834720561"

Query Parameters

shop_id
string

The listing's shop; optional, since Alura finds it from the listing. Another shop than the listing's is 404. With several connected shops and a listing Alura doesn't know yet, 400 shop_id_required lists them.

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

"22841907"

relevance
enum<string>

all (default), or only the terms Etsy counts as relevant or irrelevant to the listing.

Available options:
all,
relevant,
irrelevant
range
enum<string>

max (default): the window Etsy keeps (the last 31 days and today); or last_7, last_30, last_90 or last_365 (the last 7, 30, 90 or 365 days), capped to that window. Not with from/to.

Available options:
max,
last_7,
last_30,
last_90,
last_365
from
string

First day (inclusive), an Etsy (US-Eastern) day. Not with range; a day before Etsy's window is capped there.

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
to
string

Last day (inclusive), an Etsy (US-Eastern) day. Default today. Not with range.

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
limit
integer

Page size: default 25, at most 100.

Required range: 1 <= x <= 100
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