Read Specific Entry ID
Read specific entry ID with HTTP GET
Request
HTTP Method
GET
URL
https://api.thingspeak.com/channels/feeds/CHANNEL_ID/feeds/ENTRY
ID.FORMAT
URL Parameters
| Name | Description |
|---|---|
| (Required) Entry ID for the entry of interest. |
| Format for the HTTP response, specified as .json, .xml, .csv, or .txt. |
Body
| Name | Description | Value Type |
|---|---|---|
api_key | (Required for private channels). Specify Read API Key for this specific channel. The Read API key is found on the API Keys tab of the channel view. | user-API-string |
timezone | (Optional). Identifier from Time Zones Reference for this request | time zone |
offset | (Optional). Timezone offset that results are displayed in. Use the timezone parameter for greater accuracy | integer> |
status | (Optional). Include status updates in feed by setting "status=true" |
|
location | (Optional). Include latitude, longitude, and elevation in feed by setting "location=true" |
|
Read Entry in JSON Format
Read Entry in XML Format for Hawaii
Read Entry From a Private Channel in JSON Format with 2 hour offset
Response
Success
200 OK
If you do not have access to the channel, the response is -1
| JSON Example | XML Example | CSV Example |
GET https://api.thingspeak.com/channels/9/feeds/6061519.json |
GET https://api.thingspeak.com/channels/9/feeds/6061519.xml |
GET https://api.thingspeak.com/channels/9/feeds/6061519.csv |
The response is a JSON object of the feed entry, for example: {
"created_at": "2014-02-26T21:27:21Z",
"entry_id": 6061519,
"field1": "176",
"field2": "28.195329087048833"
} | The response is an XML object of the most recent feed, for example: <?xml version="1.0" encoding="UTF-8"?> <feed> <created-at type="dateTime">2014-02-26T21:27:21Z</created-at> <entry-id type="integer">6061519</entry-id> <field1>176</field1> <field2>28.195329087048833</field2> <id type="integer" nil="true"/> </feed> | The response is a CSV object of the channel feed, for example: created_at,entry_id,field1,field2 2014-02-26 21:27:21 UTC,2014-02-26 21:27:21 UTC,6061519,6061519,176,176,28.195329087048833,28.195329087048833 |
Error
For the full list, see Error Codes.
If you do not have access to the channel, the response is -1