Wallwidgy API
Access thousands of high-quality wallpapers programmatically with our simple REST API
Quick Start
Get started with a simple GET request to retrieve random wallpapers:
curl https://wallwidgy.vercel.app/api/wallpapersLive API: The API is now live and ready to use! No authentication required.
Features
Random Selection
Get randomized wallpapers on each request for variety and discovery.
Category Filtering
Filter by categories like nature, minimal, abstract, and more.
Device Optimization
Get desktop or mobile optimized wallpapers based on your needs.
CORS Enabled
Use from any domain - perfect for web apps and browser extensions.
Endpoints
/api/wallpapersRetrieve random wallpapers with optional filtering parameters.
Query Parameters
typeOptional
categoryOptional
colorOptional
countOptional
Examples
Get a Random Wallpaper
curl https://wallwidgy.vercel.app/api/wallpapersResponse:
{
"wallpapers": [
"https://wallwidgy.vercel.app/wallpapers/nature/mountain-sunset.jpg"
],
"count": 1,
"category": "all",
"type": "all",
"color": "all"
}Get Desktop Wallpapers
curl https://wallwidgy.vercel.app/api/wallpapers?type=desktop&count=3Get Wallpapers by Category
curl https://wallwidgy.vercel.app/api/wallpapers?category=minimal&count=2Get Wallpapers by Color
curl https://wallwidgy.vercel.app/api/wallpapers?color=blue&count=3Filter wallpapers by primary or secondary colors. Common colors include:blueredgreenpurplepinkblackwhiteand more.
Combine Multiple Filters
curl https://wallwidgy.vercel.app/api/wallpapers?category=art&type=desktop&color=purple&count=4You can combine category, type, color, and count parameters for precise filtering.
JavaScript/Fetch Example
fetch('https://wallwidgy.vercel.app/api/wallpapers?type=mobile&count=5')
.then(response => response.json())
.then(data => {
console.log('Wallpapers:', data.wallpapers);
// Use the wallpaper URLs
data.wallpapers.forEach(url => {
console.log('Wallpaper URL:', url);
});
})
.catch(error => console.error('Error:', error));Available Categories
Current categories available in our wallpaper collection:
abstractanimearchitectureartcarsminimalnaturetechNote: Categories are based on folder structure in /public/wallpapers/
Available Colors
Filter wallpapers by their primary or secondary colors. Here are the most common colors available:
blueredgreenpurplepinkorangeyellowcyanblackwhitegraybrowngoldsilvercrimsonnavytealvioletmagentaazurelimetancorallavenderTip: Colors are matched against both primary and secondary color data from our wallpaper index. Try specific color names for best results!
Usage Guidelines
Fair Usage
- • No authentication required
- • Please be respectful with request frequency
- • Maximum 10 wallpapers per request
- • All wallpapers are for personal use
Attribution
- • Attribution is appreciated but not required
- • Link back to wallwidgy.vercel.app
- • Respect copyright of original creators
- • Report any issues via GitHub
Ready to integrate?
Start using the Wallwidgy API in your projects today. No registration required.