Representational state transfer (REST) is an architectural style designed as a request-response model that communicates over HTTP. ThingSpeak, an IoT platform, uses the REST API calls GET, POST, PUT, and DELETE to create and delete channels, read and write channel data, and clear the data in a channel. A web browser or client sends a request to the server, which responds with data in the requested format. Web browsers use this interface to retrieve web pages or to send data to remote servers.
You can also use REST API calls with ThingSpeak Apps which let you interact with social media, web services, and devices.
|Read data from all fields in a channel with HTTP GET|
|Read data from a single field of a channel with HTTP GET|
|Read status field of a channel with HTTP GET|
|Read the last entry in a channel with HTTP GET|
|Read the last entry in a field of a channel with HTTP GET|
|Read the last status of a channel with HTTP GET|
ThingSpeak stores data in channels. Learn how to configure a channel to control access, secure data, and import data.
Choose among customizable visualizations of channel data.
You can use your real time updated ThingSpeak plot on any site.
Embed ThingSpeak charts on a custom web page.
Collect Wi-Fi® signal strength in JSON format every 15 seconds and update channel once every 2 minutes using relative time stamps.
Collect data in CSV format every 15 seconds, and update channel once every 2 minutes using absolute timestamps.
Collect CPU temperature and utilization data in JSON format every 15 seconds and update the channel once every 2 minutes using Raspberry Pi™ board running Python® 2.7.
List of HTTP status codes and their corresponding error codes along with the messages.