YouTube Scraper

ENDPOINTS
GET/hashtags/videos

Hashtag Videos

Get the videos or Shorts tagged with a hashtag, plus how many videos and channels use it.

QUERY PARAMS

Hashtag with or without #, or a /hashtag/ link.

Examples:

  • Tag: coding
  • URL: https://www.youtube.com/hashtag/coding

all for every video, or shorts for Shorts only.

Default: all

Allowed values: all, shorts

Opaque pagination cursor. Pass the next_cursor value from the previous page to get the next one. Omit for the first page.

2-letter country code for region-specific results.

Default: US

Allowed values: any ISO 3166-1 alpha-2 code (US, IN, GB, DE, FR, JP, ...)

Language of titles, dates and labels. Counts are exact in English; in other languages YouTube's abbreviated counts come back null.

Default: en

Allowed values: any ISO 639-1 code (en, es, de, fr, hi, ja, ...)

{
  "hashtag": {
    "name": "coding",
    "link": "https://www.youtube.com/hashtag/coding",
    "video_count": 2000000,
    "channel_count": 314000
  },
  "type": "all",
  "count": 12,
  "videos": [
    {
      "type": "video",
      "id": "Pv3r_BxuttA",
      "title": "How I’d Learn Coding in 2026 (Without Wasting Years)",
      "link": "https://www.youtube.com/watch?v=Pv3r_BxuttA",
      "thumbnail": "https://i.ytimg.com/vi/Pv3r_BxuttA/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCcI9jkyhrJAkce6fkbbPRTTEo9Wg",
      "description": null,
      "duration_seconds": 804,
      "view_count": 262404,
      "watching_count": null,
      "published_time_text": "4 months ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCPhyA52nHlW3L6r-7sDfcyg",
        "name": "Developete",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCPhyA52nHlW3L6r-7sDfcyg",
        "thumbnail": "https://yt3.ggpht.com/DT7O_xioFBZllihmSaKnI_CSVIZlIuAURRTLwFGQNZb5910Xpx_CtsjeN6ZmemSf_VSH2camnw=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": true,
        "is_artist": false
      }
    },
    {
      "type": "video",
      "id": "CIRGjwYgdT4",
      "title": "Programming vs Coding - What's the difference?",
      "link": "https://www.youtube.com/watch?v=CIRGjwYgdT4",
      "thumbnail": "https://i.ytimg.com/vi/CIRGjwYgdT4/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA6OIaq8Hob0wY1N1iGBE2P5a-dmQ",
      "description": null,
      "duration_seconds": 359,
      "view_count": 2393867,
      "watching_count": null,
      "published_time_text": "5 years ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCRLEADhMcb8WUdnQ5_Alk7g",
        "name": "Aaron Jack",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCRLEADhMcb8WUdnQ5_Alk7g",
        "thumbnail": "https://yt3.ggpht.com/40SE9hF9oDMoGjoKDdQEG8e6HJML5c_fVP40Vfm2hMrfkvqqMYrVCyPoGXlMFFNE89rN10EQJQ=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": true,
        "is_artist": false
      }
    },
    {
      "type": "video",
      "id": "ZzaPdXTrSb8",
      "title": "C++ Tutorial for Beginners - Learn C++ in 1 Hour",
      "link": "https://www.youtube.com/watch?v=ZzaPdXTrSb8",
      "thumbnail": "https://i.ytimg.com/vi/ZzaPdXTrSb8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDu5GgcYuJDF-yOUQqMCRzXKG-Lpg",
      "description": null,
      "duration_seconds": 4976,
      "view_count": 7034181,
      "watching_count": null,
      "published_time_text": "4 years ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCWv7vMbMWH4-V0ZXdmDpPBA",
        "name": "Programming with Mosh",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCWv7vMbMWH4-V0ZXdmDpPBA",
        "thumbnail": "https://yt3.ggpht.com/HCv0fXFEEcD0HRyF0_qR1K7b7qO3KCzmIoyH1DEJYB94CIUFhIE5i2t2IDIPX97W1-DK4hegww=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": true,
        "is_artist": false
      }
    },
    {
      "type": "video",
      "id": "eIrMbAQSU34",
      "title": "Java Full Course for Beginners",
      "link": "https://www.youtube.com/watch?v=eIrMbAQSU34",
      "thumbnail": "https://i.ytimg.com/vi/eIrMbAQSU34/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBj7TobD2r1D0Hy0pTC5aL3n7kAWg",
      "description": null,
      "duration_seconds": 9048,
      "view_count": 14460945,
      "watching_count": null,
      "published_time_text": "7 years ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCWv7vMbMWH4-V0ZXdmDpPBA",
        "name": "Programming with Mosh",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCWv7vMbMWH4-V0ZXdmDpPBA",
        "thumbnail": "https://yt3.ggpht.com/HCv0fXFEEcD0HRyF0_qR1K7b7qO3KCzmIoyH1DEJYB94CIUFhIE5i2t2IDIPX97W1-DK4hegww=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": true,
        "is_artist": false
      }
    },
    {
      "type": "video",
      "id": "f5QxYxY1ync",
      "title": "How to Learn Coding Fast and Start Making Cool Stuff (No-BS Guide)",
      "link": "https://www.youtube.com/watch?v=f5QxYxY1ync",
      "thumbnail": "https://i.ytimg.com/vi/f5QxYxY1ync/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAn24Iodsi4JZNAUYzBhPMk6SZCYw",
      "description": null,
      "duration_seconds": 671,
      "view_count": 393249,
      "watching_count": null,
      "published_time_text": "9 months ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCsguRUxh-0DiryIdPPWFeCQ",
        "name": "Rise Above Reality",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCsguRUxh-0DiryIdPPWFeCQ",
        "thumbnail": "https://yt3.ggpht.com/OIrlsbaUzpMwVotdEjYotJRIZVl1D4YG7l7oYtFImsryxeKLk48CXgFOWHNiUXWYtJmPRBa7=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": true,
        "is_artist": false
      }
    },
    {
      "type": "video",
      "id": "JP9n5wHyemU",
      "title": "Making My Own Programming Language and Coding a Game in It",
      "link": "https://www.youtube.com/watch?v=JP9n5wHyemU",
      "thumbnail": "https://i.ytimg.com/vi/JP9n5wHyemU/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA9iNvuuf66jplGbS9yAR5PbfD9Jw",
      "description": null,
      "duration_seconds": 619,
      "view_count": 1646244,
      "watching_count": null,
      "published_time_text": "4 years ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCLtOpyx344v-l0kreCSUEFg",
        "name": "AstroSam",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCLtOpyx344v-l0kreCSUEFg",
        "thumbnail": "https://yt3.ggpht.com/nrnWQqknhDGk7fQmg22pYHeKTwL4nO2f5cXDu_FKjpdhzWmZ7sg1-XTYXlGsCGU1wpiqNCnY=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": true,
        "is_artist": false
      }
    },
    {
      "type": "video",
      "id": "nCZbZyyuHRg",
      "title": "How to Learn Coding FAST And Make Cool Stuff",
      "link": "https://www.youtube.com/watch?v=nCZbZyyuHRg",
      "thumbnail": "https://i.ytimg.com/vi/nCZbZyyuHRg/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCUIv4pFHVm7kf8BIN9q02LExaWxw",
      "description": null,
      "duration_seconds": 259,
      "view_count": 981574,
      "watching_count": null,
      "published_time_text": "1 year ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCZJiDye9aqg68BfMNbFS5jw",
        "name": "Eray Sona",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCZJiDye9aqg68BfMNbFS5jw",
        "thumbnail": "https://yt3.ggpht.com/e3aEzM8QQGbL_RHvwyJEuPED7riNER4mdy19EQc38qHPelYxDPecoZWEVtS2eSuAtPu73pn7=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": null,
        "is_artist": null
      }
    },
    {
      "type": "video",
      "id": "RFKqta4A6pw",
      "title": "SECRET Method to LEARN CODING FAST",
      "link": "https://www.youtube.com/watch?v=RFKqta4A6pw",
      "thumbnail": "https://i.ytimg.com/vi/RFKqta4A6pw/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCSkyBDTc4LAvXaALV-DP2JZ-Z6-g",
      "description": null,
      "duration_seconds": 715,
      "view_count": 186020,
      "watching_count": null,
      "published_time_text": "2 months ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCZaZQHs5x6kb3yXkoreKL_A",
        "name": "CynoHub",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCZaZQHs5x6kb3yXkoreKL_A",
        "thumbnail": "https://yt3.ggpht.com/E19yL9q17PVNTk9DVmD6uewQuBuUqBxsTAqNpVElr6aV2U_65gQPh17cXyLaYKX1AfNPOMllwg=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": null,
        "is_artist": null
      }
    },
    {
      "type": "video",
      "id": "AzRRFBsb-XI",
      "title": "Claude Code Complete Course (Telugu) | From Beginner to Advanced | Build Real AI Projects #coding",
      "link": "https://www.youtube.com/watch?v=AzRRFBsb-XI",
      "thumbnail": "https://i.ytimg.com/vi/AzRRFBsb-XI/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAyhs1n3P9ZscvT_9UVgkH5Q112dA",
      "description": null,
      "duration_seconds": 10187,
      "view_count": 159594,
      "watching_count": null,
      "published_time_text": "2 months ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCykgYQcHd6YSPiCl8J1sRgQ",
        "name": "codewithkg",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCykgYQcHd6YSPiCl8J1sRgQ",
        "thumbnail": "https://yt3.ggpht.com/xe8EvZTSKk4ZwwDm-BYCkM_eqF-KkvXQvFn7xt-G_c7YxKymwZc2Zu1ezcH5EwpRY6FGg9gGIsE=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": null,
        "is_artist": null
      }
    },
    {
      "type": "video",
      "id": "g1J4181W8ss",
      "title": "Coding for Kids Explained | What is Coding | Why is Coding Important",
      "link": "https://www.youtube.com/watch?v=g1J4181W8ss",
      "thumbnail": "https://i.ytimg.com/vi/g1J4181W8ss/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAbaM0W4gepu37dI80zdhJrJbuA-A",
      "description": null,
      "duration_seconds": 211,
      "view_count": 1069696,
      "watching_count": null,
      "published_time_text": "4 years ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UC1JLRsmlny2Sy9pGClYbFqg",
        "name": "CodeMonkey - Coding Games for Kids",
        "handle": null,
        "link": "https://www.youtube.com/channel/UC1JLRsmlny2Sy9pGClYbFqg",
        "thumbnail": "https://yt3.ggpht.com/ytc/AIdro_kSvdyv4fLZrhwv6Y0xTEmdG0DdMKnY1dJk6yQa6qYZo-E=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": null,
        "is_artist": null
      }
    },
    {
      "type": "video",
      "id": "niWpfRyvs2U",
      "title": "7 Programming myths that waste your time",
      "link": "https://www.youtube.com/watch?v=niWpfRyvs2U",
      "thumbnail": "https://i.ytimg.com/vi/niWpfRyvs2U/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLC3dpXD4wXePFZ1OX_jxKLcCyWZMg",
      "description": null,
      "duration_seconds": 377,
      "view_count": 1666327,
      "watching_count": null,
      "published_time_text": "1 year ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UCsBjURrPoezykLs9EqgamOA",
        "name": "Fireship",
        "handle": null,
        "link": "https://www.youtube.com/channel/UCsBjURrPoezykLs9EqgamOA",
        "thumbnail": "https://yt3.ggpht.com/3fPNbkf_xPyCleq77ZhcxyeorY97NtMHVNUbaAON_RBDH9ydL4hJkjxC8x_4mpuopkB8oI7Ct6Y=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": true,
        "is_artist": false
      }
    },
    {
      "type": "video",
      "id": "4-rzSl0TrXk",
      "title": "Coding RAYTRACING in SCRATCH!!!",
      "link": "https://www.youtube.com/watch?v=4-rzSl0TrXk",
      "thumbnail": "https://i.ytimg.com/vi/4-rzSl0TrXk/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBpjKfZD5SRlz16RVNCNQk6Zy15Ww",
      "description": null,
      "duration_seconds": 500,
      "view_count": 251685,
      "watching_count": null,
      "published_time_text": "4 days ago",
      "is_live": false,
      "is_upcoming": false,
      "scheduled_start_at": null,
      "badges": [],
      "channel": {
        "id": "UC3J0jZsuzYeqTVBmeacx4qw",
        "name": "Ravo Games",
        "handle": null,
        "link": "https://www.youtube.com/channel/UC3J0jZsuzYeqTVBmeacx4qw",
        "thumbnail": "https://yt3.ggpht.com/0JPG4r0X0h86VioihXlC-8ZDAP76M2CAy3sV2j1y0YWEa6mIAPVu2hGOAnnJmxfJDp9_zS7D=s68-c-k-c0x00ffffff-no-rj",
        "is_verified": null,
        "is_artist": null
      }
    }
  ],
  "next_cursor": null
}