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-TypeDescription
application/jsonThe most commonly used and recommended response format. Sends back a JSON document containing response data, or information about an error if one occurred.
application/jsonpWraps the JSON response in a function callback. Requires an accompanying callback query string parameter. If this is not specified, defaults to application/json
application/csvUsed for timeSeries data.