Triangle pointing up

Introduction

Find new niches automatically, track your competition, new trends and more.

The TubeLab API is organized around REST. The API returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

To use TubeLab's API you must have an API Key and an active subscription with available credits.

API BASE URL:

https://public-api.tubelab.net/v1

Authentication

All requests to the TubeLab API must include an Authorization header with your API key. You'll need to send this header yourself as Authorization: Api-Key <your-api-key>.

Here's an example with curl:

curl --location 'https://public-api.tubelab.net/v1/outliers?query=minecraft'
--H 'Content-Type: application/json'
--H 'Authorization: Api-Key <your-api-key>'

Rate limits

To mitigate misuse and manage capacity on our API, we have implemented limits per api key.

You're limited to 10 requests every minute per api-key within your available credits.

Limits are designed to prevent API abuse, while minimizing impact on common customer usage patterns.

Content types

TubeLab's API accepts JSON in request bodies and returns JSON in response bodies. You will need to send the content-type: application/json header in requests.

Request size limits

The API has a maximum request body size of 100kb per request.

Status page

Check the availability of TubeLab's APIs at our status page.