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?

Use our Agent Skill to give any AI agent full knowledge of TubeLab's API.

You can also paste this link in your coding AI.

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("Authorization", "Api-Key ••••••");fetch('https://public-api.tubelab.net/v1/search/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/search/outliers?query=minecraft"headers = {'Authorization': 'Api-Key ••••••'}response = requests.request("GET", url, headers=headers)print(response.text)
curl --location 'https://public-api.tubelab.net/v1/search/outliers?query=minecraft' \-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: