Amazonセラーをスクレイピングする方法:Pythonガイド2025

Expert Network Defense Engineer
Amazonは世界最大のEコマースサイトであり、無数の商品と数百万人の顧客を抱えています。小売業者が参入したいのも当然です。
Amazonのストアページは、これらの小売業者が市場調査を行うのに役立ちます。Amazon上のストアの詳細が表示され、独自のストア情報の改善ガイドとして機能します。しかし、Amazonのようなショッピングサイトのすべての詳細を把握するのは困難です。
そこで、ウェブスクレイピングAPIが最適なソリューションとなります。可能な限りすべての手作業を排除します。手動でスクロールして商品価格やストア情報を書き留める必要はもうありません!強力なAmazonスクレイピングAPIを使用して、スクレイピングを簡単にしましょう!
このチュートリアルでは、PythonでAPIを使用してAmazonストアの詳細をスクレイピングする方法を見ていきます。
始めましょう!
なぜAmazonセラーをスクレイピングするのか?
- 競合インテリジェンス
- 市場とトレンド分析
- 価格戦略の最適化
- 商品調査と選定
- 顧客インサイトと感情分析
- サプライチェーンとサプライヤー調査
- 販売実績のモニタリング
Scrapelessとは何か、そしてなぜAmazonセラーのスクレイピングにScrapelessを選択するのか?
Scrapelessは強力なAPIツールです。Pythonとシームレスに統合でき、開発者と非開発者の両方のニーズを満たすように設計されています。
Amazonセラーのデータクロール全体のプロセスを簡素化し、ユーザーがAmazonプラットフォームからさまざまな有効な情報を容易かつ確実に抽出できるようにします。
データのスクレイピングを始めたばかりの初心者でも、効率的なスクレイピングソリューションを探している経験豊富な開発者でも、Scrapelessはニーズを満たすシンプルで強力な機能を提供します。
Scrapelessのメリット:
🌐 1.独自のIPローテーション技術
AmazonなどのEコマースからのデータスクレイピングプラットフォームでは、頻繁なリクエストはIPブロックとスクレイピングの失敗につながることがよくあります。Scrapelessの組み込みIPローテーションテクノロジーは、各リクエストでIPアドレスを自動的に変更し、ブロックを効果的に防止します。
🔒 2.自動CAPTCHA検出とバイパス
Amazonは、特に大量のAmazonデータをスクレイピングする場合、CAPTCHAやアンチボットチャレンジをトリガーすることがよくあります。Scrapelessは自動的に検出し、CAPTCHAをバイパスできるため、手動による介入の必要性が軽減されます。この機能により、CAPTCHA解決率は99%以上で、AmazonスクレイピングPythonプロジェクトの成功率を大幅に向上させることができます。
⚡ 3.効率的なスクレイピング速度
速度はその主要なメリットの1つです。最適化されたコード構造と同時スクレイピング機能により、Amazonデータのスクレイピングを行う際にデータスクレイピングの効率を大幅に向上させることができ、AmazonスクレイピングPythonツールの使用に最適です。
🚀 4.継続的なスクレイピング能力
長期にわたって安定したデータクロールが必要なユーザー向けに、Scrapelessは優れた安定性を提供します。一般的なクラッシュや障害なしに数千件のレコードを継続的にクロールし、AmazonクローラーPythonが長時間シームレスに実行されるようにします。
🛠️ 5.使いやすいAPIとビジュアルインターフェース
Scrapelessは、開発者がAmazonデータを迅速にクロールし、必要な製品の詳細を取得できる直感的なAPIを提供します。技術に詳しくないユーザー向けには、シンプルなインターフェースとサンプルコードも提供して、使用の敷居を下げています。90%以上のユーザーがScrapelessの使いやすさを高く評価しており、深いプログラミング知識なしでPythonでAmazonクローラーを作成したいと考えている人にとって理想的な選択肢となっています。
Scrapeless Discordグループに参加して無料トライアルを入手しましょう!
Scrapeless APIを使用してAmazonセラーをスクレイピングする方法?

