Triangle pointing up

Quickstart

Unlock powerful YouTube automation workflows with TubeLab's API

TubeLab's API gives you access to the Niche Finder & Outliers Finder data - including 400K+ channels, 4M+ outliers, and YouTube scans. Updated everyday, in real-time.

This unlocks powerful YouTube automation workflows, such as:

  • Automatically finding new niches
  • Automatically tracking trends based on a niche
  • AI-powered ideation based on outliers

Why code when AI can do it for you?

Paste this link in your AI and he will get the full context of TubeLab's API.

https://tubelab.net/docs/llms-full.txt

Call the API

Create a TubeLab Account

Sign-up to TubeLab if you don't have an account yet.

Create an API Key

Create an API key here and copy it.

Beaware, this key won't be shown again.

Make your first request

Authenticate by using the Authorization header and value as Api-Key your-api-key:

const myHeaders = new Headers();myHeaders.append('Content-Type', 'application/json');myHeaders.append("Authorization", "Api-Key ••••••");fetch('https://public-api.tubelab.net/v1/outliers?query=minecraft', {method: 'GET',headers: myHeaders,}).then((response) => response.text()).then((result) => console.log(result)).catch((error) => console.error(error));
import requestsurl = "https://public-api.tubelab.net/v1/outliers?query=minecraft"payload = {}headers = {'Authorization': 'Api-Key ••••••'}response = requests.request("GET", url, headers=headers, data=payload)print(response.text)
curl --location 'https://public-api.tubelab.net/v1/outliers?query=minecraft'--H 'Content-Type: application/json'--H 'Authorization: Api-Key ••••••'

Next steps

Now that you have made your first TubeLab API request, it's time to explore what else is possible: