Version 1.5
Version V1.7 will be online after May 4, 2022, and the flow of some high-frequency API calls will be limited. Users are advised to complete any needed modifications to their API applications before this date. Specific rules are available in the Version V1.7 document:
An example of an HTTP response from Postman, an HTTP test tool, is shown below:
Key | Value |
---|---|
API-RateLimit-Remaining | 9 |
API-RateLimit-Reset | 1648537626 |
API-RateLimit-Limit | 10 |
Vary | Origin |
Access-Control-Allow-Origin | * |
X-RateLimit-Limit | 10000 |
X-RateLimit-Remaining | 9990 |
X-RateLimit-Reset | 1648623756 |
Content-Type | application/json; charset=utf-8 |
X-Response-Time | 2488ms |
X-traceId | b41600a0-af2e-11ec-95cf-4fbe2c61925f |
Status: 200 OK, Time: 2.50 s
The returned HTTP headers show the current rate limit status:
RateLimit Status | Description |
---|---|
RateLimit-Limit | The maximum number of requests permitted to make. |
RateLimit-Remaining | The number of requests remaining in the current rate limit window. |
RateLimit-Reset | The time at which the current rate limit window resets in UTC epoch seconds. |
There are two levels of limits working together. Users should ensure their design does not reach any level of the limits, otherwise, the HTTP response status will be 429 (Too Many Requests).
Works on All APIs | 10000 per day |
---|
DeviceList | 10 per minute |
DeviceControl | 10 per minute per device |
DeviceState | 10 per minute per device |
No, only Wi-Fi devices support the API.
The changed status can only be synchronized when the lights are controlled via Wi-Fi. This means the phone's Bluetooth needs to be turned off. Users should recheck if their phone's Bluetooth is off.
Govee does not support third-party software that uses their API for integration. Since Govee is not involved in such integrations, they cannot diagnose or solve problems related to them. It is advised to contact the third-party support directly to resolve the issue.
The Govee Developer API Key can be applied through the Govee Home App. The key is refreshed every time it is applied and will be sent to the email address.
Users should first read the "message" in the Response Body. If questions persist, users should send their Request Params and the values of "Date" and "X-traceId" shown in the Response Header, as these are helpful for debugging.
The Govee Developer API allows control of devices and querying of device states.
The device models supported by the current version include: H6160, H6163, H6104, H6109, H6110, H6117, H6159, H7022, H6086, H6089, H6182, H6085, H7014, H5081, H6188, H6135, H6137, H6141, H6142, H6195, H7005, H6083, H6002, H6003, H6148, H6052, H6143, H6144, H6050, H6199, H6054, H5001, H6154, H6072, H6121, H611A, H5080, H6062, H614C, H615A, H615B, H7020, H7021, H614D, H611Z, H611B, H611C, H615C, H615D, H7006, H7007, H7008, H7012, H7013, H7050, H6051, H6056, H6061, H6058, H6073, H6076, H619A, H619C, H618A, H618C, H6008, H6071, H6075, H614A, H614B, H614E, H618E, H619E, H605B, H6087, H6172, H619B, H619D, H619Z, H61A0, H7060, H610A, H6059, H7028, H6198, H6049, H7031, H7032, H61A1, H61A2, H61B2, H7061, H6067, H6066, H6009, H7041, H7042, H604A, H6173, H615E, H604B, H6091, H7051, H7062, H618F, H605D.
Before starting, users should be familiar with:
The Govee Developer API Key is used for authentication. Requests requiring authentication will return a 401 Unauthorized status.
Users should use the HTTP header 'Govee-API-Key' to send the Govee Developer API Key. Examples are provided in the API documentation.
GET /v1/devices
Retrieves information about all supported devices in the account.
Govee-API-Key : {your_Govee_API_KEY}
Content Type: application/json
The code value will be 200 for a successful request, indicating success.
Type: number
, Required: Yes
The message value will be "success" for a successful request, or an error message.
Type: string
, Required: Yes
The response data.
Type: object
, Required: Yes
Returns devices supported by the Govee Developer API.
Type: array
, Required: Yes
Product Model of the device.
Type: string
, Required: Yes
Mac address of the device. Used with model to identify a target device.
Type: string
, Required: Yes
Indicates if the device supports control commands (true
/false
).
Type: bool
, Required: Yes
Indicates if the device supports querying its current state (true
/false
).
Type: bool
, Required: Yes
Commands supported by the device. Valid values in the array: "turn", "brightness", "color", "colorTem".
Type: array
, Required: Yes
Indicates an invalid Govee Developer API key. HTTP Status Code: 403.
Indicates an internal service error. HTTP Status Code: 500.
Request URL: https://developer-api.govee.com/v1/devicesRequest Method: GETRequest Header: Govee-API-Key: 00000000-729c-4b82-b536-000000000
{"data": {"devices": [{"device": "99:E5:A4:C1:38:29:DA:7B","model": "H6159","deviceName": "test light","controllable": true,"retrievable": true,"supportCmds": ["turn","brightness","color","colorTem"],"properties": {"colorTem": {"range": {"min": 2000,"max": 9000}}}},{"device": "34:20:03:2e:30:2b","model": "H5081","deviceName": "Smart Plug","controllable": true,"retrievable": true,"supportCmds": ["turn"]}]},"message": "Success","code": 200}
Uses supported commands to control the device.
Content-Type: application/json
Govee-API-Key : {your_Govee_API_KEY}
The Mac address of the device to control.
Type: String
, Required: Yes
The Model of the device to control.
Type: String
, Required: Yes
Device commands.
Type: object
, Required: Yes
Device command name. Used with cmd.value
. Valid values: "turn", "brightness", "color", "colorTem".
Type: object
, Required: Yes
Device command value. Used with cmd.name
.
Type: number
, Required: Yes
{"name": "turn", value: "off"}{"name": "brightness", value: 10}{"name": "color", value: {"r": 255, "g": 255, "b": 255}}{"name": "colorTem", value: 7000}
Valid values are "on" and "off". Type: string
.
Valid values are between 0 and 100, where 0 turns off the device. Type: number
.
Type: object
number
.number
.number
.Valid values are returned by DeviceList, with an additional "properties" field:
"properties": {"colorTem": {"range": {"min": 2000,"max": 9000}}}
Content Type: application/json
The code value will be 200 for a successful request.
Type: number
, Required: Yes
The message value will be "success" for a successful request, or an error message.
Type: string
, Required: Yes
The response data.
Type: object
, Required: Yes
Indicates an invalid Govee Developer API key. HTTP Status Code: 403.
Indicates an internal service error. HTTP Status Code: 500.
Indicates that a request parameter does not comply with associated constraints. HTTP Status Code: 400.
Request URL: https://developer-api.govee.com/v1/devices/controlRequest Method: PUTRequest Header: Content-Type: application/jsonGovee-API-Key : 00000000-729c-4b82-b536-000000000Request body:{"device": "34:20:03:15:82:ae","model": "H6089","cmd": {"name": "turn","value": "on"}}
Request URL: https://developer-api.govee.com/v1/devices/controlRequest Method: PUTRequest Header: Content-Type: application/jsonGovee-API-Key : 00000000-729c-4b82-b536-000000000Request body:{"device": "34:20:03:15:82:ae","model": "H6089","cmd": {"name": "brightness","value": 50}}
Request URL: https://developer-api.govee.com/v1/devices/controlRequest Method: PUTRequest Header: Content-Type: application/jsonGovee-API-Key : 00000000-729c-4b82-b536-000000000Request body:{"device": "34:20:03:15:82:ae","model": "H6089","cmd": {"name": "color","value": {"r": 255,"g": 255,"b": 255}}}
Request URL: https://developer-api.govee.com/v1/devices/controlRequest Method: PUTRequest Header: Content-Type: application/jsonGovee-API-Key : 00000000-729c-4b82-b536-000000000Request body:{"device": "34:20:03:15:82:ae","model": "H6089","cmd": {"name": "colorTem","value": 7000}}
{"code": 200,"message": "Success","data": {}}
Queries the device state.
Content-Type: application/json
Govee-API-Key : {your_Govee_API_KEY}
The Mac address of the device to control.
Type: String
, Required: Yes
The Model of the device to control.
Type: String
, Required: Yes
Content Type: application/json
The code value will be 200 for a successful request.
Type: number
, Required: Yes
The message value will be "success" for a successful request, or an error message.
Type: string
, Required: Yes
The response data.
Type: object
, Required: Yes
Product Model of your device.
Type: array
, Required: Yes
Mac address of your device.
Type: string
, Required: Yes
Device name.
Type: string
, Required: Yes
Device states.
{"online": "false"}{"powerState" : "off"}{"brightness" : 60}{"color": {"r": 255, "g" : 255, "b", 255}}{"colorTem": 5000}
Type: arr
, Required: Yes
Note: "online" status is implemented through the cache and may sometimes return a wrong state. Third-party developers should ensure that even if "online" returns "false", users are still allowed to send control commands, as the device may still be controllable if the cache is wrong.
Indicates an invalid Govee Developer API key. HTTP Status Code: 403.
Indicates an internal service error. HTTP Status Code: 500.
Indicates that a request parameter does not comply with associated constraints. HTTP Status Code: 400.
Request URL: https://developer-api.govee.com/v1/devices/state?device=06%3A7A%3AA4%3AC1%3A38%3A5A%3A2A%3A8D&model=H6148Request Method: GETRequest Header: Govee-API-Key : 00000000-729c-4b82-b536-000000000Request Query Parameters: device: 06:7A:A4:C1:38:5A:2A:8D, model: H6148
{"data": {"device": "C6:EA:B8:56:C8:C6:89:BE","model": "H6188","properties": [{"online": "false"},{"powerState": "off"},{"brightness": 82},{"color": {"r": 0,"b": 0,"g": 0}}]},"message": "Success","code": 200}
Supports models: H7031, H7032, H61A1, H61A2, H61B2, H7061, H6067, H6066, H6009, H7041, H7042, H604A, H6173, H615E, H604B, H6091, H7051, H7062, H618F, H605D.
Supports models: H605B, H6087, H6172, H619B, H619D, H619Z, H61A0, H7060, H610A, H6059, H7028, H6198, H6049.
Supports models: H7050, H6051, H6056, H6061, H6058, H6073, H6076, H619A, H619C, H618A, H618C, H6008, H6071, H6075, H614A, H614B, H614E, H618E, H619E.
Supports models: H6050, H6154, H6143, H6144, H6072, H6121, H611A, H5080, H6062, H614C, H615A, H615B, H7020, H7021, H614D, H611Z, H611B, H611C, H615C, H615D, H7006, H7007, H7008, H7012, H7013.
Change in DeviceState: When cmd.name
is "colorTem", valid values are returned by DeviceList, with an additional "properties" field:
"properties": {"colorTem": {"range": {"min": 2000,"max": 9000}}}
![]() |
Govee Developer API Reference Guide Comprehensive guide to the Govee Developer API, detailing endpoints for device control, state querying, rate limiting, and setup. Includes supported device models and API usage examples. |
![]() |
Govee Developer API Reference Version 2.0 Comprehensive reference for the Govee Developer API, detailing how to control and query Govee smart devices including lights, plugs, switches, and appliances. Covers API key usage, rate limiting, device listing, device control, and device state queries with example requests and responses. Includes supported model numbers and version history. |
![]() |
Govee API Reference: Integrate Smart Devices with Govee API 1.0 Comprehensive Govee API 1.0 reference for developers to control and query Govee smart devices, including authentication, rate limiting, device listing, and device control commands. |
![]() |
Signify v. Shenzhen Intellirocks: Patent Infringement Complaint for LED Lighting Products Details of a patent infringement lawsuit filed by Signify North America Corporation and Signify Holding B.V. against Shenzhen Intellirocks Tech Co., LTD. concerning LED lighting products and technologies. |
![]() |
Authorization Letter for Govee RGBIC LED Strip Lights FCC Certification Official letter from Shenzhen Intellirocks Tech. Co., Ltd. authorizing LGAI Technological Center S.A. to manage FCC approval for Govee RGBIC LED Strip Lights models H619E, H619A, H619B, H619C, H619D, H619Z, H6168, H618A, H618C, H618E, H618F (FCC ID: 2AQA6-H619EA). |
![]() |
Govee RGB LED Strip Light Model Similarity Declaration This document from Shenzhen Qianyan Technology LTD declares the differences in rated input, strip length, and number of strips among various Govee RGB LED Strip Light models (H615E, H615A, H615B, H615C, H615D, H6159, H6110, H614B, H614E) while confirming other specifications are identical to the tested model. |
![]() |
Govee RGBIC LED Strip Lights Product Similarity Declaration This document declares the electrical identity of various Govee RGBIC LED Strip Light models, including H619E, H619A, H619B, H619C, H619D, H619Z, H6168, H618A, H618C, H618E, and H618F, despite variations in length and appearance. It details adapter information for each model. |
![]() |
Govee RGB LED Strip Light FCC & IC Compliance Test Report This document presents the comprehensive test report for the Govee RGB LED Strip Light, covering models H615E, H615A, H615B, H615C, H615D, H6159, H6110, H614B, and H614E. Conducted by China Certification ICT Co., Ltd (Dongguan), the report details compliance with FCC Part 15 Subpart C and ISED Canada RSS standards for radio equipment, ensuring regulatory adherence and product safety. |