Look up a video by URL or ID

YouTube Video Details API

Use the YouTube Video Details API to get the public metadata for a video you already have. Turn a YouTube link or 11-character video ID into a record you can add to a content library.

1 credit per successful request, empty results and failures are free.

POSTExample response
https://api.goanyapi.com/api/v1/youtube/video/detail
Visual

Run a request to see the visual result

The response is organized into metrics, lists and tables that match the JSON on the right.

Run a request to see the response here

Fill in the demo parameters to preview an example response for free. Sign in to send live requests with your own parameters.

Fill in a video record from a link

Save the video ID with the title, description, and publishing channel. Where available, use the publish date and duration to help editors sort the videos they have collected.

Read the saved video details

The saved How I Built This example gives data.result.duration as 5,239 seconds and data.result.channel.name as the channel display name. It also shows data.result.viewCount as a number and data.result.likeCount as the display text “1.1K”.

Metadata availability and credits

A video can return metadata even when it is unavailable for playback. Optional fields can be empty or missing. A successful lookup with a result uses the current configured rate. Empty results and failed queries use no credits.