Send your first request

Use Thordata’s Web Scraper API to send your first request. Before you start, you need an API Token. You can get a free trial on the [API Builder] page. Then, copy your credentials in the "Token" section. Note: The Token you obtain is sensitive information. Please keep it safe and do not disclose it. If your resources are misused due to Token leakage, you shall bear the relevant consequences, and our platform shall not be held responsible for this. Code Example: After obtaining your API credentials, use the following code to send your first request:

curl -X POST "https://scraperapi.thordata.com/builder" \
  -H "Authorization: Bearer Token-ID" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "spider_name=amazon.com" \
  -d "spider_id=amazon_product_by-url" \
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/HISDERN-Checkered-Handkerchief-Classic-Necktie/dp/B0BRXPR726\",\"zip_code\": \"94107\"}]" \
  -d "spider_errors=true" \
  -d "file_name={{TasksID}}"

After sending the request, output results in JSON/CSV format will be returned, and you can check them in the "Tasks" list.

If you need further assistance, please contact us via email at [email protected].

Last updated

Was this helpful?