Overview
The WallWidgy API allows you to combine multiple filters to narrow down your wallpaper results. You can filter by category, color, device type, and control the number of results returned.Available query parameters
All filters are optional and can be combined:category- Filter by wallpaper category (anime, art, nature, etc.)color- Filter by primary or secondary colortype- Filter by device type (desktop or mobile)count- Number of random wallpapers to return (1-10, default: 1)
Basic filtering
Single filter examples
Combining multiple filters
Category + device type
Get mobile wallpapers from a specific category:Category + color
Find wallpapers in a specific category with a certain color:Color + device type
Get desktop wallpapers with a specific color:Triple and quad filtering
Category + color + device type
All filters combined
Response structure
When you combine filters, the API returns:The API returns the actual filter values applied in the response, making it easy to verify which filters were used.
Filter behavior
Filter precedence
Filters are applied in this order:- Category filter (if specified)
- Color filter (if specified)
- Device type filter (if specified)
- Random selection based on count
Empty results
If no wallpapers match your filter combination, you’ll receive a 404 error:Fallback behavior
If a device type filter returns no results, the API falls back to showing all types within the other filters (category and color).Best practices
- Start broad, then narrow - Begin with one or two filters, then add more
- Check response count - The API tells you how many wallpapers matched
- Use valid values - See the categories and colors guides for valid values
- URL encode parameters - Always encode special characters in URLs