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 Act on Data 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|
|Add a TalkBack command to a TalkBack queue|
|Get TalkBack command from TalkBack queue|
|Get all TalkBack commands from TalkBack queue|
|Get last executed TalkBack command from TalkBack queue|
|Update command in TalkBack queue|
|Execute next TalkBack command in TalkBack queue|
|Update channel data with HTTP GET or POST and execute TalkBack command|
|Delete TalkBack command from TalkBack queue|
|Delete all TalkBack commands in TalkBack queue|
ThingSpeak stores data in channels. Learn how to configure a channel to control access and how to sort your channels for faster access.
Choose among customizable visualizations of channel data.
You can use your ThingSpeak plot that updates automatically on any website.
Embed ThingSpeak charts on a custom website.
Collect Wi-Fi® signal strength in JSON format every 15 seconds, and update channel once every two minutes using relative timestamps.
Collect data in CSV format every 15 seconds, and update channel once every two minutes using absolute timestamps.
Collect CPU temperature and utilization data in JSON format every 15 seconds, and update the channel once every two minutes using Raspberry Pi™ board running Python® 2.7.
Add time zone parameter to your HTTP request.
See the details of ThingSpeak REST API error messages and corresponding HTTP status codes.