Read Last Field Entry Age
Read number of seconds since last entry in field with HTTP GET
Request
HTTP Method
GET
URL
https://api.thingspeak.com/channels/
<channel_id>
/fields/<field_id>
/last_data_age.<format>
URL Parameters
Name | Description |
---|---|
| (Required) Channel ID for the channel of interest. |
| (Required) Field ID for the field of interest. |
| (Required) Format for the HTTP response, specified as
|
Example:
https://api.thingspeak.com/channels/266256/fields/2/last_data_age.json
Query String Parameters
There are no available parameters for this request.
Response
Error
For the full list, see Error Codes.
If you do not have access to the channel, the response is -1.