Sources › Marketplace › Tokopedia › Product Detail

Tokopedia Product Detail API

Detail lengkap produk Tokopedia dari URL (harga, stok, spesifikasi, media, statistik).

TokopediaGET /productAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/marketplace:tokopedia/product

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.

Parameters

NameTypeInRequiredDescription
urlstringqueryYesTokopedia product URL Example: https://www.tokopedia.com/alienwarestore/tas-laptop-sleevecase-carbon

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/marketplace:tokopedia/product?url=https%3A%2F%2Fwww.tokopedia.com%2Falienwarestore%2Ftas-laptop-sleevecase-carbon" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/marketplace:tokopedia/product?url=https%3A%2F%2Fwww.tokopedia.com%2Falienwarestore%2Ftas-laptop-sleevecase-carbon", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/marketplace:tokopedia/product",
    params={"url":"https://www.tokopedia.com/alienwarestore/tas-laptop-sleevecase-carbon"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "marketplace:tokopedia",
  "data": {
    "url": "https://www.tokopedia.com/alienwarestore/tas-laptop-sleevecase-carbon",
    "name": "Tas Laptop Sleevecase Carbon",
    "shop": {
      "url": "https://www.tokopedia.com/alienwarestore",
      "name": "ALIENWARE GAMING STORE",
      "shopId": "2678348"
    },
    "alias": "tas-laptop-sleevecase-carbon",
    "price": 100000,
    "specs": [
      {
        "label": "Kondisi",
        "value": "Baru"
      },
      {
        "label": "Pemesanan Minimum",
        "value": "1 Buah"
      },
      {
        "label": "Kategori",
        "value": "Laptop Case"
      },
      {
        "label": "Etalase",
        "value": "Semua Etalase"
      }
    ],
    "stock": 992,
    "images": [
      {
        "maxRes": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/885aba3d-3e6a-4ed7-8ed5-e4280eb1dcbb.jpg~tplv-aphluv4xwc-white-pad-v1:1600:1600.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=hmXOLYWl1EqWxCFNfDgzsdwlVZ0%3D&x-signature-webp=1mnN2Km2%2BzeyK8ZytyifSuyITq4%3D",
        "original": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/885aba3d-3e6a-4ed7-8ed5-e4280eb1dcbb.jpg~tplv-aphluv4xwc-resize-jpeg:700:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=nB8ckbw9yp%2FIrpYBI%2Fvu%2FRSpUGY%3D&x-signature-webp=APB65nlc3KsJsuFI2n0T2EDMoEc%3D",
        "thumbnail": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/885aba3d-3e6a-4ed7-8ed5-e4280eb1dcbb.jpg~tplv-aphluv4xwc-resize-jpeg:200:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=mEcCZEt2U7NPig8pv1AtNn2mbKk%3D&x-signature-webp=KidXg5%2BLy8j7in8eFHP6KQwwqt8%3D"
      },
      {
        "maxRes": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/ae3dd7be-4c34-47bb-ac62-15185662da9a.jpg~tplv-aphluv4xwc-resize-jpeg:700:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=mPA1C4j8Um9D2w%2FwdZ1MAmr4Je8%3D&x-signature-webp=71c0ug6TxM4RYF%2B2TZUxi087Vy0%3D",
        "original": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/ae3dd7be-4c34-47bb-ac62-15185662da9a.jpg~tplv-aphluv4xwc-resize-jpeg:700:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=mPA1C4j8Um9D2w%2FwdZ1MAmr4Je8%3D&x-signature-webp=71c0ug6TxM4RYF%2B2TZUxi087Vy0%3D",
        "thumbnail": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/ae3dd7be-4c34-47bb-ac62-15185662da9a.jpg~tplv-aphluv4xwc-resize-jpeg:200:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=IS3KvpvdWpLaKkQrLJTN%2F8aiQj4%3D&x-signature-webp=ft5QSJZo1vceB%2Bgjix%2FaGjxQwMg%3D"
      },
      {
        "maxRes": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/c7191fab-ca57-41b0-b15a-96ed5e407f34.jpg~tplv-aphluv4xwc-resize-jpeg:700:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=WEpldloID%2FrVFnSqLDwIU1%2B6U20%3D&x-signature-webp=3dh1Ku332yakvzy8dL7zXcrE5Os%3D",
        "original": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/c7191fab-ca57-41b0-b15a-96ed5e407f34.jpg~tplv-aphluv4xwc-resize-jpeg:700:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=WEpldloID%2FrVFnSqLDwIU1%2B6U20%3D&x-signature-webp=3dh1Ku332yakvzy8dL7zXcrE5Os%3D",
        "thumbnail": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/c7191fab-ca57-41b0-b15a-96ed5e407f34.jpg~tplv-aphluv4xwc-resize-jpeg:200:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=%2F%2BdW%2FQhcDjKazd%2Bp6j3Kcn8CIg0%3D&x-signature-webp=youzDQ8tDnE5%2BWW0X8UWTQO0dfo%3D"
      }
    ],
    "rating": 5,
    "status": "ACTIVE",
    "weight": 2,
    "category": {
      "id": "3912",
      "name": "Laptop Case",
      "breadcrumb": [
        {
          "id": "297",
          "url": "https://www.tokopedia.com/p/komputer-laptop",
          "name": "Komputer & Laptop"
        },
        {
          "id": "338",
          "url": "https://www.tokopedia.com/p/komputer-laptop/aksesoris-komputer-laptop",
          "name": "Aksesoris Komputer & Laptop"
        },
        {
          "id": "3912",
          "url": "https://www.tokopedia.com/p/komputer-laptop/aksesoris-komputer-laptop/laptop-case",
          "name": "Laptop Case"
        }
      ]
    },
    "maxOrder": 992,
    "minOrder": 1,
    "soldText": "8",
    "condition": "NEW",
    "createdAt": "2024-09-09T02:36:41+07:00",
    "isVariant": false,
    "priceText": "Rp100.000",
    "productId": "11807421908",
    "soldCount": 8,
    "talkCount": 0,
    "weightUnit": "KILOGRAM",
    "description": "CARBON SOFTCASE SLEEVE CASE 13-14INCH NAVY BLUE\nCARBON SOFTCASE SLEEVE CASE 13-14INCH ROYAL BROWN\nCARBON SOFTCASE SLEEVE CASE 13-14INCH SPACE GRY",
    "reviewCount": 3,
    "defaultImage": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2023/10/11/885aba3d-3e6a-4ed7-8ed5-e4280eb1dcbb.jpg~tplv-aphluv4xwc-resize-jpeg:700:0.jpeg?lk3s=0ccea506&x-expires=1781361673&x-signature=nB8ckbw9yp%2FIrpYBI%2Fvu%2FRSpUGY%3D&x-signature-webp=APB65nlc3KsJsuFI2n0T2EDMoEc%3D",
    "isOfficialStore": true,
    "isPowerMerchant": true
  },
  "timestamp": "2026-06-13T04:34:29Z"
}

Frequently asked questions

How do I call the Tokopedia Product Detail API?

Send a GET request to https://api.zapi.ink/v1/marketplace:tokopedia/product?url=https%3A%2F%2Fwww.tokopedia.com%2Falienwarestore%2Ftas-laptop-sleevecase-carbon with your Zapi key in the x-api-key header. Parameters — required: url. The response is JSON in the { project, data, timestamp } envelope.

What does the Tokopedia Product Detail API return?

Detail lengkap produk Tokopedia dari URL (harga, stok, spesifikasi, media, statistik). The example response has the fields url, name, shop, alias, price, specs, stock, images. Each item in specs has fields such as label, value.

Is the Tokopedia Product Detail API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Tokopedia Product Detail API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tokopedia" and endpoint "product".

What other Tokopedia API endpoints are there?

It has 7 endpoints. Besides Product Detail: Search Product, Shop Detail, Reviews, Recommendations, Shop Products, Categories.