{"id":3067,"date":"2020-01-16T17:48:54","date_gmt":"2020-01-16T17:48:54","guid":{"rendered":"https:\/\/docs_v3.dataforseo.com\/v3\/?page_id=3067"},"modified":"2023-09-15T13:24:57","modified_gmt":"2023-09-15T13:24:57","slug":"appendix-sandbox","status":"publish","type":"page","link":"https:\/\/docs.dataforapps.com\/v3\/appendix-sandbox\/","title":{"rendered":"appendix\/sandbox"},"content":{"rendered":"<p>[vc_row][vc_column][vc_column_text]<\/p>\n<h1 id=\"introduction\">Sandbox<\/h1>\n<p>Sandbox is a technical environment for developers where DataForApps API can be used without unnecessary expenses.<\/p>\n<p><aside class=\"notice\">Your account will not be charged for using Sandbox endpoints<\/aside><aside class=\"success\"><b><code>POST https:\/\/sandbox.dataforapps.com\/v3\/$path<\/code><\/b><\/aside><\/p>\n<p><strong>Description of the dynamic field:<\/strong><\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\"><code>path<\/code><\/td>\n<td style=\"width: 50%;\">API path<br \/>\nspecify the path to the endpoint you&#8217;d like to test<br \/>\nexample:<br \/>\n<code><em>serp\/google\/maps\/task_post<\/em><\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3>Sandbox cost and use case<\/h3>\n<p>Sandbox is completely <strong>free<\/strong> for any registered user at DataForApps. The main use case for Sandbox is configuring your software to work with our data.<\/p>\n<p>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 <code>pingback_url<\/code> and <code>postback_url<\/code> functions.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<h3>How to use Sandbox for Apps Data API?<\/h3>\n<p>In order to use sandbox endpoints, you need to change the hostname in the URL when sending an API call from <code>api.dataforapps.com\/v3\/<\/code> to <code><strong>sandbox.dataforapps.com\/v3\/<\/strong><\/code><\/p>\n<p>There is no need to adjust the code or make any other changes to POST data.<\/p>\n<p>If you want to set a SERP API task through the sandbox, you should use the following URL structure:<br \/>\n<code>https:\/\/sandbox.dataforapps.com\/v3\/app_data\/google\/app_searches\/task_post<\/code><\/p>\n<p>To collect the results of the task through the sandbox, it\u2019s necessary to make a GET request with the URL structure as in the example:<br \/>\n<code>https:\/\/sandbox.dataforapps.com\/v3\/app_data\/google\/app_searches\/task_get\/advanced\/$id<\/code><\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text] 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&#8217;d like to test example: serp\/google\/maps\/task_post &nbsp; Sandbox cost and use case Sandbox is completely free for any registered user at DataForApps. The [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template.php","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/pages\/3067"}],"collection":[{"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/comments?post=3067"}],"version-history":[{"count":54,"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/pages\/3067\/revisions"}],"predecessor-version":[{"id":17526,"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/pages\/3067\/revisions\/17526"}],"wp:attachment":[{"href":"https:\/\/docs.dataforapps.com\/v3\/wp-json\/wp\/v2\/media?parent=3067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}