Getting Started
Support
Please post your questions, comments, and feature requests in the ThingSpeak Forum.
Open Source
The ThingSpeak API is available on GitHub and includes the complete ThingSpeak API for processing HTTP requests, storing numeric and alphanumeric data, numeric data processing, location tracking, and status updates. The open source version follows the same documentation as the ThingSpeak hosted service.
If you would like to reduce the number of HTTP headers sent by our application, please add the parameter
headers=false
to any HTTP request.
API keys can optionally be sent via HTTP headers by setting the header name to
<%= HTTP_HEADER_API_KEY_NAME %>
and the header value to the API key.
Time Zones Reference
Time zones can be specified for any request by adding the
timezone parameter with a value corresponding to any identifier found below.
Identifier names are case-sensitive, and should be URL-encoded in HTTP GET requests, for example:
GET <%= @ssl_api_domain %>channels/9/fields/1/last.json?timezone=America%2FNew_York
The most common time zone identifiers are listed below. ThingSpeak supports all
IANA Time Zone Database
identifers; a
human-readable list is also available.
Identifier |
Description |
Current Offset |
<% @timezones.each do |identifier, hash| %>
<%= identifier %> |
<%= raw(hash[:description]) %> |
UTC <%= hash[:offset] %> |
<% end %>
Note:
If both the offset and timezone parameters are present, offset will be ignored in favor of the more accurate timezone parameter.