Introduction

Welcome to DataForSEO API!

This is the starting point on your journey towards building powerful SEO software, data analysis pipelines, and robust no-code automations. With DataForSEO you can get all the data you need while saving your time and budget.

Getting started

Follow our recommended learning path to master DataForSEO APIs.

1. Kickstart Guide to our APIs
2. Dashboard Guide
3. Test with API Playground
4. Free Unlimited Trial Info
5. Sandbox Best Practices

REST technology

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.

Client libraries

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

PHP, Python, C# and Postman examples

Choose your preferred programming language or API testing tool.

Data encoding

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. In addition to that, you can request HTML results from endpoints that return HTML-encoded results by appending .html to the end of the request’s URL path.

For example, the following requests will return response encoded in XML or HTML accordingly:
https://api.dataforseo.com/v3/appendix/user_data.xml
https://api.dataforseo.com/v3/serp/google/organic/task_get/html/09061543-1535-0066-0000-6240830f56ba.html

Rate limits

Each of DataForSEO APIs has a certain rate limit, which you can find in the HTTP header of every endpoint.

Rate limit HTTP headers we use:
X-RateLimit-Limit – the rate limit ceiling per minute for the given endpoint;
X-RateLimit-Remaining – the number of requests remaining in the current rate limit window.

If your system requires rate limits to be increased, please contact our support team.

Results storage

The term for storing API results in our system depends on the API and method of data retrieval.

  • Standard method: results are stored for 30 days*
  • Live method: results are not stored*
  • HTML results: results are stored for 7 days

*for SERP API in both Standard and Live methods, the results in JSON format are stored for 30 days.

To learn more about the terms of results storage, check this Help Center article.

DataForSEO Help Center

Need guidance? Visit our Help Center for integration tips, troubleshooting info, and product FAQs.

• Live vs Standard method
• What’s task ID?
• Task completion & lists of completed tasks
• Using filters in DataForSEO APIs
• Set multiple tasks in one request
• Webhooks & callbacks
• SERP API best practices
• Keyword Data API best practices
• On-Page API best practices
• Live endpoints best practices

Additional resources

To get detailed information about current system status, past and pending incidents, associated endpoints, incident gravity, and time to resolution, visit a dedicated DataForSEO Status Page.