Use cases › Price Monitoring

Monitor marketplace prices

Track product prices and stock on Shopee, Tokopedia, Lazada and Blibli, and act the moment they change.

Marketplace4 sources
  1. 01
    Pick the products

    Search each marketplace or paste product links. Every marketplace answers in the same JSON envelope.

  2. 02
    Check them on a schedule

    Run the list every morning from a cron job, or submit it as one bulk job.

  3. 03
    Act on the change

    Compare with yesterday and send a message, update a sheet or reprice your own listing.

import os, requests

KEY = os.environ["ZAPI_KEY"]
URLS = ["https://www.tokopedia.com/<shop>/<product>"]

for url in URLS:
    r = requests.get(
        "https://api.zapi.ink/v1/marketplace:tokopedia/product",
        params={"url": url},
        headers={"x-api-key": KEY},
        timeout=60,
    )
    item = r.json()["data"]
    print(item["name"], item["price"], item["stock"])

What you get

Example output
ProductShopeeTokopediaLazadaLowest
Wireless earbudsRp349,000Rp329,000Rp339,000Tokopedia
Laptop sleeve 14″Rp119,000Rp125,000Rp109,000Lazada
USB-C charger 65WRp289,000Rp279,000Rp299,000Tokopedia

Questions

Is it allowed to monitor public prices?

Zapi reads pages that anyone can open without logging in. Use the data within each marketplace’s terms and our Acceptable Use Policy.

How often can I check?

As often as your plan’s per-minute and monthly limits allow. Daily or hourly checks are typical.

What if a marketplace changes its page?

We fix the source on our side. Your request and the response shape stay the same.

Start building today.

Free key, 600 Zap a month and one response shape for every source.