さらなるガイド
上記の製品詳細によって返されるデータによると、**seller_url
**フィールドを見つけることができます。これは、製品に対応する販売者のフィールドです。seller_url
を通じて、対応する販売者の詳細情報に直接アクセスできます。
もちろん、セラーIDがわかっている場合は、以下のようにURLを自分で作成することもできます。
例としてhttps://www.amazon.com/sp?seller=AESX3141EPI7Xを見てみましょう
"AESX3141EPI7X"をアクセスしたいセラーIDに変更するだけです。
手順1. APIキーを取得する
Scrapelessにログインすると、システムによって対応するApiKeyが自動的に生成されます。次のようにできます。
- 「APIキー管理」をクリック
- 次に「APIキーを表示」をクリック

手順2. コードをプロジェクトに統合する
必要な操作は2つだけです。
- ターゲットセラーのURLに置き換える
- APIキーを入力する
Python
import json
import requests
class Payload:
def __init__(self, actor, input_data):
self.actor = actor
self.input = input_data
def send_request():
host = "api.scrapeless.com"
url = f"https://{host}/api/v1/scraper/request"
token = "" ## APIトークンを入力してください
headers = {
"x-api-token": token
}
input_data = {
"action": "seller",
"url": "https://www.amazon.com/sp?seller=AESX3141EPI7X" ## ターゲットセラーのURLに置き換えてください
}
payload = Payload("scraper.amazon", input_data)
json_payload = json.dumps(payload.__dict__)
response = requests.post(url, headers=headers, data=json_payload)
if response.status_code != 200:
print("Error:", response.status_code, response.text)
return
print("body", response.text)
if __name__ == "__main__":
send_request()
- その他の言語については、APIドキュメントをご覧ください。上記のプロジェクトをより具体的にするために、元のPythonコードは次のとおりです。
Python
import requests
import json
url = "https://api.scrapeless.com/api/v1/scraper/request"
payload = json.dumps({
"actor": "scraper.amazon",
"input": {
"url": "",
"action": "seller"
}
})
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
手順3. クロールを開始して出力を取得する
Scrapeless AmazonスクレイピングAPIによって返されるセラーの詳細を以下に示します。
JSON
{
"url": "https://www.amazon.com/sp?seller=AESX3141EPI7X",
"seller_id": "AESX3141EPI7X",
"seller_name": "XXX",
"description": "About SellerXXX is proud to offer you the best quality products with the best quality service. Customer satisfaction is our number #1 priority! If you have any questions or concerns about your order, please don't hesitate to contact us at: 1-844-637-1400 Our customer service hours are Monday thru Friday, 10 AM - 5 PM Eastern Time. Looking forward to hearing from you!",
"detailed_info": [
{
"title": "Business Name:",
"value": "ADN GLOBAL LLC"
},
{
"title": "Business Address:",
"value": "502 Jersey Ave,STE A,NEW BRUNSWICK,NJ,08901,US"
}
],
"feedbacks": [
{
"starts": "5 out of 5 stars",
"text": "good",
"date": "By Yenny albarracin on December 26, 2024."
},
{
"starts": "4 out of 5 stars",
"text": "Aurticulo en buen estado y muy eficiente en la entrega",
"date": "By Juan D. on December 26, 2024."
},
{
"starts": "4 out of 5 stars",
"text": "Good experience was received on time",
"date": "By Symon Harry on December 25, 2024."
},
{
"starts": "5 out of 5 stars",
"text": "It’s a gift",
"date": "By Patty T. on December 25, 2024."
},
{
"starts": "1 out of 5 stars",
"text": "Disappointed with service. Order in November and gift will not be here before Christmas. My child will be so disappointed.",
"date": "By Rosey M. on December 24, 2024."
}
],
"stars": "4.5 out of 5 stars",
"return_policy": "To get information about the Return and Refund policies that may apply, please refer to Amazon’s Return and Refund policy.To initiate a return, visit Amazon's Online Return Center to request a return authorization from the seller. For any issues with your return, if the product was shipped by the seller, you can get help here.",
"shipping_policies": "Unless noted otherwise in the ordering pipeline, XXX ships all items within two days of receiving an order. You will receive notification of any delay or cancellation of your order.",
"privacy_security": "Amazon knows that you care how information about you is used and shared, and we appreciate your trust that we will do so carefully and sensibly. By visiting Amazon.com, you are accepting the practices described in Amazon.com's Privacy Policy . In addition, we want you to be aware that Amazon.com will provide XXX with information related to your transactions involving their products (including, for example, your name, address, products you purchase, and transaction amount), and that such information will be subject to XXX's Privacy Policy.",
"privacy_policy": "XXX values the privacy of your personal data. For more information see Amazon.com's Privacy Policy .",
"tax_info": "Sales tax is not separately calculated and collected in connection with items ordered from XXX through the Amazon.com Site unless explicitly indicated as such in the ordering process. Items ordered from XXX may be subject to tax in certain states, based on the state to which the order is shipped. If an item is subject to sales tax, in accordance with state tax laws, the tax is generally calculated on the total selling price of each individual item, including shipping and handling charges, gift-wrap charges and other service charges, less any applicable discounts. If tax is separately calculated and collected in connection with items ordered from XXX through the Amazon.com Site, the tax amounts that appear during the ordering process are estimated - the actual taxes that will be charged to your credit card will be calculated at the time your order is processed and will appear in your order confirmation notification.",
"help_content": "For questions about a charge that has been made to your credit card, please contact Amazon. Questions about how to place an order? Search Amazon Help.",
"products_link": "https://www.amazon.com/s?ie=UTF8&marketplaceID=ATVPDKIKX0DER&me=AESX3141EPI7X",
"business_name__DUPLICATE": "XXX",
"business_address__DUPLICATE": "XXX",
"rating_positive": "90% positive",
"brands": "",
"feedbacks_percentages": {
"star_1": "7%",
"star_2": "2%",
"star_3": "2%",
"star_4": "11%",
"star_5": "79%"
},
"rating_count_m12": "1,143",
"rating_count_m3": "276",
"rating_count_lifetime": "21,128",
"rating_count_m1": "118",
"country": "US",
"email": "",
"timestamp": "2024-12-26"
}
Scrapelessダッシュボード:Amazonセラーをスクレイピングする最も簡単な方法
上記のPythonの手順は、多くの人にとって面倒かもしれません。企業規模のクロールにおける負担を軽減するために、Scrapelessダッシュボードは、面倒なリクエスト開始プロセスを節約します。簡単なクリックと設定だけで、簡単にセラー情報をクロールできます。
さあ、スクロールを続けましょう!
手順1。Scrapelessにログインします。
手順2。「スクレイピングAPI」をクリックし、「Amazon」を選択してAmazonスクレイピングページに入ります。

