GET /api/random-wallpaper
Retrieve a single random wallpaper from WallWidgy’s collection. You can filter by device type (desktop/mobile), category, or color to get wallpapers that match your specific needs.Query parameters
Filter by device type. Accepts
desktop or mobile. Desktop wallpapers have landscape orientation, while mobile wallpapers have portrait orientation.Filter by category name. Categories are extracted from wallpaper filenames (e.g.,
nature, abstract, space).Filter by primary or secondary color. Use lowercase color names (e.g.,
blue, red, green).Number of random wallpapers to return. Must be between 1 and 10. Defaults to 1.
Response
Number of wallpapers returned in the response
The category filter applied, or
all if no filter was usedThe device type filter applied, or
all if no filter was usedThe color filter applied, or
all if no filter was usedError responses
Error message describing what went wrong