Unsplash Get Random Photo Example
Unsplash Get Random Photo Example is an example object payload from Unsplash, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
Example Payload
{
"request": {
"method": "GET",
"url": "https://api.unsplash.com/photos/random?orientation=landscape&content_filter=high",
"headers": {
"Authorization": "Client-ID YOUR_ACCESS_KEY",
"Accept-Version": "v1"
}
},
"response": {
"status": 200,
"body": {
"id": "gKXKBY-C-Dk",
"created_at": "2018-05-07T18:42:02Z",
"updated_at": "2023-04-30T00:01:04Z",
"width": 5184,
"height": 3456,
"color": "#262626",
"blur_hash": "LhI}H]M{RjWX~Wt6IUWC%Mt7ofj=",
"description": "Aerial view of mountains",
"alt_description": "aerial photography of mountains",
"likes": 931,
"downloads": 73450,
"urls": {
"raw": "https://images.unsplash.com/photo-1525715843408-5c6ec44a00b5",
"full": "https://images.unsplash.com/photo-1525715843408-5c6ec44a00b5?q=85&fm=jpg&crop=entropy&cs=srgb",
"regular": "https://images.unsplash.com/photo-1525715843408-5c6ec44a00b5?w=1080&q=80",
"small": "https://images.unsplash.com/photo-1525715843408-5c6ec44a00b5?w=400&q=80",
"thumb": "https://images.unsplash.com/photo-1525715843408-5c6ec44a00b5?w=200&q=80"
},
"links": {
"self": "https://api.unsplash.com/photos/gKXKBY-C-Dk",
"html": "https://unsplash.com/photos/gKXKBY-C-Dk",
"download": "https://unsplash.com/photos/gKXKBY-C-Dk/download",
"download_location": "https://api.unsplash.com/photos/gKXKBY-C-Dk/download"
},
"user": {
"id": "IFcEhJqem0Q",
"username": "marekpiwnicki",
"name": "Marek Piwnicki",
"total_photos": 567,
"total_likes": 12045,
"total_collections": 3
}
}
}
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/examples/unsplash-get-random-photo-example"
curl "https://apis.io/api/v1/examples?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.