Sign In
Services

Documentation : Response Data ( Free Service )

Return Elements

There are a couple of return elements that are sent back from the Linkpeek system:
image = A base64 encoded representation of the image
image_path = The URL that could be used to obtain the image
secure_path = The Secure URL that could be used to obtain the image.

Sample JSON Return

{"linkpeek":{"image":"iVBORw0KGgoAAAA...FTkSuQmCC","image_path":"http:\/\/linkpeek.com\/api\/v1?uri=http%3A%2F%2Ftheeasyapi.com&apikey=vkus6hhfm&token=297d16c8ab2c6b1e846748589e968d83&size=original","secure_path":"https:\/\/linkpeek.com\/api\/v1?uri=http%3A%2F%2Ftheeasyapi.com&apikey=vkus6hhfm&token=297d16c8ab2c6b1e846748589e968d83&size=original"}}

Sample GET Return

<return>
   <linkpeek>
      <image>iVBORw0KGgoAAAA...FTkSuQmCC</image>
      <image_path>http://linkpeek.com/api/v1?uri=http%3A%2F%2Ftheeasyapi.com&apikey=vadsfadsf&token=297d16c8ab2c6b1e846748589e968d83&size=original</image_path>
      <secure_path>https://linkpeek.com/api/v1?uri=http%3A%2F%2Ftheeasyapi.com&apikey=vadsfadsf&token=297d16c8ab2c6b1e846748589e968d83&size=original</secure_path>
   </linkpeek>
</return>

Sample XML Return (valid Content-Type)

<return>
   <linkpeek>
      <image>iVBORw0KGgoAAAA...FTkSuQmCC</image>
      <image_path>http://linkpeek.com/api/v1?uri=http%3A%2F%2Ftheeasyapi.com&apikey=vadsfadsf&token=297d16c8ab2c6b1e846748589e968d83&size=original</image_path>
      <secure_path>https://linkpeek.com/api/v1?uri=http%3A%2F%2Ftheeasyapi.com&apikey=vadsfadsf&token=297d16c8ab2c6b1e846748589e968d83&size=original</secure_path>
   </linkpeek>
</return>