Run scraping tasks
run_scraping_tasksSubmits 1–20 Shopee or Lazada URLs as scraping tasks, optionally waits for results, and returns running task statuses for later retrieval.
Instructions
Submits 1–20 Shopee or Lazada URLs to Charted Sea and optionally waits for results. SPENDS CREDITS for each successful task not served from cache. Check platform health first. Tasks still running when the wait ends are returned with their status; fetch them later with get_task_results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scraper": "<scraper>",
"requests": "<requests>"
},
"name": "run_scraping_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scraper | Yes | Scraper path name | |
| waitSec | No | How long to wait for results; 0 returns immediately | |
| requests | Yes | ||
| includeFields | No | ||
| cacheMaxAgeInSec | No | Return a cached result up to this age instead of scraping again (not billed) |