Fair usage policy
The WallWidgy API is free and public, requiring no authentication. We trust developers to use the API responsibly and sustainably. Our fair usage policy is designed to:- Ensure the API remains available and performant for everyone
- Prevent abuse and excessive resource consumption
- Encourage efficient API usage patterns
There are no hard rate limits currently enforced, but we monitor usage patterns and may implement restrictions if needed to protect service quality.
Count parameter limits
Most API endpoints accept acount parameter to specify how many wallpapers to retrieve. This parameter has the following constraints:
Wallpapers endpoint
Maximum count: 10 wallpapers per requestcount parameter:
- Minimum: 1
- Maximum: 10
- Default: 1 (when not specified)
Random wallpaper endpoint
The/api/random-wallpaper endpoint returns a single wallpaper and does not accept a count parameter. Use /api/wallpapers?count=N if you need multiple wallpapers.
Request best practices
Follow these guidelines to use the API efficiently:1. Request only what you need
Don’t request more wallpapers than your application will display:2. Implement caching
Cache API responses to avoid redundant requests:3. Use filters to reduce results
Filter wallpapers by type, category, or color to get exactly what you need:4. Implement exponential backoff
If you receive errors, implement exponential backoff before retrying:Response times
The API typically responds within:- Wallpapers endpoint: 200-500ms
- Colors endpoint: 300-800ms (fetches from GitHub)
- Random wallpaper: 200-400ms
- Network latency
- Server load
- Number of wallpapers requested
- Filter complexity
Future rate limits
While there are no enforced rate limits currently, we reserve the right to implement restrictions if usage patterns indicate abuse. Potential future limits may include:- Requests per minute: Maximum requests from a single IP
- Requests per hour: Longer-term usage caps
- Bandwidth limits: Restrictions on data transfer
What counts as fair usage?
Fair usage means:✓ Reasonable request frequency
✓ Reasonable request frequency
Making requests only when needed by your application, not continuously polling the API.
✓ Appropriate count parameters
✓ Appropriate count parameters
Requesting only the number of wallpapers your application will display or use.
✓ Response caching
✓ Response caching
Caching API responses to avoid redundant requests for the same data.
✓ Error handling
✓ Error handling
Implementing proper error handling and backoff strategies instead of rapid retries.
What is considered abuse?
The following patterns may be considered abusive: If you have a use case requiring higher limits, please contact the project maintainers to discuss options.Monitoring your usage
To ensure you’re using the API fairly:- Log your API calls during development to understand usage patterns
- Monitor response times to ensure you’re not overwhelming the API
- Track cache hit rates to verify caching is working effectively
- Review error rates to identify potential issues
Next steps
API overview
Learn about the API and available endpoints
Examples
See complete implementation examples