GET /v1/research/lookup takes the link in url or the shop name in name, and returns the product or shop it points to. Alura reads the link without opening it. You need an API key.
1
Look up the link
Response
2
Use the shop or the product
One of
shop and product is filled and the other is null. Each is the same full object that GET /v1/research/shops/{id} or GET /v1/research/products/{id} returns, so you can keep its id for later calls.Accepted links
Links usehttps.
etsy.com without www and Etsy’s mobile host m.etsy.com work the same way. Spaces or a newline at either end of a pasted link are ignored, and the words in a listing link may hold accented or other non-English letters (/de/listing/4524717183/tasse-für-oma).
To look up by ID, use GET /v1/research/products/{id} or GET /v1/research/shops/{id}.
Links that answer 400
Links that answer 400
Other hosts,
http links, links with a port or a user name, short etsy.me links and bare numbers answer 400 invalid_request, free.Look up a shop by name
name matches the shop name exactly, ignoring letter case: letters and digits, at most 20. GET /v1/research/lookup?name=mugco finds MugCo.
Two shops with the same name
Two shops with the same name
When more than one shop has had the name (a shop renamed, another took its old name), the answer is
409 conflict with every match in candidates. Pick one and open it by ID.What it costs
A product or shop name Alura has never seen is fetched from Etsy. A product can be ready within the call; otherwise the answer is
202 while it is fetched, and you ask again at Location. See Freshness and pending. A new shop name counts against the workspace’s daily shop-name lookups.
Pending, not found and refused lookups are free.
Next steps
Analyze a shop
Sales, best sellers and reviews.
Find products
Find products like the one in the link.
Sales history
Its estimated sales, month by month.