NAVNavbar
cURL php NodeJS Python cSharp

Sandbox

Sandbox is a technical environment for developers where DataForApps API can be used without unnecessary expenses.

Description of the dynamic field:

path API path
specify the path to the endpoint you’d like to test
example:
serp/google/maps/task_post

 

Sandbox cost and use case

Sandbox is completely free for any registered user at DataForApps. The main use case for Sandbox is configuring your software to work with our data.

It is not necessary to spend money on actual API calls while integrating DataForApps API. The sandbox allows sending requests to any DataForApps API and getting the results for free. Sandbox environment also works with pingback_url and postback_url functions.

Note that these will be only generic responses. All the results you receive within Sandbox contain dummy data. However, the structure and fields of the sandbox response are identical to that of the actual API response.

Sandbox has the same rate limits as the production environment and allows sending 2000 API calls per minute with each POST call containing no more than 100 tasks. The live method allows sending 2000 API calls per minute as well, but each POST call can contain only 1 task.

How to use Sandbox for Apps Data API?

In order to use sandbox endpoints, you need to change the hostname in the URL when sending an API call from api.dataforapps.com/v3/ to sandbox.dataforapps.com/v3/

There is no need to adjust the code or make any other changes to POST data.

If you want to set a SERP API task through the sandbox, you should use the following URL structure:
https://sandbox.dataforapps.com/v3/app_data/google/app_searches/task_post

To collect the results of the task through the sandbox, it’s necessary to make a GET request with the URL structure as in the example:
https://sandbox.dataforapps.com/v3/app_data/google/app_searches/task_get/advanced/$id