SignalShelf · Developer documentation

YouTube profile

Sample profile responses are available. YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

Request

POST /api/v1/profiles · authenticate with the x-api-key header.

ParameterTypeRequiredDescription
platformstringYes"youtube"
handlestringYesChannel handle without @ (e.g. mrbeast).
modestringNo"live" for real data, "demo" for a free labeled sample. Default "demo".
freshnessstringNoOldest cached result you accept: "1h", "24h" (default), "7d", or "live" to force a refresh.
REQUEST EXAMPLE
curl "$SIGNALSHELF_BASE_URL/api/v1/profiles" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $SIGNALSHELF_API_KEY" \
  --data '{"platform":"youtube","handle":"mrbeast","mode":"demo","freshness":"24h"}'

Example response

Labeled sample fixture. Values are illustrative and do not describe a real creator.

EXAMPLE
{
  "data": {
    "platform": "youtube",
    "handle": "mrbeast",
    "name": "Sample creator",
    "bio": "Illustrative sample data for exploring SignalShelf. Not a real profile lookup.",
    "followers": 128400,
    "following": 842,
    "posts": 326,
    "verified": false,
    "url": "https://www.youtube.com/@mrbeast",
    "avatar": null,
    "sample": true,
    "provider": "sample-fixture",
    "details": {
      "channel_id": null,
      "views": 0,
      "keywords": null,
      "family_safe": false,
      "country": null,
      "rss_url": null,
      "has_business_email": false
    }
  },
  "meta": {
    "event_id": "sample",
    "mode": "demo",
    "cache": "SAMPLE",
    "credits_charged": 0,
    "fetched_at": null,
    "age_seconds": null,
    "duration_ms": 0
  }
}

Profile fields

Every platform returns these fields. Fields a platform does not expose are null (or [] for links); they are never guessed.

FieldTypeDescription
platformstringPlatform you requested.
handlestringNormalized handle (lowercase, no @).
namestringDisplay name.
biostringProfile description, as shown publicly.
followersnumberFollower or subscriber count.
followingnumberAccounts this profile follows.
postsnumberTotal posts, videos, pins or repositories, depending on platform.
verifiedbooleanPlatform verification badge, when exposed.
urlstringCanonical public profile URL.
avatarstring | nullProfile picture URL (largest available).
samplebooleanAlways false for live data; true only in sample mode.
providerstringEngine that produced the data.
detailsobjectPlatform-specific fields, listed below.

YouTube-specific fields (details)

Returned inside data.details.

FieldTypeDescription
details.channel_idstring | nullChannel ID (UC…).
details.viewsnumberTotal channel views.
details.keywordsstring | nullChannel keywords.
details.family_safebooleanYouTube family-safe flag.
details.countrystring | nullChannel country.
details.rss_urlstring | nullRSS feed of uploads.
details.has_business_emailbooleanTrue when YouTube shows a business email (viewing it requires sign-in).

Response metadata

FieldTypeDescription
meta.cachestringHIT (served from cache, 0 credits), MISS (fresh fetch) or SAMPLE.
meta.credits_chargednumberCredits charged for this request.
meta.fetched_atstringWhen the data was fetched from the source.
meta.age_secondsnumberAge of the data at response time.
meta.duration_msnumberServer processing time.

Errors

Every failure is free: reserved credits are refunded automatically.

FieldTypeDescription
404 PROFILE_NOT_FOUNDerrorThe profile does not exist publicly.
422 PROFILE_UNAVAILABLEerrorThe source did not expose even the public profile fields for this account.
503 SOURCE_NOT_AUTHORIZEDerrorLive access for this platform is disabled in production pending source authorization. No credits are charged.
503 SOURCE_AUTH_REQUIREDerrorThe source demanded a login for this request. Retry later.
503 UPSTREAM_RATE_LIMITEDerrorThe source is rate limiting. Retry after the Retry-After header.
402 INSUFFICIENT_CREDITSerrorNot enough credits for a fresh lookup. Cached and sample results stay free.

Limitations

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production pending written source and commercial-use authorization, including cross-channel use.

YouTube live profile and resource requests are disabled in production until source and commercial-use authorization, including cross-channel use, is independently reviewed.

Local parser tests and successful page reads do not grant permission to commercialize a source method.

Subscriber counts are abbreviated by YouTube (e.g. 522M), so counts_approximate is true.

Business email address requires a signed-in YouTube session and is not returned.

Explore the API in your workspace. Sample results and accepted cache hits cost zero credits. Open the playground →