No authentication required
The WallWidgy API is fully public and requires no authentication. You can make requests directly from any application without API keys, tokens, or credentials. This design makes it easy to:- Quickly prototype and test API endpoints
- Build client-side applications without backend proxies
- Access wallpapers from any environment
- Share API endpoints with collaborators
While no authentication is required, please follow our fair usage guidelines to ensure the API remains available for everyone.
CORS support
The API is CORS-enabled with permissive headers, allowing you to make requests from any origin. This means you can call the API directly from web browsers, including:- Single-page applications (SPAs)
- Browser extensions
- Mobile web apps
- Static websites
Browser example
You can fetch wallpapers directly from client-side JavaScript:The API only supports
GET requests. Preflight OPTIONS requests are handled automatically for CORS compatibility.Fair usage guidelines
Since the API is public and requires no authentication, we rely on the community to use it responsibly:- Cache responses when possible to reduce redundant requests
- Respect rate limits as described in our rate limits documentation
- Use appropriate count parameters—don’t request more wallpapers than you need
- Implement exponential backoff if you receive errors
Caching recommendations
To reduce load on the API and improve your application’s performance:- Cache wallpaper URLs for a reasonable time period (e.g., 1 hour to 24 hours)
- Store category and color lists since they change infrequently
- Implement client-side caching using browser storage or application state
Error handling
Always implement proper error handling in your applications:Best practices
Follow these best practices when using the WallWidgy API:Next steps
Rate limits
Learn about fair usage and limits
Endpoints
Explore available API endpoints