Returns

JSON Formatting

The Fotoglif API returns a “response” object to all requests. It is a minor security measure to protect the return data from being hi-jacked.

Unless explicitly specified to return “text/html” in the Accepted-Types header, the Fotoglif API will always return “application/json.”

404

A 404 has the same meaning in the Fotoglif API as it does in HTTP. It means that the data you were querying for was not found or doesn’t exist.

Empty Return Value

Specifically in the “search” image end-point, you may get an empty result. This should be interpreted to mean that there are no results for your particular query.