Formats

The API follows RESTful principles, allowing you to specify a content-type as an Accepts header with your request. The API will try to respond with the same content-type if supported. Currently, the following content-types are supported:

Content-Type Description
application/json The most commonly used and recommended response format. Sends back a JSON document containing response data, or information about an error if one occurred.
application/jsonp Wraps the JSON response in a function callback. Requires an accompanying callback query string parameter. If this is not specified, defaults to application/json
application/csv Used for timeSeries data.