Reolink LED API

Infrared, white light, and power indicator LED control

GitHub OpenAPI
Business capability
Home Security Cameras & Alarms AE-200.80

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /cgi-bin/api.cgi?cmd=SetIrLights&token={token} Turn infrared night vision on or off · Set infrared light settings #
Ask an LLM
“How do I switch off the infrared night vision LEDs on my Reolink camera?”
“Can I set the IR lights to stay on all night instead of auto?”
Tell an agent
Set the infrared lights to {param} on camera {token}.
Turn off night vision IR LEDs for token {token}.
POST /cgi-bin/api.cgi?cmd=GetIrLights&token={token} Get infrared light settings · Get infrared light settings #
Ask an LLM
“What mode are the infrared night vision LEDs currently in?”
“Is night vision on or off right now?”
Tell an agent
Get the infrared light settings for token {token}.
Show the current night vision IR mode.
POST /cgi-bin/api.cgi?cmd=GetPowerLed&token={token} Get the power LED configuration · Get power LED settings #
Ask an LLM
“Is the power indicator LED on my camera on or off?”
“What does the power LED light do when the camera is on?”
Tell an agent
Get the power LED settings for token {token}.
Show the power indicator LED configuration.
POST /cgi-bin/api.cgi?cmd=SetPowerLed&token={token} Turn the power LED on or off · Set power LED settings #
Ask an LLM
“How do I turn off the power LED on my camera?”
“Can I set the power LED to stay on all the time?”
Tell an agent
Set the power LED to {param} on camera {token}.
Turn the power LED off for token {token}.
POST /cgi-bin/api.cgi?cmd=GetWhiteLed&token={token} Get the white spotlight LED settings · Get white light LED settings #
Ask an LLM
“Is the white spotlight LED on my camera on?”
“What is the current white light mode?”
Tell an agent
Get the white spotlight LED settings for token {token}.
Show the color night vision white light mode.
POST /cgi-bin/api.cgi?cmd=SetWhiteLed&token={token} Turn the white spotlight LED on or off · Set white light LED settings #
Ask an LLM
“How do I turn on the white spotlight LED for color night vision?”
“Can I set the white light to stay on at night?”
Tell an agent
Set the white spotlight LED to {param} on camera {token}.
Turn on the color night vision white light for token {token}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reolink:reolink-led-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

reolink-led-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reolink Camera HTTP LED API
  description: The Reolink Camera HTTP API provides a RESTful interface for controlling and configuring Reolink IP cameras and NVRs.
  version: '8.0'
  contact:
    name: Reolink
    url: https://reolink.com
  license:
    name: Proprietary
    url: https://reolink.com
servers:
- url: https://{camera_ip}
  description: Reolink Camera or NVR
  variables:
    camera_ip:
      default: 192.168.1.100
      description: IP address of the Reolink camera or NVR
security:
- tokenAuth: []
tags:
- name: LED
  description: Infrared, white light, and power indicator LED control
paths:
  /cgi-bin/api.cgi?cmd=SetIrLights&token={token}:
    post:
      operationId: setIrLights
      summary: Set infrared light settings
      description: Configures infrared LED illumination settings for night vision, including auto, on, and off modes.
      tags:
      - LED
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommandRequest'
      responses:
        '200':
          description: IR light settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=GetIrLights&token={token}:
    post:
      operationId: getIrLights
      summary: Get infrared light settings
      description: Retrieves the current infrared LED illumination configuration.
      tags:
      - LED
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelRequest'
      responses:
        '200':
          description: IR light settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=GetPowerLed&token={token}:
    post:
      operationId: getPowerLed
      summary: Get power LED settings
      description: Retrieves the power indicator LED configuration.
      tags:
      - LED
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelRequest'
      responses:
        '200':
          description: Power LED settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=SetPowerLed&token={token}:
    post:
      operationId: setPowerLed
      summary: Set power LED settings
      description: Configures the power indicator LED behavior.
      tags:
      - LED
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommandRequest'
      responses:
        '200':
          description: Power LED settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=GetWhiteLed&token={token}:
    post:
      operationId: getWhiteLed
      summary: Get white light LED settings
      description: Retrieves white spotlight LED configuration for color night vision.
      tags:
      - LED
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelRequest'
      responses:
        '200':
          description: White LED settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=SetWhiteLed&token={token}:
    post:
      operationId: setWhiteLed
      summary: Set white light LED settings
      description: Configures white spotlight LED for color night vision.
      tags:
      - LED
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommandRequest'
      responses:
        '200':
          description: White LED settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
components:
  schemas:
    ChannelRequest:
      type: object
      required:
      - cmd
      - action
      - param
      properties:
        cmd:
          type: string
          description: The API command name
        action:
          type: integer
          description: Action type (0 for get)
        param:
          type: object
          required:
          - channel
          properties:
            channel:
              type: integer
              description: Camera channel number (starting from 0)
    CommandResponse:
      type: object
      properties:
        cmd:
          type: string
          description: The command that was executed
        code:
          type: integer
          description: Response code (0 for success)
        value:
          type: object
          description: Command-specific response data
        error:
          type: object
          properties:
            rspCode:
              type: integer
              description: Error response code
            detail:
              type: string
              description: Error detail message
    CommandRequest:
      type: object
      required:
      - cmd
      - action
      properties:
        cmd:
          type: string
          description: The API command name
        action:
          type: integer
          description: Action type (0 for get, 1 for set)
        param:
          type: object
          description: Command-specific parameters
  parameters:
    Token:
      name: token
      in: path
      required: true
      description: Authentication token obtained from the Login command
      schema:
        type: string
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: query
      name: token
      description: Authentication token obtained from the Login command. Pass as a query parameter on all requests after authentication.