Skip to main content

ViewerBoss API

Manage viewer tasks for your Twitch and Kick channels from your own code.

POST/api/viewers/task
fetch('https://api.viewerboss.com/api/viewers/task', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    platform: "twitch",
    channel: "exampleChannel",
    count: 1300,
    delay: 50
  })
})
{
  "message": "Success",
  "taskId": 4356
}

Authentication

Send your API key in the Authorization header of every request.

Authorization: Bearer YOUR_API_KEY

Endpoints

  • Creates a new viewer task for a Twitch or Kick channel.

    Example request

    fetch('https://api.viewerboss.com/api/viewers/task', {
      method: 'POST',
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        platform: "twitch",
        channel: "exampleChannel",
        count: 1300,
        delay: 50
      })
    })

    Example response

    {
      "message": "Success",
      "taskId": 4356
    }
  • Returns all of your viewer tasks on Twitch and Kick. Add onlyWorking=true to get only running tasks.

    Example request

    fetch('https://api.viewerboss.com/api/viewers/tasks?onlyWorking=true', {
      method: 'GET',
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    })

    Example response

    [
      {
        "id": 4356,
        "platform": "twitch",
        "channel": "exampleChannel",
        "count": 1300,
        "status": "active"
      }
    ]
  • Returns the details of one viewer task by its ID.

    Example request

    fetch('https://api.viewerboss.com/api/viewers/task/4356', {
      method: 'GET',
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    })

    Example response

    {
      "id": 4356,
      "platform": "twitch",
      "channel": "exampleChannel",
      "count": 1300,
      "status": "active"
    }
  • Deletes a viewer task by its ID.

    Example request

    fetch('https://api.viewerboss.com/api/viewers/task/4356', {
      method: 'DELETE',
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    })

    Example response

    {
      "message": "Task deleted successfully."
    }
  • Increases the number of viewers on a running task.

    Example request

    fetch('https://api.viewerboss.com/api/viewers/task/13082/increase-viewers?count=50&delay=100', {
      method: 'PUT',
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    })

    Example response

    {
      "message": "Viewer count increased successfully.",
      "newCount": 1350
    }
  • Decreases the number of viewers on a running task.

    Example request

    fetch('https://api.viewerboss.com/api/viewers/task/1522/decrease-viewers?count=100&delay=100', {
      method: 'PUT',
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    })

    Example response

    {
      "message": "Viewer count decreased successfully.",
      "newCount": 1200
    }

Rate limits

Each API key can make up to:

  • 100 requests per minute
  • 1,000 requests per hour
  • 10,000 requests per day

Requests over the limit get an HTTP 429 (Too Many Requests) response. Contact support if you need higher limits.

Need help with the API?

Our support team can help you connect the ViewerBoss API to your app.

Try It Free - No Credit Card Required

Get 15 viewers + 15 chatters for 60 minutes. Full dashboard access. See exactly how it works before you pay anything.

twitch.tv/

15 free viewers · no credit card · no download