API Status Codes
200 OK
The request has succeeded.
Response
<!doctype html>
<html itemscope="" itemtype="http://schema.org/WebPage" lang="en">
<head><meta charset="UTF-8"><meta content="origin" name="referrer"><meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image">
<link href="/manifest?pwa=webhp" crossorigin="use-credentials" rel="manifest">
<title>Google</title>
<script nonce="higSK9pYDY087Sf7Xy__CA">(function(){window.google={kEI:'b33GY_CELcXOkPIP0uqlmAw',kEXPI:'31',kBL:'DWTW'};google.sn='webhp';google.kHL='en';})();(function()
...
{
"success": true,
"details": "Scraping successful",
"response": {
"url": "https://www.google.com/",
"headers": {
"Date": "Tue, 17 Jan 2023 10:45:02 GMT",
"Expires": "-1",
"Cache-Control": "private, max-age=0",
"Content-Type": "text/html; charset=UTF-8",
"Strict-Transport-Security": "max-age=31536000",
...
},
"cookies": [
{
"name": "1P_JAR",
"value": "2023-01-17-10",
"expires": "Thu, 16-Feb-2023 10:45:02 GMT",
"path": "/"
},
{
"name": "AEC",
"value": "ARSKqsK2pwpuSbuO42ga70tjjf639w4a4jzGn7TTmRqCav-Y8xSyaAE_7sg",
"expires": "Sun, 16-Jul-2023 10:45:02 GMT",
"path": "/"
},
{
"name": "NID",
"value": "511=I_L3hpVRy4FJQXtJRThEN699BfG-7gD42mUrl63vwn7g4jGKSsIfEznn5qr6N8Qj0zZW-A4kb51iSRYFMkiVI3c3LmsqBCxOqMYEJcjcqVTjRMSjFMU0_YxeehNBtvz5qxamOsW2o8xFjt9Q0sJZQgDz7tPWnsjGSgCDTggxV9E",
"expires": "Wed, 19-Jul-2023 10:45:02 GMT",
"path": "/"
}
],
"json_body": null,
"body": "<!doctype html><html itemscope=\"\" itemtype=\"http://schema.org/WebPage\" lang=\"en\"><head><meta charset=\"UTF-8\"><meta content=\"origin\" name=\"referrer\"><meta content=\"/images/branding/googleg/1x/googleg_standard_color_128dp.png\" itemprop=\"image\"><link href=\"/manifest?pwa=webhp\" crossorigin=\"use-credentials\" rel=\"manifest\"><title>Google</title><script...",
"status_code": 200
}
}
400 BAD REQUEST
Invalid request. Check your parameters.
{
"success": false,
"details": "Mandatory parameter url is missing",
"response": null
}
401 UNAUTHORIZED
Missing or invalid API key.
{
"success": false,
"details": "User Unauthorized. Please make sure your API key is valid.",
"response": null
}
403 FORBIDDEN
Request was forbidden.
- Not enough funds on your account
- You're requesting a domain, that is not allowed to scrape
{
"success": false,
"details": "Not enough funds",
"response": null
}
429 TOO MANY REQUESTS
Rate limit violation.
{
"success": false,
"details": "You've reached your requests limit at the moment.",
"response": null
}
500 INTERNAL SERVER ERROR
Internal failure.
{
"success": false,
"details": "Sorry, we were not able to process your request. You will not be charged. Please try again. If the issue persists, please contact us at support@datashake.com.",
"response": null
}
520 CUSTOM
Scraping failed.
{
"success": false,
"details": "Sorry, we were not able to process your request. You will not be charged. Please try again. If the issue persists, please contact us at support@datashake.com",
"response": {
"url": "http://someblockedsite.com/",
"headers": null,
"json_body": null,
"body": "<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don't have permission to access \"http://someblockedsite.com/\"\n</BODY>\n</HTML>\n",
"status_code": 403
}
}