cURL
curl "https://api.alura.io/v1/research/lookup?url=https://www.etsy.com/listing/4524717183/personalized-name-mug" \
-H "Authorization: Bearer $ALURA_API_KEY"const res = await fetch('https://api.alura.io/v1/research/lookup?url=https://www.etsy.com/listing/4524717183/personalized-name-mug', {
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/research/lookup?url=https://www.etsy.com/listing/4524717183/personalized-name-mug",
headers={
"Authorization": f"Bearer {os.environ['ALURA_API_KEY']}",
},
)
with urllib.request.urlopen(request) as response:
print(json.load(response)){
"object": "research.lookup",
"query": {
"url": "https://www.etsy.com/listing/4524717183/personalized-name-mug"
},
"shop": null,
"product": {
"object": "research.product",
"id": "4524717183",
"url": "https://www.etsy.com/listing/4524717183",
"title": "Personalized Name Mug, Custom Coffee Mug",
"state": "active",
"shop": {
"id": "48911633",
"name": "MugCo"
},
"price": {
"amount": "24.99",
"currency": "EUR",
"usd": "27.10"
},
"quantity": 37,
"category": {
"id": "1062",
"path": [
"Home & Living",
"Kitchen & Dining",
"Drink & Barware",
"Drinkware",
"Mugs"
]
},
"tags": [
"personalized mug",
"name mug",
"custom gift"
],
"materials": [
"ceramic"
],
"language": "en-US",
"image_url": "https://i.etsystatic.com/48911633/r/il/0a1b2c/4524717183/il_570xN.4524717183_mug1.jpg",
"images": [
{
"url": "https://i.etsystatic.com/48911633/r/il/0a1b2c/4524717183/il_fullxfull.4524717183_mug1.jpg",
"thumbnail_url": "https://i.etsystatic.com/48911633/r/il/0a1b2c/4524717183/il_570xN.4524717183_mug1.jpg",
"alt_text": "White mug with name",
"rank": 1
}
],
"video": null,
"listed_at": "2023-04-02T10:11:00.000Z",
"attributes": {
"who_made": "i_did",
"when_made": "made_to_order",
"is_digital": false,
"is_personalizable": true,
"is_customizable": false,
"has_variations": true,
"free_shipping": false
},
"favorites": 3120,
"reviews": {
"count": 842,
"average": 4.9
},
"sales": {
"est_lifetime": 6400,
"est_lifetime_revenue_usd": 173440,
"est_monthly_avg": 210,
"est_monthly_avg_revenue_usd": 5691,
"est_last_month": 236,
"est_last_month_revenue_usd": 6396,
"est_trend_3m": 0.12
},
"listing_score": 86,
"as_of": "2026-10-13T09:30:00.000Z",
"refresh": null
}
}{
"object": "research.lookup",
"query": {
"url": "<string>"
},
"status": "pending",
"refresh": {
"status": "queued",
"progress": 123,
"started_at": "<string>",
"estimated_ready_at": "<string>",
"error": {
"code": "<string>",
"detail": "<string>"
}
}
}{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"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": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"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",
"shops_per_day": 123,
"shops_paged_today": 123,
"candidates": [
{
"id": "<string>",
"name": "<string>",
"url": "<string>"
}
]
}{
"type": "https://docs.alura.io/errors/rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Rate limited",
"suggestion": "Wait for Retry-After, then retry.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"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": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}Lookup
Look up URL or shop
Get the Etsy shop or product, another seller’s, that an Etsy URL points to, or the shop with a given name.
cURL
curl "https://api.alura.io/v1/research/lookup?url=https://www.etsy.com/listing/4524717183/personalized-name-mug" \
-H "Authorization: Bearer $ALURA_API_KEY"const res = await fetch('https://api.alura.io/v1/research/lookup?url=https://www.etsy.com/listing/4524717183/personalized-name-mug', {
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/research/lookup?url=https://www.etsy.com/listing/4524717183/personalized-name-mug",
headers={
"Authorization": f"Bearer {os.environ['ALURA_API_KEY']}",
},
)
with urllib.request.urlopen(request) as response:
print(json.load(response)){
"object": "research.lookup",
"query": {
"url": "https://www.etsy.com/listing/4524717183/personalized-name-mug"
},
"shop": null,
"product": {
"object": "research.product",
"id": "4524717183",
"url": "https://www.etsy.com/listing/4524717183",
"title": "Personalized Name Mug, Custom Coffee Mug",
"state": "active",
"shop": {
"id": "48911633",
"name": "MugCo"
},
"price": {
"amount": "24.99",
"currency": "EUR",
"usd": "27.10"
},
"quantity": 37,
"category": {
"id": "1062",
"path": [
"Home & Living",
"Kitchen & Dining",
"Drink & Barware",
"Drinkware",
"Mugs"
]
},
"tags": [
"personalized mug",
"name mug",
"custom gift"
],
"materials": [
"ceramic"
],
"language": "en-US",
"image_url": "https://i.etsystatic.com/48911633/r/il/0a1b2c/4524717183/il_570xN.4524717183_mug1.jpg",
"images": [
{
"url": "https://i.etsystatic.com/48911633/r/il/0a1b2c/4524717183/il_fullxfull.4524717183_mug1.jpg",
"thumbnail_url": "https://i.etsystatic.com/48911633/r/il/0a1b2c/4524717183/il_570xN.4524717183_mug1.jpg",
"alt_text": "White mug with name",
"rank": 1
}
],
"video": null,
"listed_at": "2023-04-02T10:11:00.000Z",
"attributes": {
"who_made": "i_did",
"when_made": "made_to_order",
"is_digital": false,
"is_personalizable": true,
"is_customizable": false,
"has_variations": true,
"free_shipping": false
},
"favorites": 3120,
"reviews": {
"count": 842,
"average": 4.9
},
"sales": {
"est_lifetime": 6400,
"est_lifetime_revenue_usd": 173440,
"est_monthly_avg": 210,
"est_monthly_avg_revenue_usd": 5691,
"est_last_month": 236,
"est_last_month_revenue_usd": 6396,
"est_trend_3m": 0.12
},
"listing_score": 86,
"as_of": "2026-10-13T09:30:00.000Z",
"refresh": null
}
}{
"object": "research.lookup",
"query": {
"url": "<string>"
},
"status": "pending",
"refresh": {
"status": "queued",
"progress": 123,
"started_at": "<string>",
"estimated_ready_at": "<string>",
"error": {
"code": "<string>",
"detail": "<string>"
}
}
}{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"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": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"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",
"shops_per_day": 123,
"shops_paged_today": 123,
"candidates": [
{
"id": "<string>",
"name": "<string>",
"url": "<string>"
}
]
}{
"type": "https://docs.alura.io/errors/rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Rate limited",
"suggestion": "Wait for Retry-After, then retry.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"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": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}Cost: 1 API credit per call.
Send one of
Shop and listing links also work on
A product link answers as Get product does for a product Alura hasn’t seen, including
curl -G "https://api.alura.io/v1/research/lookup" \
-H "Authorization: Bearer $ALURA_API_KEY" \
--data-urlencode "url=https://www.etsy.com/listing/4524717183/personalized-name-mug"
url and name. The answer holds shop or product, the other null, as Get shop and Get product return them. The shop comes without expansions.
Look up a URL
url | Finds |
|---|---|
https://www.etsy.com/shop/MugCo | The shop |
https://www.etsy.com/listing/4524717183/personalized-name-mug | The product |
https://mugco.etsy.com | The shop, from its subdomain |
etsy.com and the mobile m.etsy.com, with or without a locale part such as /de/ or /ca-fr/. The URL is parsed, never opened. Spaces and newlines at either end are ignored.
These are refused with 400: short etsy.me links, bare IDs, other hosts, ports, credentials and http.
Look up a shop name
curl -G "https://api.alura.io/v1/research/lookup" \
-H "Authorization: Bearer $ALURA_API_KEY" \
--data-urlencode "name=MugCo"
name matches a shop name exactly, in any letter case, with no wildcards. When several shops have had the name, the answer is 409 conflict with the shops in candidates.
Not seen yet
| Answer | Meaning | What to do |
|---|---|---|
200 | A product Alura hadn’t seen was fetched within the call. | Use it. |
202 with "status": "pending" | Alura hasn’t seen the product or shop name and is fetching it. For a name, Alura looks it up on Etsy. | Ask again at Location after Retry-After seconds. |
404 not_found_on_etsy | Etsy doesn’t know the name or listing. | Check the link or spelling. |
503 fetch_unavailable | The fetch couldn’t start just now. | Retry after Retry-After seconds. |
404 not_collected | Alura has paused fetching new items of this kind, and has never seen this one. | Try Search shops or Search products. |
404 shop_opted_out and 429 fetch_limit_reached.
A shop name Alura has never seen counts against the workspace’s daily shop-name lookups and shop fetches. See Credits and limits.
The Look up Etsy links guide walks through each answer.Query Parameters
An Etsy URL, https only, parsed and never opened: https://www.etsy.com/shop/{name} or https://www.etsy.com/listing/{id}/… (also on etsy.com and the mobile m.etsy.com, with or without a locale part such as /de/ or /ca-fr/ before shop or listing), or a shop subdomain, https://{shop}.etsy.com. Spaces and newlines at either end are ignored; non-ASCII text in the slug, query or fragment is fine. Short etsy.me links are refused: they would need a request to Etsy to resolve.
Example:
"https://www.etsy.com/listing/4524717183/personalized-name-mug"
Response
OK