Shopping
Alibaba logo

Alibaba API

alibaba.com

Alibaba.com product search, details and cart

Actions
4
Category
Shopping
Login
Not required
Output
JSON

Call the Alibaba API

Submit a task, then poll the job until it settles. This example runs act_alibaba_com_add_to_cart.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_alibaba_com_add_to_cart",
    "params": {
      "product_id": "1601770785623",
      "sku_id": "109566750814"
    }
  }'

4 actions on alibaba.com

Read

  • Product Details Page

    act_alibaba_com_product_details_pageread1 credit / call

    Fetch an Alibaba product page: title, price, rating, images, categories, details

    product_id
    string · required
    product_slug
    string
  • Search

    act_alibaba_com_searchread1 credit / call

    Search Alibaba.com products by keyword; returns title, price, rating, images

    search_query
    string · required
    page
    integer
    page_size
    integer
  • View Cart

    act_alibaba_com_view_cartread1 credit / call

    Read the current Alibaba cart items, prices and images

Write

Write actions change state on alibaba.com and run as the account you connect.

  • Add To Cart

    act_alibaba_com_add_to_cartwrite1 credit / call

    Add a product SKU to the Alibaba cart

    product_id
    string · required
    sku_id
    string · required
    quantity
    integer
    dispatch_location
    string
    carrier_code
    string

Alibaba API questions

Is there an API for Alibaba?
Alibaba does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for alibaba.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Alibaba data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when alibaba.com changes its markup, Anakin updates the action.
Do I need a Alibaba account?
No. Every Alibaba action listed here runs anonymously — no account and no credentials required.
What does the Alibaba API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Shopping APIs

All Shopping sites