# Alibaba Scraper

**lexis-solutions/alibaba-scraper**

The Apify Alibaba Scraper is an efficient web crawling tool designed to scrape Alibaba, extracting product information, prices, and reviews. This crawler streamlines data collection by quickly crawling and scraping content, providing valuable insights for research and analysis.

## Pricing

$30.00/month + usage

## Rating

1.2 (5)

## Developer

[Lexis Solutions](https://apify.com/lexis-solutions)

## Actor stats

- Bookmarks: 15
- Total users: 300
- Monthly active users: 11
- Last modified: 22 days ago

## Categories

[E-commerce](https://apify.com/store/categories/ecommerce)

## API

You can access the Alibaba Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in [Integrations settings](https://console.apify.com/settings/integrations) in Apify Console.

- [Python](https://apify.com/lexis-solutions/alibaba-scraper/api/python)  
- [JavaScript](https://apify.com/lexis-solutions/alibaba-scraper/api/javascript)  
- [CLI](https://apify.com/lexis-solutions/alibaba-scraper/api/cli)  
- [OpenAPI](https://apify.com/lexis-solutions/alibaba-scraper/api/openapi)  
- [HTTP](https://apify.com/lexis-solutions/alibaba-scraper/api)  
- [MCP](https://apify.com/lexis-solutions/alibaba-scraper/api/mcp)

```bash
# Set API token
$API_TOKEN=<YOUR_API_TOKEN>

# Prepare Actor input
$cat > input.json << 'EOF'
<{
<  "startUrls": [\
<    {\
<      "url": "https://www.alibaba.com/trade/search?fsb=y&IndexArea=product_en&categoryId=201153401&keywords=Groom+Wear&knowledgeGraphId=100010232-10000166340&viewtype=L&&pricef=80&pricet"\
<    }\
<  ],
<  "maxItems": 5,
<  "query": "Groom Wear"
<}
<EOF

# Run the Actor using an HTTP API
# See the full API reference at https://docs.apify.com/api/v2
$curl "https://api.apify.com/v2/acts/lexis-solutions~alibaba-scraper/runs?token=$API_TOKEN" \
<  -X POST \
<  -d @input.json \
<  -H 'Content-Type: application/json'
```

## Alibaba Scraper API

Below, you can find a list of relevant HTTP API endpoints for calling the Alibaba Scraper Actor. For this, you’ll need an Apify account. Replace `<YOUR_API_TOKEN>` in the URLs with your Apify API token, which you can find under [Integrations](https://console.apify.com/settings/integrations) in Apify Console.

### Run Actor

POST

```http

```

Note: By adding the `method=POST` query parameter, this API endpoint can be called using a GET request and thus used in third-party webhooks. Please refer to our [Run Actor API documentation](https://docs.apify.com/api/v2#tag/ActorsRun-collection/operation/act_runs_post).

### Run Actor synchronously and get dataset items

POST

```http

```

Note: This endpoint supports both POST and GET request methods. However, only the POST method allows you to pass input data. For more information, please refer to our [Run Actor synchronously and get dataset items API documentation](https://docs.apify.com/api/v2#tag/ActorsRun-Actor-synchronously-and-get-dataset-items).

### Get Actor

GET

```http

```

For more information, please refer to our [Get Actor API documentation](https://docs.apify.com/api/v2#tag/ActorsActor-object/operation/act_get).

Actors can be used to scrape web pages, extract data, or automate browser tasks. Use the Alibaba Scraper API programmatically via the Apify API.
