Read Data from Channel
ThingSpeak™ is an IoT platform that uses channels to store data sent from apps or devices.
You can read data from your ThingSpeak channels using the HTTP calls and the REST API. You can use the MQTT subscribe
method to receive messages whenever the channel is updated. And you can use
thingSpeakRead to read data from your channel in desktop MATLAB. Learn more about
when to Choose Between REST API and MQTT API to update a
|Read data from all fields in channel with HTTP GET
|Read data from single field of channel with HTTP GET
|Read status field of channel with HTTP GET
Read Last Entry
|Read last entry in channel with HTTP GET
Read Last Field
|Read last entry in channel field with HTTP GET
Read Last Status
|Read last status of channel with HTTP GET
Choose How to Read Data
- Choose Between REST API and MQTT API
Learn when to use REST and MQTT to update a channel.
- Publish and Subscribe to a Channel Using Desktop MQTT Client
This example shows how to use a desktop MQTT client to publish and subcribe to a channel.
Read Data with Arduino or Particle Photon
- Prototyping with Sonar Proximity Sensor
This example shows how to prototype with ThingSpeak™ using a Wi-Fi connected Arduino® board.
Read Data with ESP8266
- Post Temperature Data and Read from Channel
This example shows how to collect environmental data from a device and post it from your device to a ThingSpeak™ channel.
- Moisture Sensor using HTTP POST Requests to Channel
This example shows how to post multiple fields of data to a ThingSpeak™ channel from a device that wakes from deep sleep.
- Bulk-Update Using an Arduino or an ESP8266
This example shows how to use either an Arduino® MKR1000 board or an ESP8266 board connected to a Wi-Fi® network to continuously collect Wi-Fi signal strength and bulk-update a ThingSpeak™ channel.
Read Data with ESP32
- Wireless Network Signal Strength with ESP32 with Arduino IDE
This example shows how to use the wireless network functionality of ESP32 to post data to ThingSpeak™.