Skip to content

Alibaba Scraper API is a powerful tool designed to extract data from Alibaba. Ideal for e-commerce and data professionals requiring detailed Alibaba product, price, and reviews data.

Notifications You must be signed in to change notification settings

oxylabs/alibaba-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Alibaba Scraper API

Oxylabs promo code

Oxylabs' Alibaba Scraper (a part of Web Scraper API) is a data gathering solution allowing you to extract real-time information from an Alibaba website effortlessly. This brief guide showcases how Alibaba Scraper works, along with code examples to help you better understand how to use it hassle-free.

How it works

You can get Alibaba results by providing your own URLs to our service. We can return the HTML for any page you like.

Python code example

The example below illustrates how you can get HTML of Alibaba page.

import requests
from pprint import pprint

# Structure payload.
payload = {
    'source': 'universal',
    'url': 'https://www.alibaba.com/trade/search?spm=a2700.galleryofferlist.pagemodule_fy23_pc_search_bar.keydown__enter&tab=all&searchtext=phone'
}

# Get response.
response = requests.request(
    'POST',
    'https://realtime.oxylabs.io/v1/queries',
    auth=('user', 'pass1'),
    json=payload,
)

# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())

Find code examples for other programming languages here

Output Example

{
  "results": [
    {
      "content": " ... </html>",
      "created_at": "2024-01-10 09:36:34",
      "updated_at": "2024-01-10 09:37:07",
      "page": 1,
      "url": "https://www.alibaba.com/trade/search?spm=a2700.galleryofferlist.pagemodule_fy23_pc_search_bar.keydown__enter&tab=all&searchtext=phone",
      "job_id": "7150782465571876865",
      "status_code": 613
    }
  ]
}

With our Alibaba Scraper, you can seamlessly pull public data from any Alibaba web page. Gather essential clothing information, such as fabric, styles, price, and customer reviews, to understand the fashion industry trends and outpace your competitors. If you encounter any issues, reach out to our support team through live chat or email us at [email protected].

About

Alibaba Scraper API is a powerful tool designed to extract data from Alibaba. Ideal for e-commerce and data professionals requiring detailed Alibaba product, price, and reviews data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published