PHPackages                             searchdata/php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. searchdata/php-sdk

ActiveLibrary[API Development](/categories/api)

searchdata/php-sdk
==================

SearchData is an API that allows scraping various search engines such as Google, Bing, Yandex, etc. while using rotating proxies to prevent bans. This SDK for PHP makes the usage of the API easier to implement in any project you have.

1.0.2(4y ago)07ISCPHP

Since Sep 8Pushed 4y ago2 watchersCompare

[ Source](https://github.com/SearchDataAPI/php-sdk)[ Packagist](https://packagist.org/packages/searchdata/php-sdk)[ RSS](/packages/searchdata-php-sdk/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

SearchData PHP SDK
==================

[](#searchdata-php-sdk)

SearchData is an API that allows scraping various search engines such as Google, Bing, Yandex, etc. while using rotating proxies to prevent bans. This SDK for PHP makes the usage of the API easier to implement in any project you have.

Dependencies
------------

[](#dependencies)

The only dependency of this package is related to the php-curl library from [here](https://www.php.net/manual/en/book.curl.php)

To install it, simply run:

```
sudo apt-get install php-curl

```

Installation
------------

[](#installation)

Run the following command in the main folder of your project:

```
composer require searchdata/php-sdk

```

API Key
-------

[](#api-key)

To use the API and the SDK you will need an API Key. You can get one by registering at [SearchData](https://app.searchdata.io/register)

Classes
-------

[](#classes)

This SDK provides a class for each search engine from searchdata.io. Here is the list:

ClassUsageSearchdataGoogleSearchgoogle searchesSearchdataBingSearchbing searchesSearchdataYandexSearchyandex searchesSearchdataGoogleAutocompletegoogle autocomplete searchesSearchdataGoogleEventsgoogle events searchesSearchdataGoogleJobsgoogle jobs searchesSearchdataGoogleJobsListinggoogle jobs listing searchesSearchdataGoogleMapsgoogle maps searchesSearchdataGoogleMapsReviewsgoogle maps reviews searchesSearchdataGoogleProductgoogle product searchesSearchdataGoogleReverseImagegoogle reverse image searchesSearchdataGoogleScholargoogle scholar searchesSearchdataGoogleScholarAuthorgoogle scholar author searchesSearchdataGoogleScholarCitegoogle scholar cite searchesSearchdataGoogleScholarProfilesgoogle scholar profiles searchesSearchdataLocationslocations apiUsage
-----

[](#usage)

Using the SDK it's quite easy. An example of a GET call to the API is the following:

```
