<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa" -->

---
title: How to get video details from YouTube with .NET Core 3
description: A step-by-step walkthrough shows how to retrieve details for a single YouTube video using .NET Core 3 and the Google.Apis.YouTube.v3 NuGet package. It covers...
canonical: https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to get video details from YouTube with .NET Core 3 | daily.dev
og:description: A step-by-step walkthrough shows how to retrieve details for a single YouTube video using .NET Core 3 and the Google.Apis.YouTube.v3 NuGet package. It covers...
og:url: https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa
og:image: https://api.daily.dev/og/posts/GT4qH4EAa.png
og:image:alt: How to get video details from YouTube with .NET Core 3
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to get video details from YouTube with .NET Core 3

**[Code4IT](https://daily.dev/sources/code4it)** · 4 min read · 0 upvotes · 0 comments

## Summary

A step-by-step walkthrough shows how to retrieve details for a single YouTube video using .NET Core 3 and the Google.Apis.YouTube.v3 NuGet package. It covers setting up the YouTube service with an API key, using the Videos.List endpoint with a video ID to fetch snippet data, and mapping the response into a custom YouTubeVideoDetails class containing title, description, channel title, and publication date. A full working example is linked on GitHub.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.code4it.dev/blog/get-youtube-video-details-dotnet>

## Questions this post answers

### How do I get video details like title and description from the YouTube Data API in .NET Core 3?

Use the Google.Apis.YouTube.v3 NuGet package to call youtubeService.Videos.List("snippet") with the video's ID set on the request, then await ExecuteAsync() and read the first item's Snippet properties (Description, Title, ChannelTitle, PublishedAt) to populate a custom result object.

_Browse daily.dev for more walkthroughs on wiring up third-party APIs like YouTube's in .NET._

### How do I extract a YouTube video ID from its URL for use with the API?

The video ID is the value of the 'v' query parameter in a standard YouTube watch URL; for example, in https://www.youtube.com/watch?v=CzvQxQYKO88 the ID is CzvQxQYKO88. This ID is what gets assigned to the Videos.List request's Id property when querying the YouTube Data API.

_Find more practical API integration tips on daily.dev when working with external services._

## Similar posts on daily.dev

- [Master Web Scraping in .NET: Extract Data from Any Website](https://daily.dev/posts/master-web-scraping-in-net-extract-data-from-any-website-lmciw0yik) · We Are .NET · 0 upvotes · 0 comments
- [Getting started with the GitHub Copilot SDK in .NET](https://daily.dev/posts/getting-started-with-the-github-copilot-sdk-in-net-pbloribh7) · The Art of Simplicity · 3 upvotes · 0 comments
- [Today I will… Modernize a .NET application](https://daily.dev/posts/today-i-will-modernize-a-net-application-tudws7rd9) · Visual Studio Blog · 4 upvotes · 0 comments
- [Web Scraping for Beginners 2026](https://daily.dev/posts/web-scraping-for-beginners-2026-9ftlarohe) · freeCodeCamp · 3 upvotes · 0 comments

---

Tags: [#.net](https://daily.dev/tags/.net), [#c#](https://daily.dev/tags/c#)

[View this post on daily.dev](https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to get video details from YouTube with .NET Core 3","url":"https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa"},"datePublished":"2026-10-04T13:05:42.827Z","dateModified":"2026-10-04T13:12:13.226Z","description":"A step-by-step walkthrough shows how to retrieve details for a single YouTube video using .NET Core 3 and the Google.Apis.YouTube.v3 NuGet package. It covers...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c397cc68cd1db666a722514c96cf57fd?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c397cc68cd1db666a722514c96cf57fd?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Code4IT","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Code4IT","logo":"https://media.daily.dev/image/upload/s--OaaG4G10--/f_auto,q_auto/v1791119049/logos/code4it?_a=BAMAMicg0","url":"https://daily.dev/sources/code4it"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":".net,c#","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Code4IT","item":"https://daily.dev/sources/code4it"},{"@type":"ListItem","position":3,"name":"How to get video details from YouTube with .NET Core 3"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-get-video-details-from-youtube-with-net-core-3-gt4qh4eaa#faq","mainEntity":[{"@type":"Question","name":"How do I get video details like title and description from the YouTube Data API in .NET Core 3?","acceptedAnswer":{"@type":"Answer","text":"Use the Google.Apis.YouTube.v3 NuGet package to call youtubeService.Videos.List(\"snippet\") with the video's ID set on the request, then await ExecuteAsync() and read the first item's Snippet properties (Description, Title, ChannelTitle, PublishedAt) to populate a custom result object. Browse daily.dev for more walkthroughs on wiring up third-party APIs like YouTube's in .NET."}},{"@type":"Question","name":"How do I extract a YouTube video ID from its URL for use with the API?","acceptedAnswer":{"@type":"Answer","text":"The video ID is the value of the 'v' query parameter in a standard YouTube watch URL; for example, in https://www.youtube.com/watch?v=CzvQxQYKO88 the ID is CzvQxQYKO88. This ID is what gets assigned to the Videos.List request's Id property when querying the YouTube Data API. Find more practical API integration tips on daily.dev when working with external services."}}]}
```

