Tokopedia Product Scraper
Pricing
$2.00 / 1,000 results
Tokopedia Product Scraper
Extract product data from Tokopedia.com - Indonesia's largest e-commerce marketplace. Get prices, seller info, ratings, sold counts, and images. Fast API-based extraction, no browser needed. Export to JSON, CSV, or Excel.
Pricing
$2.00 / 1,000 results
Rating
0.0
(0)
Developer

Muhamad Aldiansyah
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Tokopedia Scraper
Scrape product data from Tokopedia.com - Indonesia's largest e-commerce marketplace with 100M+ monthly visitors.
This scraper uses Tokopedia's internal GraphQL API for fast, reliable extraction. No browser overhead means results in seconds, not minutes.
Why Choose This Scraper?
| Feature | This Scraper | Browser-Based Scrapers |
|---|---|---|
| Speed | β‘ ~5 seconds for 60 products | π’ 30-60+ seconds |
| Cost | π° $2 per 1,000 products | πΈ Higher compute usage |
| Reliability | β Direct API access | β Breaks on UI changes |
| Subscription | π« None - pay per result | π³ Often monthly fees |
What Data Can You Extract?
π¦ Product Information
- Product name, URL, and unique ID
- Current price and original price (with discount %)
- Category and full breadcrumb path
- Product images
- Free shipping indicator
πͺ Seller Information
- Shop name and location (city)
- Shop ID and direct shop URL
- Seller tier (1-4)
- Official/verified store badge
π Engagement Metrics
- Product rating (0-5 stars)
- Sold count (when available)
How to Use This Scraper
Option 1: Search by Keyword
Perfect for market research and competitor analysis.
{"searchKeyword": "laptop gaming","maxResults": 100}
Option 2: Scrape a Category Page
Ideal for catalog building and category analysis.
{"categoryUrl": "https://www.tokopedia.com/p/handphone-tablet/handphone","maxResults": 500}
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
searchKeyword | String | Yes* | Search term (e.g., "sepatu nike") |
categoryUrl | String | Yes* | Direct Tokopedia category URL |
maxResults | Number | No | Max products to extract (default: 100) |
proxyConfiguration | Object | No | Apify proxy settings |
*Provide either searchKeyword OR categoryUrl, not both.
Sample Output
{"name": "ASUS ROG Strix G15 Gaming Laptop","price": 15999000,"originalPrice": 18999000,"discount": "16%","seller": "ASUS Official Store","sellerLocation": "Jakarta Pusat","sellerTier": 3,"shopId": "480889","shopUrl": "https://www.tokopedia.com/asusrogid","isOfficialStore": true,"rating": 4.9,"soldCount": 1500,"images": ["https://images.tokopedia.net/..."],"url": "https://www.tokopedia.com/asusrogid/asus-rog-strix...","productId": "12345678","category": "Laptop","categoryBreadcrumb": "Komputer & Laptop > Laptop","hasFreeShipping": true,"searchKeyword": "laptop gaming","scrapedAt": "2026-02-01T10:30:00.000Z"}
Output Fields Reference
| Field | Type | Description |
|---|---|---|
name | String | Product title |
price | Number | Current price in IDR |
originalPrice | Number | Price before discount (null if none) |
discount | String | Discount percentage (e.g., "16%") |
seller | String | Shop/seller name |
sellerLocation | String | Seller's city |
sellerTier | Number | Seller tier level (1-4) |
shopId | String | Unique shop identifier |
shopUrl | String | Direct URL to shop page |
isOfficialStore | Boolean | True if official/verified |
rating | Number | Product rating (0-5) |
soldCount | Number | Units sold (null if unavailable) |
images | Array | Product image URLs |
url | String | Product page URL |
productId | String | Unique product ID |
category | String | Product category |
categoryBreadcrumb | String | Full category path |
hasFreeShipping | Boolean | Free shipping available |
searchKeyword | String | Search term used |
scrapedAt | String | ISO timestamp |
How Much Does It Cost?
Pricing: $0.002 per product (pay-per-result)
| Products | Cost | Use Case |
|---|---|---|
| 100 | $0.20 | Quick market check |
| 1,000 | $2.00 | Competitor analysis |
| 10,000 | $20.00 | Full category research |
| 50,000 | $100.00 | Enterprise data collection |
π‘ No monthly subscription. You only pay for the data you extract.
Compute costs: This scraper uses minimal compute (~0.05 CU per 100 products) because it doesn't need a browser.
Use Cases
π Price Monitoring
Track competitor prices across thousands of products. Set up scheduled runs to monitor price changes daily or weekly.
π Market Research
Analyze product trends, pricing strategies, and market positioning. Understand what sells and at what price points.
π Dropshipping Research
Find trending products with good margins. Identify reliable sellers with high ratings and official store status.
πͺ Seller Analysis
Research seller performance using shop IDs and URLs. Compare seller tiers and identify official stores.
π Competitive Intelligence
Monitor competitor product catalogs, pricing, and inventory. Track new product launches.
Tips for Best Results
π‘ Start small: Test with 10-50 products first to verify the data format meets your needs.
π‘ Use specific keywords: "laptop gaming asus" returns more relevant results than just "laptop".
π‘ Category URLs for completeness: If you want ALL products in a category, use the category URL instead of keywords.
π‘ Schedule regular runs: Set up Apify schedules for daily/weekly price monitoring.
π‘ Export formats: Use Apify's built-in export to JSON, CSV, or Excel - no coding needed.
FAQ
Does this scraper work with Tokopedia's anti-bot protection?
Yes. This scraper uses Tokopedia's internal GraphQL API with smart rate limiting, user-agent rotation, and automatic retry logic. It handles 429 errors gracefully.
How many products can I extract?
There's no hard limit. Tokopedia's search returns up to ~3,000 products per keyword. For larger datasets, use category URLs or multiple keyword searches.
Do I need proxies?
The scraper works without proxies for normal usage. For high-volume scraping (10,000+ products), Apify's residential proxies are recommended.
Is this scraper maintained?
Yes. We regularly update the scraper to handle any Tokopedia API changes. Last update: February 2026 (v2.7).
Can I scrape specific seller shops?
Currently, this scraper supports keyword search and category URLs. Shop-specific scraping is on our roadmap.
Limitations
- Search results are limited to ~3,000 products per keyword (Tokopedia's limit)
- Some products may not have
soldCountdata (depends on seller settings) reviewCountis not available in search results (would require product page scraping)
Technical Details
Method: GraphQL API (SearchProductV5Query)
Reliability Features (v2.7):
- User-agent rotation (8 realistic browser signatures)
- Exponential backoff on rate limits (429 errors)
- Respects
Retry-Afterheader from server - Graceful 403 detection and handling
- Network error retry with jitter (Β±30% randomization)
- Batch saving every 100 products (memory-safe for large scrapes)
- Clear error status messages (blocked/api_changed/network_error)
- HTTP/1.1 mode for maximum compatibility
Why GraphQL over DOM scraping?
- β‘ 10x faster (no browser rendering)
- π° Lower compute costs
- β More stable (not affected by UI changes)
- π More complete data (includes fields not visible on page)
Support
Questions or feature requests? Contact us through Apify or open an issue.
Built with GraphQL API | v2.7.0 | Strive