---
title: "Alibaba API: wholesale product search as JSON | Perceptlayer"
description: "Alibaba API for wholesale product search, product details with price tiers and MOQ, and supplier profiles as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/alibaba
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Alibaba

1 credit per call 3 endpoints 12 datapoints 

# Alibaba API

Alibaba API for wholesale product search, product details with price tiers and MOQ, and supplier profiles as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Alibaba

GET /v1/alibaba/search?query=wireless+headphones 

```
{
  "success": true,
  "data": {
    "query": "wireless headphones",
    "page": 1,
    "page_size": 60,
    "total_pages": 63,
    "has_more": true,
    "results": [
      {
        "product_id": "1601055608875",
        "title": "2025 TWS M10 Earbuds Wireless Fast Charging Touch Earphone Gaming 4 Noise Cancelling Tws Earphones & Headphones M10",
        "url": "https://www.alibaba.com/product-detail/2025-TWS-M10-Earbuds-Wireless-Fast_1601055608875.html?priceId=b7a997ec660b4e2d8a35c66404a2352e",
        "image_url": "https://s.alicdn.com/@sc04/kf/H231f6d9beaaf4b049b53f7835e4604f9c.jpg_300x300.jpg",
        "image_urls": [
          "https://s.alicdn.com/@sc04/kf/H231f6d9beaaf4b049b53f7835e4604f9c.jpg_300x300.jpg",
          "https://s.alicdn.com/@sc04/kf/H3d9d4b709a854935a4de445a9024c84dN.jpg_300x300.jpg",
          "https://s.alicdn.com/@sc04/kf/Hcfd45b7079b747b6983aa646f03fe34a8.png_300x300.png"
        ],
        "price": {
          "min": 74.6,
          "max": 74.6,
          "amount": 74.6,
          "currency": "UAH",
          "formatted": "74,60 UAH"
        },
        "moq": 10,
        "moq_unit": "pieces",
        "moq_text": "Min. order: 10 pieces",
        "sold_count": 14845,
        "supplier": {
          "company_id": "283721649",
          "company_name": "Shenzhen Miyan Network Technology Co., Ltd.",
          "supplier_href": "https://mielectronic.en.alibaba.com/company_profile.html",
          "subdomain": "mielectronic",
          "gold_supplier": false,
          "gold_supplier_years": 3,
          "country_code": "CN"
        },
        "rating": {
          "score": 4.4,
          "count": 71,
          "supplier_service": 4.5,
          "shipping": 4.4,
          "product": 4.2
        }
      },
      {
        "product_id": "1601779479326",
        "title": "P47 TWS Ear-clip In-Ear Six JL Chipset Hifi Stereo for 5.4 Gaming Headset Mic Flashlight IPX5 Waterproof ANC/ENC APT-X",
        "url": "https://www.alibaba.com/product-detail/P47-TWS-Ear-clip-In-Ear_1601779479326.html?priceId=b7a997ec660b4e2d8a35c66404a2352e",
        "image_url": "https://s.alicdn.com/@sc04/kf/Hce4a08ebfe3143b781bd2ff5bde97cc9e.jpg_300x300.jpg",
        "image_urls": [
          "https://s.alicdn.com/@sc04/kf/Hce4a08ebfe3143b781bd2ff5bde97cc9e.jpg_300x300.jpg",
          "https://s.alicdn.com/@sc04/kf/H27490c2c1590427dab84b13a47e81e92N.png_300x300.png",
          "https://s.alicdn.com/@sc04/kf/H8f5759448e2143cca1772a0129fb6ec0s.jpg_300x300.jpg"
        ],
        "price": {
          "min": 363.04,
          "max": 377.96,
          "amount": 363.04,
          "currency": "UAH",
          "formatted": "363,04-377,96 UAH"
        },
        "moq": 2,
        "moq_unit": "pieces",
        "moq_text": "Min. order: 2 pieces",
        "sold_count": 1391,
        "supplier": {
          "company_id": "274699218",
          "company_name": "Shenzhen Xuanying Technology Co., Ltd.",
          "supplier_href": "https://szsmartwatch.en.alibaba.com/company_profile.html",
          "subdomain": "szsmartwatch",
          "gold_supplier": true,
          "gold_supplier_years": 5,
          "country_code": "CN"
        },
        "rating": {
          "score": 4.6,
          "count": 143,
          "supplier_service": 4.6,
          "shipping": 4.6,
          "product": 4.6
        }
      },
      {
        "product_id": "1600998645662",
        "title": "New Trending Auriculare Bluetooth Earphones Sport Custom Waterproof Gaming In-Ear Headphones Earbuds Wireless Ecouteur Bluetooth",
        "url": "https://www.alibaba.com/product-detail/New-Trending-Auriculare-Bluetooth-Earphones-Sport_1600998645662.html?priceId=b7a997ec660b4e2d8a35c66404a2352e",
        "image_url": "https://s.alicdn.com/@sc04/kf/H30d653cda5b842da841c4b6cf04c7a1dw.jpg_300x300.jpg",
        "image_urls": [
          "https://s.alicdn.com/@sc04/kf/H30d653cda5b842da841c4b6cf04c7a1dw.jpg_300x300.jpg",
          "https://s.alicdn.com/@sc04/kf/H745c4a9803144c9887fdee08e2c99266c.jpg_300x300.jpg",
          "https://s.alicdn.com/@sc04/kf/H0ac80c8c9eee4fecb070a468ce5919e5s.jpg_300x300.jpg"
        ],
        "price": {
          "min": 124.33,
          "max": 268.55,
          "amount": 124.33,
          "currency": "UAH",
          "formatted": "124,33-268,55 UAH"
        },
        "moq": 10,
        "moq_unit": "pieces",
        "moq_text": "Min. order: 10 pieces",
        "sold_count": 4578,
        "supplier": {
          "company_id": "232103615",
          "company_name": "Guangzhou Langston Electronic Technology Co., Ltd.",
          "supplier_href": "https://langstoncn.en.alibaba.com/company_profile.html",
          "subdomain": "langstoncn",
          "gold_supplier": true,
          "gold_supplier_years": 12,
          "country_code": "CN"
        },
        "rating": {
          "score": 4.9,
          "count": 375,
          "supplier_service": 4.8,
          "shipping": 4.9,
          "product": 4.8
        }
      }
    ],
    "filters": [
      {
        "title": "Supplier features",
        "options": [
          {
            "label": "Supplier",
            "value": "true"
          },
          {
            "label": "Supplier",
            "value": "1"
          }
        ]
      },
      {
        "title": "Categories",
        "options": [
          {
            "label": "Noise Cancelling TWS Earphones & Headphones",
            "value": "202055012"
          },
          {
            "label": "Sports Earphones & Headphones",
            "value": "202061615"
          },
          {
            "label": "Talking Headsets",
            "value": "202059218"
          }
        ]
      },
      {
        "title": "Store reviews",
        "options": [
          {
            "label": "4.0 & up",
            "value": "4~"
          },
          {
            "label": "4.5 & up",
            "value": "4.5~"
          },
          {
            "label": "5.0",
            "value": "5~"
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_8d86ea9ed73144f28aee34f4d66583e6",
    "credits_charged": 1,
    "credits_remaining": 999
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | product\_id string | title string | url url | image\_url url | image\_urls string\[\] | price object | moq integer | moq\_unit string | moq\_text string | sold\_count integer | supplier object | rating object |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1601055608875 | 2025 TWS M10 Earbuds Wireless Fast Charging Touch Earphone Gaming 4 Noise Cancelling Tws Earphones & Headphones M10 | https://www.alibaba.com/product-detail/2025-TWS-M10-Earbuds-Wireless-Fast\_1601055608875.html?priceId=b7a997ec660b4e2d8a35c66404a2352e | https://s.alicdn.com/@sc04/kf/H231f6d9beaaf4b049b53f7835e4604f9c.jpg\_300x300.jpg | \[3 items\] | {5 fields} | 10 | pieces | Min. order: 10 pieces | 14845 | {7 fields} | {5 fields} |
| 2 | 1601779479326 | P47 TWS Ear-clip In-Ear Six JL Chipset Hifi Stereo for 5.4 Gaming Headset Mic Flashlight IPX5 Waterproof ANC/ENC APT-X | https://www.alibaba.com/product-detail/P47-TWS-Ear-clip-In-Ear\_1601779479326.html?priceId=b7a997ec660b4e2d8a35c66404a2352e | https://s.alicdn.com/@sc04/kf/Hce4a08ebfe3143b781bd2ff5bde97cc9e.jpg\_300x300.jpg | \[3 items\] | {5 fields} | 2 | pieces | Min. order: 2 pieces | 1391 | {7 fields} | {5 fields} |
| 3 | 1600998645662 | New Trending Auriculare Bluetooth Earphones Sport Custom Waterproof Gaming In-Ear Headphones Earbuds Wireless Ecouteur Bluetooth | https://www.alibaba.com/product-detail/New-Trending-Auriculare-Bluetooth-Earphones-Sport\_1600998645662.html?priceId=b7a997ec660b4e2d8a35c66404a2352e | https://s.alicdn.com/@sc04/kf/H30d653cda5b842da841c4b6cf04c7a1dw.jpg\_300x300.jpg | \[3 items\] | {5 fields} | 10 | pieces | Min. order: 10 pieces | 4578 | {7 fields} | {5 fields} |

Recorded from our API · 3 items shown · 12 datapoints per item GET /v1/alibaba/search?query=wireless+headphones

12 datapoints

### Identity

-   product\_id string
-   title string

### Contact

-   url url
-   image\_url url
-   image\_urls string\[\]

### Reputation

-   rating object

### Price

-   price object

### Other

-   moq integer
-   moq\_unit string
-   moq\_text string
-   sold\_count integer
-   supplier object

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/alibaba/search?query=wireless+headphones" \
  -H "X-API-Key: $API_KEY"
```

