YepAPI
YouTube API

Shorts Info

Get details for a YouTube Short.

POST/v1/youtube/shorts-info
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/youtube/shorts-info', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ id: 'abc123' }),
});
const { data } = await res.json();
console.log(data.title, data.viewCount);
curl -X POST https://api.yepapi.com/v1/youtube/shorts-info \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "abc123"}'

Request Body

ParameterTypeRequiredDescriptionDefault
idstringYesYouTube video/short ID
geostringNoCountry code for geo-specific results
langstringNoLanguage code

Response

{
  "ok": true,
  "data": {
    "id": "abc123",
    "title": "Funny Short",
    "channelTitle": "Creator",
    "channelId": "UCxyz...",
    "viewCount": "5000000",
    "likeCount": 250000,
    "description": "Wait till the end!",
    "publishDate": "2026-03-15"
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.idstringYouTube Short/video identifier
data.titlestringShort title as displayed on YouTube
data.channelTitlestringName of the channel that uploaded the Short
data.channelIdstringUnique identifier for the channel
data.viewCountstringTotal view count as a numeric string
data.likeCountnumberTotal number of likes
data.descriptionstringShort description text
data.publishDatestringPublish date in YYYY-MM-DD format

On this page