NAVNavbar
Logo
php python csharp java

Introduction

Welcome to DataForSEO API!

DataForSEO API is the starting point on your journey towards building a powerful SEO software. With DataForSEO you can get all the data you need to build an efficient application while also saving your time and budget.

DataForSEO API is using the REST technology for interchanging data between your application and our service. The data exchange is made through the widely used HTTP protocol, which allows applying our API to almost all programming languages.

You can create your REST class or use the following ready-made classes:

Language Description
PHP DataForSEO Client Recommended: officially supported PHP Client. Author Vitaliy Lyabakh – jovixv
PHP Simple Rest Client PHP REST Client build with cURL. Author Fabio Agostinho Boris.
Python Simple Rest Client Python REST Client. Author DataForSEO.


Below you’ll find PHP, Python, C# examples:

Language Description
PHP Examples PHP code examples
Python Examples Python code examples
C# Examples C# code examples
POSTMAN Examples POSTMAN examples
POSTMAN Documenter Online POSTMAN Documenter


All data you send to DataForSEO API should be UTF-8 encoded.

If you use one of the Clients listed in the first table, gzip will be the default format of data exchange. You will see Content-Encoding: gzip in the header.

All the responses are returned in the JSON format by default, but we also support responses in the XML format – just append .xml to the end of your request.

For example, the following request will return response encoded as specified above:
https://api.dataforseo.com/v3/appendix/user_data.xml