Main Content

Read Settings

Read channel settings with HTTP GET

Request

HTTP Method

GET

URL

https://api.thingspeak.com/channels/<channel_id>.<format>

URL Parameters

NameDescription

<channel_id>

(Required) Channel ID for the channel of interest.

<format>

(Required) Format for the HTTP response, specified as json or xml.

Example: https://api.thingspeak.com/channels/266256.json

Query String Parameters

NameDescriptionValue Type
api_key

(Required for private channels) Specify User API Key, which you can find in your profile. This key is different from the channel API keys.

string

Response

Success

HTTP Status Code

200 OK

Body

 JSON Example

 XML Example

Error

For the full list, see Error Codes.

Examples

View Channel Settings

You can use your web browser to complete GET HTTP requests to the RESTful API for ThingSpeak™.

To see the format for an HTTP response, copy the following URL to the address bar of your web browser, changing <channel_ID> to your channel ID and <XXXXXXXXXXXXXXXX> to your User API Key, which is found in Account > My Profile.

https://api.thingspeak.com/channels/<channel_ID>.json?api_key=<XXXXXXXXXXXXXXXX>

The response is a JSON object of the channel settings, as shown in the response section.