NAV Navbar
php python csharp java


Welcome to DataForSEO API!

DataForSEO API uses REST technology for interchanging data between your application and our service. The data exchange is made by the HTTP protocol. The benefit of this method is widespread occurrence of the HTTP protocol that’s why REST API can be used almost for all programming languages.

You can create REST class by yourself or find ready to use ones to use this technology. We can provide you with ready to use classes:

Language Description
PHP Simple Rest Client PHP REST Client build with cURL. Author Fabio Agostinho Boris.
PHP DataForSEO Client Alternate PHP Client. Author Vitaliy Lyabakh - jovixv
Python Simple Rest Client Python REST Client. Author DataForSEO.
C# DataForSEO Client C# DataForSEO Ready Client. Author DataForSEO.

We will show PHP, Python, C# and Java examples of these classes usage.

You can download usage examples from our website:

Language Description
PHP Examples PHP examples.
Python Examples Python examples.
C# Examples C# examples.
Java Examples Java examples.
POSTMAN Examples POSTMAN examples.
POSTMAN Documenter Online POSTMAN Documenter.

All data exchange should be UTF-8 encoded.

Also, all responses of our service are returned in the JSON format by default. We also support responses in the XML format. For this, in the end of the request you should specify .xml. Also, you can compress retrieved data in the gzip format, for this you need to specify .gzip in the request.

For example,
instead of the standard