Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7902589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:32:23+00:00 2026-06-03T09:32:23+00:00

Is there a YouTube GData API parameter for a query that will only return

  • 0

Is there a YouTube GData API parameter for a query that will only return entries with a minimum and/or a maximum given duration?
I’ve found the “duration” parameter but it only accepts the values “short”, “medium”, and “long”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:32:25+00:00Added an answer on June 3, 2026 at 9:32 am

    Ok, found it!

    You need to integrate such query conditions into the fields parameter, which operates on a syntax similar to xpath:

    http://gdata.youtube.com/feeds/api/videos?fields=entry[*videoVariable* operator *value*]
    

    So for what I was looking for, the fields parameter value would have been:

    entry[media:group/yt:duration/@seconds > *min_value* and media:group/yt:duration/@seconds < *max_value*]
    

    https://developers.google.com/youtube/2.0/developers_guide_protocol_partial

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there any tutorial for uploling video in youtube using GData API. i want
One of the successful load is like that: http://gdata.youtube.com/feeds/api/videos/N7m86aMNjlQ?callback=jsonp1335008664824&alt=json-in-script However, when the video is
Is there a definitive gem for the YouTube API? I'm trying to use youtube_g,
I'm playing with YouTube API. Using the following URL: https://gdata.youtube.com/feeds/api/users/RayWilliamJohnson/uploads , how do I
I am using google's GData API in order to upload a video to youtube
I need to fetch the playlist for specific username. [NSString stringWithFormat:@http://gdata.youtube.com/feeds/api/users/%@/playlists?alt=json&v=2&orderby=published&client=ytapi-youtube-profile,strUserName]; I use the
Is there any way to search playlists on youtube using gdata-python-client? As for documentation
I am using YouTube's api to load current data of videos that users share
I'm just starting with the Youtube API and I'm facing something that I cannot
How do really Iphone run youtube clip, which I know there's no support .Flv

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.