Tokopedia Scraper
Spider read tokopedia.com in 2.0 s without a browser and returned 325 lines of clean markdown, including sections like "Add and Manage Products", "Upload Mechanism for Products with Different Guidelines" and "Invite-only Categories".
# Add and Manage Products# Upload Mechanism for Products with Different Guidelines## Invite-only Categories* Tokopedia: Sellers can upload and the products will directly be shown* TikTok Shop: Sellers need to apply for authorization process## Restricted ProductsEg: Breast Pumps, Baby BottlesTo show it on both platforms, sellers need to fill in mandatory attributes. If a product is restricted in TikTok Shop, it will also be restricted in Tokopedia.* Sellers are optional to upload product compliance document## Unsupported Categories in TikTok Shop but Available in TokopediaSellers will be directed to switch the upload platform to Tokopedia only.## Prohibited ProductsThe system will give notification if the product is prohibited to be sold either on both platforms or one of them.# Add Single ProductCurrently, we support single product uploads and batch product uploads that can display up to 1,000 products online.In the integrated Tokopedia & TikTok Shop Seller Center, sellers can choose a platform to publish the product, either in Tokopedia only, TikTok Shop only, or both platforms.Add a single product by using the Add New Product feature requires filling out four sections of information, with the following step by step process:## Basic InformationBasic information including **Product Name, Category, Brand, and Attributes**.Systems will also give recommendations for your product name and category based on images that you have uploaded.If sellers want to publish products on both platforms or TikTok Shop-only, some brands may need to go to the authorization process.*The screenshots above are for example only. The actual interface may be different.*The product images, videos and description are the most direct way to attract consumers and help them understand the product.Sellers can also **click the question mark icon "?"** to see tips for recommended requirements for image and video. Other recommendations:* Maximum 9 images per product The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on tokopedia.com.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.tokopedia.com/search?q=smartphone");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
captcha: "solve",
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.tokopedia.com/search?q=smartphone");
await page.content(12000);
const data = await page.evaluate(`(() => {
const items = [];
document.querySelectorAll("[data-testid='divProductWrapper']").forEach(el => {
const name = el.querySelector("[data-testid='spnSRPProdName']")?.textContent?.trim();
const price = el.querySelector("[data-testid='spnSRPProdPrice']")?.textContent?.trim();
const shop = el.querySelector("[data-testid='spnSRPProdShop']")?.textContent?.trim();
const rating = el.querySelector("[data-testid='spnSRPProdRating']")?.textContent?.trim();
if (name) items.push({ name, price, shop, rating });
});
return JSON.stringify({ total: items.length, items: items.slice(0, 10) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What tokopedia.com costs to scrape.
The capture above cost $0.000086 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More International scrapers.
Mercado Libre Scraper
Extract product listings, seller ratings, pricing in local currencies, and shipping data from Mercado Libre.
Rakuten Scraper
Extract product listings, store ratings, cashback offers, and pricing data from Rakuten Japan marketplace.
Flipkart Scraper
Extract product listings, seller data, pricing in INR, and delivery estimates from Flipkart India store.
Start scraping tokopedia.com.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.