Wallpapers.
Wallhaven provides a REST API (v1) offering GET access to its wallpaper platform via URL-based requests. It supports retrieving individual wallpaper details by ID, including metadata such as resolution, file size, file type, category, purity rating, colors, tags, and thumbnail/full-size image URLs.
The API includes a search and listing endpoint supporting the same parameters as the site's web search: tag-based queries (fuzzy, exact, exclude, combined), filtering by category, purity, resolution, aspect ratio, and color, plus sorting by date added, relevance, random, views, favorites, or toplist ranking. Results are paginated at 24 per page, and random sorts can use a seed to avoid repeats across pages. Additional endpoints cover tag information lookup, authenticated user settings retrieval, and browsing a user's wallpaper collections (public collections for any user, or private collections for the authenticated user).
Access to NSFW content and to a user's personal settings or private collections requires an API key generated from account settings, which can be regenerated at any time. The API is intended for developers building applications or integrations that need programmatic access to Wallhaven's wallpaper search, metadata, and user collection data.
Basic search and wallpaper info requests work without a key, but an API key from account settings is needed to access NSFW content, user settings, and private collections.
The API returns JSON data via GET requests over URLs, such as wallpaper metadata, search listings with pagination, tag info, user settings, and collections.
Yes, search listings are limited to 24 results per page, with pagination metadata included in each response.
Yes, the search API supports filtering wallpapers by specific hex color values.
It is for developers who want to programmatically search, retrieve, and browse wallpapers, tags, and user collections from wallhaven.cc.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Stock Photos and Videos.
Image management solutions like optimization, manipulation, hosting.
Compress, convert, and optimize images automatically with adaptive AI tuning.
Generate images and PDFs with a simple API. Design in a Canva-like editor and render images with code.
Photography.
Images.