curl "https://api.alura.io/v1/workspace/ads/listings?shop_id=22841907&sort=-spend" \
-H "Authorization: Bearer $ALURA_API_KEY"const res = await fetch('https://api.alura.io/v1/workspace/ads/listings?shop_id=22841907&sort=-spend', {
headers: {
Authorization: `Bearer ${process.env.ALURA_API_KEY}`,
},
});
console.log(await res.json());import json
import os
import urllib.request
request = urllib.request.Request(
"https://api.alura.io/v1/workspace/ads/listings?shop_id=22841907&sort=-spend",
headers={
"Authorization": f"Bearer {os.environ['ALURA_API_KEY']}",
},
)
with urllib.request.urlopen(request) as response:
print(json.load(response)){
"object": "list",
"data": [
{
"object": "workspace.ad_listing",
"listing_id": "1834720561",
"title": "Personalized name mug, custom coffee mug with name, 11oz ceramic gift",
"image_url": "https://i.etsystatic.com/mock/il_fullxfull.1834720561.jpg",
"price": {
"amount": "24.00",
"currency": "USD"
},
"promoted": true,
"strategy": "efficient",
"impressions": 48000,
"clicks": 720,
"click_rate": 0.015,
"spend": {
"amount": "300.00",
"currency": "USD"
},
"orders": 18,
"revenue": {
"amount": "432.00",
"currency": "USD"
},
"roas": 1.44
},
{
"object": "workspace.ad_listing",
"listing_id": "1834720562",
"title": "Custom travel tumbler with name, insulated 20oz",
"image_url": "https://i.etsystatic.com/mock/il_fullxfull.1834720562.jpg",
"price": {
"amount": "32.00",
"currency": "USD"
},
"promoted": true,
"strategy": "lower_click_cost",
"impressions": 21000,
"clicks": 190,
"click_rate": 0.009,
"spend": {
"amount": "125.00",
"currency": "USD"
},
"orders": 2,
"revenue": {
"amount": "64.00",
"currency": "USD"
},
"roas": 0.51
}
],
"has_more": false,
"next_cursor": null,
"total": {
"value": 2,
"relation": "eq"
},
"summary": {
"shop_id": "22841907",
"range": "max",
"range_applied": {
"from": "2019-10-22",
"to": "2026-10-17",
"granularity": null
},
"range_capped": false,
"range_capped_reason": null,
"filtered_count": 2,
"filtered_totals": {
"impressions": 69000,
"clicks": 910,
"click_rate": 0.0132,
"spend": {
"amount": "425.00",
"currency": "USD"
},
"orders": 20,
"revenue": {
"amount": "496.00",
"currency": "USD"
},
"roas": 1.17
},
"notices": [],
"fetched_at": "2026-10-17T12:00:00.000Z",
"source": "live"
}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"max_days": 123
}{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>"
}{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"state": "login_expired",
"holder": {
"label": "<string>",
"last_seen_at": "<string>"
},
"last_served_at": "<string>",
"action": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"retry_after_seconds": 2
}{
"type": "https://docs.alura.io/errors/internal_error",
"title": "Internal error",
"status": 500,
"code": "internal_error",
"detail": "Internal error",
"suggestion": "Retry; if it keeps failing, report the request_id.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"reason": "shop_busy"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"hint": {
"range": "last_30"
}
}Search ad listings
Search your shop’s listings in Etsy Ads, read live from Etsy, to see which waste ad money and which earn it, with each listing’s results over a date range.
curl "https://api.alura.io/v1/workspace/ads/listings?shop_id=22841907&sort=-spend" \
-H "Authorization: Bearer $ALURA_API_KEY"const res = await fetch('https://api.alura.io/v1/workspace/ads/listings?shop_id=22841907&sort=-spend', {
headers: {
Authorization: `Bearer ${process.env.ALURA_API_KEY}`,
},
});
console.log(await res.json());import json
import os
import urllib.request
request = urllib.request.Request(
"https://api.alura.io/v1/workspace/ads/listings?shop_id=22841907&sort=-spend",
headers={
"Authorization": f"Bearer {os.environ['ALURA_API_KEY']}",
},
)
with urllib.request.urlopen(request) as response:
print(json.load(response)){
"object": "list",
"data": [
{
"object": "workspace.ad_listing",
"listing_id": "1834720561",
"title": "Personalized name mug, custom coffee mug with name, 11oz ceramic gift",
"image_url": "https://i.etsystatic.com/mock/il_fullxfull.1834720561.jpg",
"price": {
"amount": "24.00",
"currency": "USD"
},
"promoted": true,
"strategy": "efficient",
"impressions": 48000,
"clicks": 720,
"click_rate": 0.015,
"spend": {
"amount": "300.00",
"currency": "USD"
},
"orders": 18,
"revenue": {
"amount": "432.00",
"currency": "USD"
},
"roas": 1.44
},
{
"object": "workspace.ad_listing",
"listing_id": "1834720562",
"title": "Custom travel tumbler with name, insulated 20oz",
"image_url": "https://i.etsystatic.com/mock/il_fullxfull.1834720562.jpg",
"price": {
"amount": "32.00",
"currency": "USD"
},
"promoted": true,
"strategy": "lower_click_cost",
"impressions": 21000,
"clicks": 190,
"click_rate": 0.009,
"spend": {
"amount": "125.00",
"currency": "USD"
},
"orders": 2,
"revenue": {
"amount": "64.00",
"currency": "USD"
},
"roas": 0.51
}
],
"has_more": false,
"next_cursor": null,
"total": {
"value": 2,
"relation": "eq"
},
"summary": {
"shop_id": "22841907",
"range": "max",
"range_applied": {
"from": "2019-10-22",
"to": "2026-10-17",
"granularity": null
},
"range_capped": false,
"range_capped_reason": null,
"filtered_count": 2,
"filtered_totals": {
"impressions": 69000,
"clicks": 910,
"click_rate": 0.0132,
"spend": {
"amount": "425.00",
"currency": "USD"
},
"orders": 20,
"revenue": {
"amount": "496.00",
"currency": "USD"
},
"roas": 1.17
},
"notices": [],
"fetched_at": "2026-10-17T12:00:00.000Z",
"source": "live"
}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"max_days": 123
}{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>"
}{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"state": "login_expired",
"holder": {
"label": "<string>",
"last_seen_at": "<string>"
},
"last_served_at": "<string>",
"action": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"retry_after_seconds": 2
}{
"type": "https://docs.alura.io/errors/internal_error",
"title": "Internal error",
"status": 500,
"code": "internal_error",
"detail": "Internal error",
"suggestion": "Retry; if it keeps failing, report the request_id.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"reason": "shop_busy"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"suggestion": "<string>",
"retryable": true,
"request_id": "<string>",
"upgrade_url": "<string>",
"credits_needed": 123,
"credits_remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"shop_id": "<string>",
"hint": {
"range": "last_30"
}
}extension_offline; the live status can name a more specific connection problem. Errors cost no API credits. See Chrome extension.curl -G "https://api.alura.io/v1/workspace/ads/listings" \
-H "Authorization: Bearer $ALURA_API_KEY" \
--data-urlencode "shop_id=22841907" \
--data-urlencode "sort=-spend" \
--data-urlencode "range=last_90"
ads:read scope and the Etsy Ads workspace permission. Each listing carries its impressions, clicks, click rate, spend, orders, revenue and ROAS over the range.
Filter listings
| To find | Use |
|---|---|
| Advertised or not | promoted: true (the default), false or all |
| Words in the title | q |
| One shop section | section_id |
| One bidding strategy | strategy: efficient, lower_click_cost or greater_visibility |
| One ad group | group_id, or 0 for listings in no group. 409 if Etsy hasn’t turned ad groups on for the shop, or doesn’t show their column in its listings table. |
502 etsy_changed, never unfiltered listings.
Sort
sort takes impressions, clicks, spend, orders or revenue, with a leading - for descending. The default is -impressions.
Choose the range
| You want | Use |
|---|---|
| Since the campaign started | range=max (the default) |
| The last 7, 30, 90 or 365 days | range=last_7, last_30, last_90 or last_365 |
| Exact days | from and to, both inclusive. to defaults to today. A from before the campaign started is moved to its start. |
range doesn’t go with from or to: mixing them answers 400. Days are Etsy’s days, US Eastern for every shop. range_applied says which days Etsy served.
If Etsy fails on range=max, Alura retries once. If that fails too, the answer carries a hint to ask for last_30.
Find listings that waste money
Etsy has no spend filter. Sort by-spend and stop at the first listing under your line. A listing high on this list with no orders is the one to look at first.
curl -G "https://api.alura.io/v1/workspace/ads/listings" \
-H "Authorization: Bearer $ALURA_API_KEY" \
--data-urlencode "shop_id=22841907" \
--data-urlencode "sort=-spend" \
--data-urlencode "range=last_30"
The summary
summary.filtered_totals adds up the listings that match your filters only. For the whole campaign, use Get Etsy Ads.
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. Each page is one live read, and a repeat within 60 seconds comes from Alura’s copy.
An empty page and every failure are free. See Credits and limits.Query Parameters
Only listings that spent at least this much over the range, in US dollars (15 or 15.50). Applied by Alura to each page Etsy serves, so a page can hold fewer listings than limit, or none, while next_cursor goes on; sorted by the same figure (-spend, -clicks, -impressions, or orders for max_orders) the list ends at the first listing past the line. A listing whose figure Etsy did not give is left out. filtered_count and filtered_totals cover the listings that pass, or are null with notice filtered_totals_unknown when one page does not hold them all.
^(0|[1-9][0-9]{0,8})(\.[0-9]{1,2})?$Only listings with at least this many clicks over the range. Applied by Alura to each page Etsy serves, so a page can hold fewer listings than limit, or none, while next_cursor goes on; sorted by the same figure (-spend, -clicks, -impressions, or orders for max_orders) the list ends at the first listing past the line. A listing whose figure Etsy did not give is left out. filtered_count and filtered_totals cover the listings that pass, or are null with notice filtered_totals_unknown when one page does not hold them all.
^\d{1,10}$Only listings shown at least this many times over the range. Applied by Alura to each page Etsy serves, so a page can hold fewer listings than limit, or none, while next_cursor goes on; sorted by the same figure (-spend, -clicks, -impressions, or orders for max_orders) the list ends at the first listing past the line. A listing whose figure Etsy did not give is left out. filtered_count and filtered_totals cover the listings that pass, or are null with notice filtered_totals_unknown when one page does not hold them all.
^\d{1,10}$Only listings with at most this many orders Etsy attributes to the ads over the range (0: ads that sold nothing). Applied by Alura to each page Etsy serves, so a page can hold fewer listings than limit, or none, while next_cursor goes on; sorted by the same figure (-spend, -clicks, -impressions, or orders for max_orders) the list ends at the first listing past the line. A listing whose figure Etsy did not give is left out. filtered_count and filtered_totals cover the listings that pass, or are null with notice filtered_totals_unknown when one page does not hold them all.
^\d{1,10}$