Configuration

Learn how to use Thordata's SERP API to get your first web scraping code.

Navigate to "Configuration"

  1. Thordata provides two ways to use the SERP API:

  • Direct API Access

  • Proxy-based Access on Local Machine

For Direct API Access, you need API credentials. For Proxy-based Access, you need a username and password. You can find this information in the Configuration Page. To modify user information, go to "Account" settings.

  1. SSL Certificate To ensure the security of SERP API requests, please use our SSL certificate or ignore SSL errors.

Click here to learn more about SERP API SSL Certificate.

  1. Code Example After obtaining your API credentials or username and password, use the following code to send a request:

curl https://scraperapi.thordata.com/request -H "Content-Type: application/json" -H "Authorization: Bearer APIKEY" -d "{\"url\": \"https://www.google.com/search?q=pizza\"}"
curl -k "https://www.bing.com/search?q=pizza&json=1" --proxy scraping.thordata.com:30001 --proxy-user td-customer-serp_USERNAME:PASSWORD

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

Last updated

Was this helpful?