Data Formats

The API can return data as either XML or JSON. The HTTP “Accept” header must be set in the request.

This can be “application/json” or “application/xml

Alternatively you may specify which data format to return by appending a query parameter “_format” with a value of either “json” or “xml“.

Example: