ZenQuotes API
- Status
- Working
- API key
- Not needed
- Browser calls
- Server only
- Latency
- 354 ms
Build snapshot, not live. One verifier run on , from the machine that built this site. How we check
Example request
GEThttps://zenquotes.io/api/random
Copy the request
curl -s 'https://zenquotes.io/api/random'const res = await fetch("https://zenquotes.io/api/random");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);import requests
res = requests.get("https://zenquotes.io/api/random", timeout=10)
res.raise_for_status()
print(res.json())Response stored by the verifier
This is what zenquotes.io 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.
[
{
"q": "Age is a very high price to pay for maturity.",
"a": "William James",
"h": "<blockquote>“Age is a very high price to pay for maturity.” — <footer>William James</footer></block..."
}
]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 body must be a JSON array with at least one item.
Last check: — passed, HTTP 200 in 354 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.
Questions
Does the ZenQuotes API need an API key?
No. The sample request on this page was answered without a key, token or account. Note: The free tier requires attribution to zenquotes.io.
Can I call the ZenQuotes API from the browser?
Not directly. zenquotes.io did not send an Access-Control-Allow-Origin header to our verifier on Oct 3, 2026, so browsers block the response. Call it from a server or a serverless function.
Is the ZenQuotes API working?
At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 354 ms. The status at the top of this page shows the most recent result we have.