API Usage Guide

VidMetricsLab API allows you to retrieve detailed YouTube channel analytics including general stats, historical growth, daily changes, and social media links.

📌 Authentication

Every API request must include your personal API key in the request header:

Header: X-API-KEY: your_api_key_here
Get Your API Key
To use the API, you must first create an account and generate your personal API key from your dashboard.

📤 Endpoint

GET https://api.vidmetricslab.com/v1/channel/{channel_id}

🔁 Example Request

curl -H "X-API-KEY: your_api_key_here" https://api.vidmetricslab.com/v1/channel/UCY1kMZp36IQSyNx_9h4mpCg
OR
curl -H "X-API-KEY: your_api_key_here" https://api.vidmetricslab.com/v1/channel/@markrober

✅ Successful Response

Returns a JSON object with detailed statistics about the specified YouTube channel.

🚫 Error Responses

  • 401 Unauthorized – Missing or invalid API key.
  • 403 Forbidden – Request limit exceeded.
  • 404 Not Found – Channel not found.

📊 Rate Limits

Free accounts are limited to:

  • 500 requests/day
  • 1000 requests/month

For higher limits or commercial access, please contact us at [email protected].

Example API Response