# AliExpress Product Scraper (x402)

> AliExpress Product Scraper (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes AliExpress product listings and item pages, returning structured data including title, image, price, rating, and discount fields, charged per successful call via x402 micropayments.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/aliexpress?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aliexpress-product-scraper-x402-45eaae18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bobRtjsGwDj0CswAd1M7l

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aliexpress-product-scraper-x402-45eaae18 -d '<json body>'
```

Example prompt: Search AliExpress for 'wireless earbuds' sorted by number of orders, collect up to 50 products, and give me each product's title, current price, original price, and rating.

## When to prefer this

Use this endpoint when you need structured AliExpress product data at scale without maintaining your own scraper infrastructure. Ideal for price intelligence, dropshipping research, catalog enrichment, or competitive analysis targeting AliExpress specifically. The pay-per-successful-call model (no charge on empty/failed runs) makes it safe for exploratory queries. Prefer this over generic web scrapers when you want normalized product schema fields (price, rating, discount) rather than raw HTML.

## Known failure modes

- Empty results if AliExpress blocks the scrape — not charged
- Null price/sales fields for public item pages that don't expose those values
- Rate limiting or anti-bot detection causing failed run — not charged
- Invalid or expired product URL returning no data
- Search query returning zero results due to AliExpress locale/availability filters

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of matched items and an array of product records, each containing product ID, URL, title, image URL, current price, original price, discount price, and rating value. Fields may be null if not available on the page. The top-level 'product' field confirms the scraper used (aliexpress).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sortBy": {
   "enum": [
    "default",
    "orders",
    "price_asc",
    "price_desc"
   ],
   "type": "string",
   "default": "default",
   "description": "Sort search listings by relevance, sales, or price."
  },
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Stop after this many products across all inputs; zero removes the total cap."
  },
  "maxProducts": {
   "type": "integer",
   "default": 100,
   "maximum": 1000,
   "minimum": 1,
   "description": "Maximum unique products to collect for each search query, across search pages."
  },
  "productUrls": {
   "type": "array",
   "description": "Direct AliExpress item URLs. Public item pages provide title and image; price and sales fields may be empty."
  },
  "searchQueries": {
   "type": "array",
   "description": "Keywords to search, one per line. Provide search queries, product URLs, or both."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "title": null,
    "imageUrl": null,
    "productId": null,
    "productUrl": null,
    "ratingValue": null,
    "priceCurrent": null,
    "priceDiscount": null,
    "priceOriginal": null
   }
  ],
  "product": "aliexpress"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aliexpress-product-scraper-x402-45eaae18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
