Quick Start
This guide shows how to:
- Authenticate
- Submit a scraping task and retrieve results
All examples use the Shopee scraper, but the flow is identical for other supported platforms.
1. Authentication
All requests must include your API token using the Authorization header:
Authorization: Bearer ${token}
You receive your token when your account is created.
Keep it secret. Treat it like a password.
2. Submit a scraping task and retrieve results
To submit a Shopee scraping task, send a POST request:
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer ${token}" \
--request POST \
--data '{"requests":[{"url": "https://shopee.sg/api/v4/search/search_items?keyword=tshirt"}]}' \
https://continuous-scraper.common.chartedapi.com/scraping-tasks/shopee/run
What this does
- Creates a scraping task
- Queues it for asynchronous execution
- Wait for Shopee's response
By default, the
/scraping-tasks/{scraper}/runAPI is synchronous (it waits for the response), but it also supports an asynchronous mode withwaitForCompletion=false, read the API Reference to learn more about it.
Example Response
[
{
"url": "https://shopee.sg/api/v4/search/search_items?keyword=tshirt",
"status": "SUCCESS",
"responseBody": "... raw response from Shopee ..."
}
]
Only successful requests are billed.
Exploring the API
You can use tools like:
to explore and test endpoints interactively.
See the full API Reference for supported parameters and advanced options.
Next Steps
- Review the scraper-specific documentation (Shopee, Lazada, etc.)
- Monitor usage and wallet balance in the Console
- Top up credits when needed
If you need higher volume or custom configuration, contact us.