Skip to content
Scrappa Get API key
Tmall API 1 credit / request

Tmall Item API Documentation

GET https://scrappa.co/api/tmall/item

Open one public Tmall item with the item_id_str returned by Tmall search. The response carries the CNY price and original price, full-size images, location, category, seller scores and a review sample with ISO 8601 dates. A numeric item id is not accepted. Per-SKU price and stock, monthly sales and a Tmall rating split are not published in the public page and are never invented.

Tmall Item API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/tmall/item
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "shop": {
            "id": "107922698",
            "is_tmall": true
        },
        "price": {
            "amount": 2999,
            "currency": "CNY"
        },
        "title": "Example brand product",
        "item_id_str": "TOKEN"
    },
    "meta": {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id string Required

The item_id_str returned by Tmall search.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "shop": {
            "id": "107922698",
            "is_tmall": true
        },
        "price": {
            "amount": 2999,
            "currency": "CNY"
        },
        "title": "Example brand product",
        "item_id_str": "TOKEN"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "tmall_item"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

No public data for this id. Not billable.

{
    "error": {
        "code": "NOT_FOUND"
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.