GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - omkarcloud/alibaba-scraper: Alibaba Scraper gets you Alibaba.com products, prices, MOQs & suppliers ⚡ fast and 🔍 ridiculously detailed — as clean JSON. 1,000 free calls/month ❤️

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
alibaba
alibaba
 
 
browser_worker
browser_worker
 
 
recipes
recipes
 
 
scraper_utils
scraper_utils
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
alibaba-scraper-featured-image.png
alibaba-scraper-featured-image.png
 
 
alibaba-scraper-youtube-video-preview.png
alibaba-scraper-youtube-video-preview.png
 
 
browser.py
browser.py
 
 
browser_client.py
browser_client.py
 
 
cache.py
cache.py
 
 
config.py
config.py
 
 
docker-compose.yaml
docker-compose.yaml
 
 
egress.py
egress.py
 
 
fastjson.py
fastjson.py
 
 
hostenv.py
hostenv.py
 
 
launch_lock.py
launch_lock.py
 
 
main.py
main.py
 
 
patchright_driver.py
patchright_driver.py
 
 
playground.png
playground.png
 
 
requirements.txt
requirements.txt
 
 
route_glue.py
route_glue.py
 
 
routes.py
routes.py
 
 
run.py
run.py
 
 
schema_fields.py
schema_fields.py
 
 
scraper_errors.py
scraper_errors.py
 
 
url_blocking.py
url_blocking.py
 
 

Repository files navigation

🚀 Alibaba Scraper

Scrape Alibaba.com products, wholesale prices, MOQs, suppliers and buyer reviews as clean JSON — 100% free and open source.

Repo stars

Alibaba Scraper turns any Alibaba.com page into structured JSON — 12 endpoints covering product search with 16 filters, full product pages (volume price ladder, every SKU with its own price and stock, lead times, certifications), supplier profiles, buyer reviews, and reverse image search.

Perfect for product research, price monitoring, dropshipping and supplier sourcing. Free forever, unlimited requests, runs on your machine.

  • Rated Excellent — 4.7 based on 37 reviews on Trustpilot. Our open source work is sponsored by 1000+ devs on GitHub.

🚀 Unlimited Free Alibaba Data — Run It in 60 Seconds

1️⃣ Clone and install:

git clone https://github.com/omkarcloud/alibaba-scraper
cd alibaba-scraper
python -m pip install -r requirements.txt

2️⃣ Start the API:

python run.py

3️⃣ Get your first data:

curl "http://localhost:8000/products/search?query=raspberry+pi"
{
  "count": 20301,
  "per_page": 48,
  "current_page": 1,
  "total_pages": 100,
  "next": "http://localhost:8000/products/search?query=raspberry+pi&page=2",
  "results": [
    {
      "id": 1601110348559,
      "title": "Original Raspberry Pi 4 Model B 1GB/ 2GB/ 4GB/ 8GB SDRAM Raspberry PI 4B",
      "link": "https://www.alibaba.com/product-detail/Original-Raspberry-Pi-4-Model-B_1601110348559.html",
      "price": { "min": 79.0, "max": 79.0, "currency": "USD", "formatted": "$79" },
      "moq": { "quantity": 1, "unit": "piece" },
      "rating": { "review_score": 5.0, "review_count": 14 },
      "supplier": { "name": "Shenzhen Silver Qiao Electronic Technology Co., Ltd.", "country_code": "CN", "years_on_alibaba": 5 }
    }
  ]
}

All 12 endpoints are now live at http://localhost:8000.

🔍 Exploring Parameters

The same API is published on RapidAPI, and its playground is the easiest place to try parameters and see raw responses. Once a request looks right, run it locally.

  1. Subscribe to the free plan — 1,000 calls/month, no credit card.
  2. Try the endpoints in the playground — every param is pre-filled, so you see real data in one click.
  3. Copy the generated code and replace https://best-alibaba-scraper-free-1000-calls.p.rapidapi.com with http://localhost:8000. It now runs against your local API.
import requests

# generated by the playground, host swapped for the local API
response = requests.get(
    "http://localhost:8000/products/search",
    params={"query": "raspberry pi"},
)
print(response.json())

🚨 Use a Residential Proxy

Alibaba rate-limits by IP, so a bare home or server IP will get blocked. After a handful of requests you start getting 502s ("alibaba blocked the request") that clear on their own after a few minutes. Fine for trying things out — not for real scraping.

Fix it by pointing the scraper at any residential proxy provider:

export ALIBABA_PROXY="http://username:[email protected]:port"
python run.py

📚 Endpoints

Every path also works with an /alibaba prefix, and all of them are GET.

Endpoint Path Returns
Product Details /products/details Price ladder, MOQ, every SKU with stock, images, attributes, certifications, supplier
Search Products /products/search 48 products/page — 16 filters: price, MOQ, rating, country, badges, certifications
Products By Category /products/by-category A whole category, 48/page, with the same filters
Search By Image /products/search-by-image Matching products from any photo URL, 20/page, with crop regions
Product Reviews /products/reviews Buyer reviews — rating, translated text, photos, country, supplier reply
Autocomplete /autocomplete Search-bar keyword suggestions
Categories /categories The whole category tree with IDs
Trending Keywords /trending-keywords What buyers are searching for right now
Search Suppliers /suppliers/search 20 manufacturers/page — years, badges, rating, response time
Supplier Details /suppliers/details Company profile — verification, factory facts, markets, payment terms
Supplier Products /suppliers/products Everything one supplier sells, 16/page, searchable & sortable
Supplier Reviews /suppliers/reviews Every review across a supplier's catalog

Every product, supplier, category and image param takes either an ID or the alibaba.com link you copied from your browser. List endpoints return count, per_page, current_page, total_pages and ready-to-follow next / previous links. Prices are numbers with a separate currency, dates are ISO, and anything missing is null.

More Scrapers by Omkar Cloud

  • Google Maps Scraper (3,100+ GitHub Stars) — every business for any niche and location: name, address, phone, ratings, website. Up to 100K free leads a month.
  • Website Email & Contact Scraper — emails, phones, 17 social platforms and the tech stack of any website.
  • G2 Scraper API — G2 product pages as clean JSON: reviews, pricing, ratings, company details.
  • Trustpilot Scraper API — real-time Trustpilot profiles and every review for any domain.

Support

Message us anytime and we'll solve your query within 1 working day — you talk to the engineers who built the scraper, not a support script.

Contact Us on WhatsApp about Alibaba Scraper

Email Us about Alibaba Scraper

Love It? Star It ⭐!

Star the repo ⭐ and become my star hero!

It's just 1 click, but it means the world to me.

Star us on GitHub

About

Alibaba Scraper gets you Alibaba.com products, prices, MOQs & suppliers ⚡ fast and 🔍 ridiculously detailed — as clean JSON. 1,000 free calls/month ❤️

www.omkar.cloud/tools/alibaba-scraper

Topics

1688alibabaalibaba-apialibaba-comalibaba-crawleralibaba-scraperalibaba-scraper-apialibaba-scrapingalibaba-supplier-scraperalibaba-web-scraperaliexpressaliexpress-scraperanti-blockinge-commerce-apie-commerce-scraperecommerce-data-extractionpython-web-scraperscraping-apisuppliersweb-crawler-python

Resources

Readme
MIT license

Security policy

Security policy
Activity
Custom properties

Stars

8 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.