Lorem Picsum API
- Status
- Working
- API key
- Not needed
- Browser calls
- Runs in the browser
- Latency
- 380 ms
- Docs
- picsum.photos ↗
Build snapshot, not live. One verifier run on , from the machine that built this site. How we check
Example request
GEThttps://picsum.photos/id/237/info
Sent from your browser straight to picsum.photos. No proxy: this site never sees the request or the answer.
Copy the request
curl -s 'https://picsum.photos/id/237/info'const res = await fetch("https://picsum.photos/id/237/info");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);import requests
res = requests.get("https://picsum.photos/id/237/info", timeout=10)
res.raise_for_status()
print(res.json())Response stored by the verifier
This is what picsum.photos answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.
{
"id": "237",
"author": "André Spieker",
"width": 3500,
"height": 2095,
"url": "https://unsplash.com/photos/8wTPqxlnKM4",
"download_url": "https://picsum.photos/id/237/3500/2095"
}Availability
Up 1 of 1 day checked · 30-day window
What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "author".
Last check: — passed, HTTP 200 in 380 ms.
The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.
Used in these collections
Questions
Does the Lorem Picsum API need an API key?
No. The sample request on this page was answered without a key, token or account.
Can I call the Lorem Picsum API from the browser?
Yes. picsum.photos answered our verifier with an Access-Control-Allow-Origin header on Oct 3, 2026, so a fetch call from a web page can read the response.
Is the Lorem Picsum API working?
At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 380 ms. The status at the top of this page shows the most recent result we have.
What is the Lorem Picsum API good for?
Placeholder photos by size or id, and metadata about each photo. It is part of our collection "Free APIs for mock and test data": Placeholder photos at any size.