Developer API Reference
Integrate Glass Gallery images into your own applications, creative projects, or websites. Our public REST API is completely free and requires no authentication for read-only access.
API Capabilities
- Random Image Retrieval: Fetch curated wallpapers and high-resolution images on demand.
- Direct Embeds: Use standard
<img src="/api/images?action=render">without client-side scripts. - Rich Metadata: Detailed EXIF, camera, tags, licensing, and photographer attribution.
- High Availability: Fast global CDN edge delivery with zero rate limits for standard usage.
GET
Random Images Endpoint
/api/random
Fetches a random set of photographs from the gallery, optionally filtered by keyword or subject.
GET
Single Image Metadata
/api/images?action=get_single&imageId={id}
Fetches complete metadata for an individual image by its unique ID, including title, tags, photographer, license, and download links.
Direct HTML Image Embed
/api/images?action=render
Embed high-quality photos directly onto any external webpage. This endpoint issues an HTTP 302 redirect directly to the optimized CDN image URL.
| Parameter | Type | Description |
|---|---|---|
imageId |
string | Specific unique image ID to render |
category |
string | Category filter (e.g. Space, Wallpaper, Anime, Nature) |
format |
string | Set to "json" for JSON response instead of 302 redirect |