How to handle API responses

Response Format

Our API can serve XML or JSON. Given a API endpoint, just add the format you want as a query string.

  • XML format: Add ?format=xml at the end of the API endpoint url
  • JSON format: Add ?format=json at the end of the API endpoint url