Skip to Content

Batch Profiles

Up to 20 channels at once, by their ids or handles.

GET
/v1/youtube/batch/profiles

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

ids*string

Up to 20 channel ids (UC…) or handles (@…), comma-separated.

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.youtube.batchProfiles({ ids: "@LinusTechTips,@MrBeast" });
Example Response
{  "data": [    {      "avatarUrl": "https://yt3.googleusercontent.com/gnvYLhXy8FAlPXZ2RTrkrgj-5kyt0vdE2FUGVOiKGdEZIa-wN5A-7nwZBlWJLzUMmoh1NWAU=s160-c-k-c0x00ffffff-no-rj",      "bio": "Linus Tech Tips is a passionate team of \"professionally curious\" experts in consumer technology and video production who aim to educate and entertain.\n\nSponsorship Inquiries: partnerships@linusmediagroup.com",      "createdAt": "2008-11-24T00:00:00.000Z",      "displayName": "Linus Tech Tips",      "ext": {        "bannerUrl": "https://yt3.googleusercontent.com/U_7GWetO6k4sq3pAkbFEIIWzZLKcIJlGJqNz6NQAhgqF6DVD5pllwWF6trSUWEIRn4MkhNlhy9Y=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",        "country": "Canada",        "links": [          {            "title": "lttstore.com",            "url": "https://www.lttstore.com/"          },          {            "title": "Floatplane",            "url": "https://www.floatplane.com/ltt"          },          {            "title": "Labs",            "url": "https://www.lttlabs.com/"          }        ],        "subscribersText": "16.9M subscribers",        "views": 10045352646      },      "externalUrl": "https://www.lttstore.com/",      "followers": 16900000,      "following": null,      "id": "UCXuqSBlHAE6Xw-yeJA0Tunw",      "likes": null,      "posts": 8011,      "private": false,      "url": "https://www.youtube.com/@LinusTechTips",      "username": "LinusTechTips",      "verified": true    },    {      "avatarUrl": "https://yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s160-c-k-c0x00ffffff-no-rj",      "bio": "SUBSCRIBE FOR A COOKIE!\nNew MrBeast or MrBeast Gaming video every single Saturday at noon eastern time!\nAccomplishments:\n- Raised $20,000,000 To Plant 20,000,000 Trees\n- Removed 30,000,000 pounds of trash from the ocean\n- Helped 2,000 people walk again\n- Helped 1,000 blind people see\n- Helped 1,000 deaf people hear\n- Built wells in Africa\n- Built and gave away 100 houses\n- Adopted every dog in a s…",      "createdAt": "2012-02-19T00:00:00.000Z",      "displayName": "MrBeast",      "ext": {        "bannerUrl": "https://yt3.googleusercontent.com/mHMO_eEMp0dPvh0ADwXhPXNYb_GnjSVsLI8biqF1CpxT8OPl7izhNQsDPD3JHhd5y5Mg9GrP=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",        "country": "United States",        "links": [          {            "title": "Follow",            "url": "https://www.instagram.com/mrbeast/"          },          {            "title": "Twitter",            "url": "https://twitter.com/MrBeast"          },          {            "title": "Facebook",            "url": "https://facebook.com/mrbeast/"          }        ],        "subscribersText": "528M subscribers",        "views": 148150665175      },      "externalUrl": "https://www.instagram.com/mrbeast/",      "followers": 528000000,      "following": null,      "id": "UCX6OQ3DkcsbYNE6H8uQQuVA",      "likes": null,      "posts": 1017,      "private": false,      "url": "https://www.youtube.com/@MrBeast",      "username": "MrBeast",      "verified": true    }  ],  "pagination": {    "nextCursor": null,    "hasMore": false  }}