How to Filter by Media Quality and Social-Ready Images
Find articles with large images or images sized for social posts
Written by Beatrice Riddick
June 26, 2026
Updated October 16, 2026
How to filter by media quality and social-ready images
Add has_hq_images=1 to find articles with an image at least 1200 pixels wide. Other media filters let you choose larger images, social preview sizes or articles with both images and video.
curl "https://api.apitube.io/v1/news/everything?has_hq_images=1&api_key=YOUR_API_KEY"
You can also send your key in the X-API-Key header. These filters work on /v1/news/everything, /v1/news/top-headlines and /v1/news/count.
How to filter by image resolution
Choose a minimum width:
has_hq_images=1: 1200 pixels.has_fullhd_images=1: 1920 pixels.has_4k_images=1: 3840 pixels.
For example, require a 4K-width image:
curl "https://api.apitube.io/v1/news/everything?has_4k_images=1&api_key=YOUR_API_KEY"
has_mobile_optimized_images=1 selects articles whose largest image is between 320 and 800 pixels wide. It does not resize or compress an image.
What does is_media_rich actually require?
is_media_rich=1 requires at least one image and at least one video in the same article:
curl "https://api.apitube.io/v1/news/everything?is_media_rich=1&api_key=YOUR_API_KEY"
For images alone, use has_image=1. For videos alone, use has_video=1. To set a minimum number, use media.images.count.min or media.videos.count.min.
How to find Instagram- and Twitter-ready images
These flags check image dimensions:
is_instagram_ready=1: at least 1080 pixels wide, with an approximately square or portrait shape.is_twitter_card_ready=1: at least 800 pixels wide, with landscape dimensions.has_social_share_image=1: image dimensions reaching at least 1200 pixels wide and 630 pixels high.
For articles with a social preview image, newest first:
curl "https://api.apitube.io/v1/news/everything?has_social_share_image=1&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"
Check the image you plan to use before publishing it. These flags do not crop images or grant permission to reuse them.
How to set exact image dimensions and counts
Use media.images.count for an exact count, or add .min and .max for a range. Width and height filters also accept minimum and maximum bounds:
curl "https://api.apitube.io/v1/news/everything?media.images.count.min=2&media.images.width.min=1200&media.images.height.min=630&api_key=YOUR_API_KEY"
This requires at least two images, with minimum recorded dimensions of 1200 by 630 pixels. has_multiple_images=1 requires two or more images. is_landscape_media=1 and is_portrait_media=1 select by image shape. has_thumbnail=1 requires an image no wider than 300 pixels.
What values do the media filters accept?
Flags accept 0 or 1. For the resolution and social-image flags, 1 applies the condition and 0 leaves that filter off. Numeric count and size parameters take non-negative values.
Invalid values return HTTP 400. For example, has_4k_images=2 returns ER0254; an invalid is_media_rich value returns ER0233.
Combine image requirements with source political bias, language or category. See the News API parameters reference for all media filters.
Common Questions
- Does is_media_rich mean “has many images”?
- Which pixel widths do the resolution flags use?
- Can I combine media filters with other filters?
- What happens if I pass an invalid value?
Does is_media_rich mean “has many images”?
No. It requires both an image and a video. An article with ten photos and no video will not match.
Which pixel widths do the resolution flags use?
The minimum widths are 1200 pixels for has_hq_images, 1920 for has_fullhd_images and 3840 for has_4k_images.
Can I combine media filters with other filters?
Yes. For example, combine an image requirement with reading time to find illustrated articles that take only a few minutes to read.
What happens if I pass an invalid value?
The API returns HTTP 400 with an error code identifying the parameter. Correct the value before retrying.