Alibaba · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/alibaba/product`](https://perceptlayer.com/apis/alibaba/product) | none +2 optional | `product_id` `title` `url` `images` `price` `price_tiers` +8 more | 1 credit |
| [GET `/v1/alibaba/search`](https://perceptlayer.com/apis/alibaba/search) | `query` +10 optional | `product_id` `title` `url` `image_url` `image_urls` `price` +6 more | 1 credit |
| [GET `/v1/alibaba/supplier`](https://perceptlayer.com/apis/alibaba/supplier) | none +3 optional | `company_id` `name` `country_code` `gold_supplier` `gold_supplier_years` `business_type` +8 more | 1 credit |

Overview

## About the Alibaba API

## What you can get

The Alibaba API returns Alibaba wholesale listings and supplier profiles as JSON through 3 endpoints.

-   **Search:** `search` takes a `query`, with `page`, `category`, `min_price`, `max_price`, `min_moq`, `max_moq`, `country`, `review_score`, `verified` and `sort` ( `default`, `total_trade_desc`, `price_asc` or `price_desc`).
-   **Product:** `product` takes an `id` or a product `url`.
-   **Supplier:** `supplier` takes an `id`, a storefront `url` or a `subdomain`.

The recorded search for "wireless headphones" returns `results` and `filters`, with `page` 1, a `page_size` of 60, `total_pages` of 46 and `has_more`. Each result has `product_id`, `title`, `url`, `image_url`, `image_urls`, `price`, `moq`, `moq_unit`, `moq_text`, `sold_count`, `supplier` and `rating`. The first result is a pair of wireless earbuds at `$2.26`, with a `moq` of 10 pieces, a `sold_count` of 14845 and a `rating` `score` of 4.4 from 71 ratings. Each `supplier` carries `company_id`, `company_name`, `subdomain`, `gold_supplier`, `gold_supplier_years` and `country_code`.

## How a call works

Search, then read the listing and its supplier: `GET /v1/alibaba/search?query=wireless headphones`, with your key in the `X-API-Key` header, returns each result's `product_id` and its supplier's `subdomain`. Pass the ID to `product`, for example `GET /v1/alibaba/product?id=1601516440055`. That call returned `price_tiers` of `$11.72` for 60 to 999 pieces and `$11.27` from 1000 pieces, a `moq` of 60, `variants`, `sku_properties`, `specs` and `shipping` with `ship_from`, `delivery_days_min` and `delivery_days_max`. Its `supplier` `subdomain` was `rambotech`, so `GET /v1/alibaba/supplier?subdomain=rambotech` returns that company's profile. Check `has_more` before asking for the next `page`. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo) [Apotea](https://perceptlayer.com/apis/apotea)

Use cases

### Compare unit prices and minimum order quantities across suppliers for one product type

`Use the Alibaba API to compare unit prices and minimum order quantities across suppliers for one product type` 

### Read quantity price breaks from \`price\_tiers\` before placing a wholesale order

`` Use the Alibaba API to read quantity price breaks from `price_tiers` before placing a wholesale order `` 

### Shortlist suppliers by \`gold\_supplier\_years\`, \`on\_time\_delivery\_rate\` and \`response\_time\`

`` Use the Alibaba API to shortlist suppliers by `gold_supplier_years`, `on_time_delivery_rate` and `response_time` `` 

### Filter sourcing searches by price, MOQ and \`verified\` suppliers

`` Use the Alibaba API to filter sourcing searches by price, MOQ and `verified` suppliers `` 

FAQ

## Questions

**How much does the Alibaba API cost?**

Each successful call costs one credit, whichever endpoint you call, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**What does a supplier profile include?**

The recorded \`supplier\` call returned \`company\_id\`, \`name\`, \`country\_code\`, \`gold\_supplier\`, \`gold\_supplier\_years\` (19), \`business\_type\`, \`logo\_url\`, \`main\_categories\`, \`rating\`, \`on\_time\_delivery\_rate\` (\`100.0%\`) and \`response\_time\` (\`≤3h\`). It does not list the supplier's priced products or review comments: \`complete\` is \`false\`, and \`limitations\` says so in plain text.

**Can I look up a product by its URL?**

Yes. \`product\` takes either an \`id\` or a product \`url\`, and \`supplier\` takes an \`id\`, a storefront \`url\` or a \`subdomain\`.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official Alibaba API?**

No. Perceptlayer is an independent service and is not affiliated with Alibaba. It returns Alibaba data as JSON with a Perceptlayer key, so there is no Alibaba developer account, app review or partner approval to get first. It only reads data: if Alibaba has an official API and you need to act on your own Alibaba account, such as posting, managing orders or reading private data, use that one.

**Should I build an Alibaba scraper instead?**

You can, but an Alibaba scraper is code you maintain: page changes break it, requests get blocked, and Alibaba's terms govern how you collect data. The Alibaba API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Alibaba API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
