Main Content

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

NameDescription

ENTRY_ID

(Required) Entry ID for the entry of interest.

.FORMAT

Format for the HTTP response, specified as .json, .xml, .csv, or .txt.

Body

NameDescriptionValue 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"

true or false

location

(Optional). Include latitude, longitude, and elevation in feed by setting "location=true"

true or false

Response

Success

HTTP Status Code

200 OK

If you do not have access to the channel, the response is -1

Body

JSON ExampleXML ExampleCSV 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