Knowledgebase
Example JSON Response (ready to download)
Posted by Brandon Elliott on 12 April 2016 01:54 AM

Here is an example of a JSON response, from the "Advanced Method" API, for an invalid request.

Use json_decode() (PHP) in order to pull out the relevant values.

See the "STW API Documentation" for details on what the values can be and what they mean (though some are self-explanatory).

 

{"exists":"true","image":"http:\/\/images.shrinktheweb.com\/xian.php?stwaccesskeyid= &stwu=&subref=&stwq=95&stwxmax=120&hash=","verified":"true","actionmsg":"delivered","responsecode":"HTTP:200","thumbnailsize":9,"responsestatus":"Success","responsetimestamp":"1460439057","quota_remaining":168,"bandwidth_remaining":994242}

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Contact Us | PagePix Benefits | Learn More | STW Forums | Our Partners | Privacy Policy | Terms of Use

©2016 ShrinkTheWeb. All rights reserved. ShrinkTheWeb is a registered trademark of ShrinkTheWeb.