手順3。ターゲットセラーのURLをコピーしてボックスに入力します。「アクション」を「セラー」に切り替え、「スクレイピング開始」ボタンをクリックします。

ツールページでは、クロールするデータの種類を選択できます。
- セラー: セラー名、評価、連絡先情報など、セラー情報をクロールします。
- 商品: タイトル、価格、評価、コメントなどの商品詳細をクロールします。
- キーワード: 商品に関連するキーワードをクロールして、商品のSEOと市場トレンドを分析するのに役立ちます。
手順4。クロールが完了したら、右側のパネルでクロールされたデータを確認できます。結果は、分析しやすい明確な形式で表示されます。

他の商品をクロールする必要がある場合は、「続行」をクリックして新しいAmazonリンクを入力し、上記の手順を繰り返します。
まとめ
Amazonセラーページをスクレイピングする方法は複数ありますが、自分でコーディングするのは少し難しい場合があります。動作させるには、ブラウザーの自動化を手動で設定し、取得したHTMLからフィールドを解析する必要があります。
すべての負担を軽減し、簡単にデータをスクレイピングしましょう!強力なScrapeless AmazonスクレイピングAPIを使用して、シンプルで効率的、正確で高速、安定した、安全なデータスクレイピングを実現しましょう。
Scrapeless では、適用される法律、規制、および Web サイトのプライバシー ポリシーを厳密に遵守しながら、公開されているデータのみにアクセスします。 このブログのコンテンツはデモンストレーションのみを目的としており、違法または侵害的な活動には関与していません。 私たちは、このブログまたはサードパーティのリンクからの情報の使用についていかなる保証もせず、一切の責任を負いません。 スクレイピング活動を行う前に、法律顧問に相談し、対象となる Web サイトの利用規約を確認するか、必要な許可を取得してください。