FLASHAPI.

YouTube video details

Public metadata for a video. No stream URLs. One credit when InnerTube is consulted.

FieldValue
operationIdgetVideoDetails
RequestGET https://api.flashapi.io/youtube/v1/video/:id
Price1 credit
AuthX-FlashAPI-Key

Request#

:id is an 11-character YouTube video id (A–Z a–z 0–9 _ -). The gateway does not accept watch URLs on this path.

curl
curl -sS https://api.flashapi.io/youtube/v1/video/dQw4w9WgXcQ \
  -H "X-FlashAPI-Key: flash_…"

Success body#

Envelope is { data, meta }. data never includes stream URLs or streamingData.
FieldTypeNotes
idstringVideo id.
titlestringTitle.
descriptionstringMay be empty.
durationSecondsnumber | nullLength when known.
channel{ id, name }Either field may be null.
thumbnails{ url, width, height }[]InnerTube thumbnail list.
viewCountnumber | nullWhen YouTube reports it.
livebooleanLive content flag.
json
{
  "data": {
    "id": "dQw4w9WgXcQ",
    "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
    "description": "…",
    "durationSeconds": 213,
    "channel": {
      "id": "UCuAXFkgsw1L7xaCfnd5JJOw",
      "name": "Rick Astley"
    },
    "thumbnails": [
      { "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg", "width": 480, "height": 360 }
    ],
    "viewCount": 1600000000,
    "live": false
  },
  "meta": {
    "service": "youtube",
    "version": "v1",
    "requestId": "req_01JXYZ123"
  }
}

Errors#

StatuscodeBillWhen
400INVALID_PARAMETER0Malformed id. InnerTube is not called.
404RESOURCE_NOT_FOUND1Unavailable or unknown after InnerTube.
503UPSTREAM_UNAVAILABLE0Player fetch failed.