A Flask-based API that scrapes product data from amazon.in and returns it in JSON format.
- Search Amazon products by keyword
- Get detailed product information by ASIN
- Pagination support for search results
- Comprehensive product data including:
- Pricing (current & original)
- Ratings and reviews
- Product descriptions and features
- Technical specifications
- Product images
- Variants and availability
-
Clone the repository:
git clone https://github.com/CraftyScripter/amazon-unofficial-api.git cd amazon-scraper-api -
Install dependencies:
pip install -r requirements.txt
The API will run at http://localhost:5000 in debug mode.
python server.py- Search Products
GET /api/search?query=<search_term>&page=<page_number>
- Get Product Details
GET /api/product/<product_id>