Read Settings
Read channel settings with HTTP GET
Request
HTTP Method
GET
URL
https://api.thingspeak.com/channels/
<channel_id>
.<format>
URL Parameters
Name | Description |
---|---|
|
(Required) Channel ID for the channel of interest. |
|
(Required) Format for the HTTP response, specified as
|
Example:
https://api.thingspeak.com/channels/266256.json
Query String Parameters
Name | Description | Value 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
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
to
your channel ID and
<channel_ID>
to your User API Key, which is found in Account >
My
Profile.<XXXXXXXXXXXXXXXX>
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.