Streamlabs API

Welcome to the Streamlabs API developer hub. You'll find comprehensive guides and documentation to help you start working with Streamlabs API as quickly as possible. Let's jump right in!

Get Started

Posting donations

This example will run you through a quick start for getting the donation details for your users.

1. Setup your workflow

We already assume that you have traversed through Getting Started and are now all ready to to hit the api! Visit the /donations page to get a snippet of the code you need for your favorite programming language, to get the API to return donations. Here is an example written in Python.

import requests

url = "https://streamlabs.com/api/v1.0/donations"

querystring = {
  "name":"Fishstickslol",
  "message":"I love Fishsticks!"
  "identifier":"fishingthesticks@gmail.com",
  "amount":10,
  "currency":"USD",
}

response = requests.request("POST", url, params=querystring)

print(response.text)

This will post the donations to the defined user above.

2. Enjoy

Our recommend limits are 2 post requests per minute per user. Enjoy!


What's Next

The next example in line is about triggering alerts, check it out now!

Triggering alerts