Send your first request
Last updated
Was this helpful?
Last updated
Was this helpful?
Send your first request using Thordata’s Web Scraper API. Before you start, you need an API Token. You can obtain a free trial token on the [API Builder] page. Then, copy your credentials from the “Token” field. Note: The token you receive is sensitive information. Please keep it secure and do not disclose it. If your token is leaked and your resources are abused, you will bear the consequences yourself; the platform is not responsible. Code Example: After obtaining your API credentials, use the following code to send your first request:
curl --request POST --url https://scraperapi.thordata.com/builder?prodoct_id=3 --header "Authorization: Bearer Token-ID" --header "content-type: application/json" --data "{\"spider_info\":{\"spider_parameters\":[{\"url\":\"https://www.amazon.com/HISDERN-Checkered-Handkerchief-Classic-Necktie/dp/B0BRXPR726\"}],\"spider_id\":\"3\",\"spider_errors\":true},\"spider_name\":\"amazon.com\"}"
After sending the request, the system will return the output in JSON or CSV format. You can view it in the “Tasks” list.
If you need further assistance, please contact us via email at support@thordata.com.