> For the complete documentation index, see [llms.txt](https://doc.thordata.com/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/doc/scraping/serp-api/configuration.md).

# Configuration

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

Navigate to "[**Configuration**](https://dashboard.thordata.com/serp-api/configuration)"

<div align="left"><figure><img src="/files/vBrrfQh6o8ebXmRDPb4T" alt="" width="563"><figcaption></figcaption></figure></div>

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

* Direct API Access
* Proxy-based Access on Local Machine

<div align="left"><figure><img src="/files/DWWpXGtS3a0u8MulAUUy" alt="" width="563"><figcaption></figcaption></figure></div>

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.

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

{% hint style="info" %}
[**Click here**](https://doc.thordata.com/doc/scraping/serp-api/ssl-certificate) to learn more about SERP API SSL Certificate.
{% endhint %}

<div align="left"><figure><img src="/files/n3jLL5RvhfvqOWDwruIJ" alt="" width="563"><figcaption></figcaption></figure></div>

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

```sh
curl https://scraperapi.thordata.com/request -H "Content-Type: application/json" -H "Authorization: Bearer APIKEY" -d "{\"url\": \"https://www.google.com/search?q=pizza\"}"
```

```sh
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: <support@thordata.com>
