Amazon API Expert
Amazon API Expert

Reputation: 11

How to retrieve the keywords of ASIN from Amazon by code?

How to retrieve the keywords of ASIN from Amazon by code ?

I tried to scrape the amazon pages and find the keyword tag but not correct values it is.

Amazon product keywords are under seller central. There are any ways to get the keywords of ASIN from code ?

Upvotes: 1

Views: 2190

Answers (3)

ferrants
ferrants

Reputation: 631

You're looking for all the keywords that a product/asin shows up on? Do you care about what the state of it is today or this week or at historical points in the past?

There really isn't a great way to get that today via the APIs. Seller Central has a Search Term report you can download through their console for your product's data, but you'd need to scrape their console for that and it would be limited to your products, so not what you want.

There is the Brand Analytics Search Terms in the Selling Partner API report that lists many keywords with their top 3 products, but that's not comprehensive.

Docs on that from Amazon: https://developer-docs.amazon.com/sp-api/docs/report-type-values-analytics#amazon-search-terms-report

The only reliable way to get this data is to scrape every keyword and build an index for what products were seen where and when. That's what services like JungleScout (disclaimer, I am an engineer at JungleScout), Helium10 and others do and offer as a service or via API (as JungleScout does) via the:

/api/keywords/keywords_by_asin_query endpoint

Example Curl Request:

curl --location -g ‘https://developer.junglescout.com/api/keywords/keywords_by_asin_query?marketplace=us&sort=-monthly_search_volume_exact&page[size]=50’
--header ‘X_API_Type: junglescout’
--header ‘Accept: application/vnd.junglescout.v1+json’
--header ‘Content-Type: application/vnd.api+json’
--data ‘{ “data”: { “type”: “keywords_by_asin_query”, “attributes”: { “asins”: [ “B01N05APQY” ], “include_variants”: true, “min_monthly_search_volume_exact”: 1 } } }’

JungleScout Docs: https://developer.junglescout.com/api#endpoints

Upvotes: 1

Touseef Murtaza
Touseef Murtaza

Reputation: 1956

You can use

jQuery("#ASIN").val();

Upvotes: 0

siomes
siomes

Reputation: 181

How to retrieve the keywords of ASIN from Amazon by code ?

Do you mean html source code?

I've been working for a while on this kind of web scraping. There is no easy way because there are many templates/variations/tags in most product pages.

URL pattern is the best/easy way IMO

www.amazon.XXX/OPTIONAL_DESC/dp/ASIN

Any way, Amazon have one of the best API & SDK in order to do this work in your favourite languaje (Phyton, Java, PHP)

Upvotes: 1

Related Questions