娯
ZenQuotes API
3 endpointsEntertainment & BooksGlobalsocial:read3 real examples
Returns a random quote, the quote of the day, and the latest batch of quotes optionally filtered by author.
View as Markdown| GET | /zenquotes/random | A random quote. |
| GET | /zenquotes/today | The quote of the day, the same for everyone until midnight UTC. |
| GET | /zenquotes/quotes | The latest batch of about fifty quotes, optionally only by authors whose name contains a text. |
random
GET
/v1/zenquotes/randomA random quote.
scope social:read1 unit
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
author | string |
date | string |
text | string |
curl "https://api.hoshime.com/v1/zenquotes/random" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/zenquotes/random", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/zenquotes/random", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": "Orison Swett Marden", "date": "", "text": "There is no medicine like hope, no incentive so great, and no tonic so powerful as expectation of something tomorrow." }, "meta": { "cached": false, "endpoint": "random", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "zenquotes", "requestId": "req_2Xb9kQ…", "units": 1 } }
today
GET
/v1/zenquotes/todayThe quote of the day, the same for everyone until midnight UTC.
scope social:read1 unitcached 30 min
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
author | string |
date | string |
text | string |
curl "https://api.hoshime.com/v1/zenquotes/today" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/zenquotes/today", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/zenquotes/today", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": "Robert Kiyosaki", "date": "2026-11-06", "text": "Your mind is infinite, it's your doubts that are limiting." }, "meta": { "cached": false, "endpoint": "today", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "zenquotes", "requestId": "req_2Xb9kQ…", "units": 1 } }
quotes
GET
/v1/zenquotes/quotesThe latest batch of about fifty quotes, optionally only by authors whose name contains a text.
scope social:read1 unitcached 1 hpaginated
Parameters
authorstring | Text the author's name contains, such as Einstein. Case does not matter. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
author | string |
length | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/zenquotes/quotes" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/zenquotes/quotes", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/zenquotes/quotes", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "Celestine Chua", "length": 127, "text": "Rather than waste time and energy worrying, use that time and energy to constructively deal with whatever is causing the worry." }, { "author": "Charles Dickens", "length": 84, "text": "There is nothing in the world so irresistibly contagious as laughter and good humor." } ], "meta": { "cached": false, "endpoint": "quotes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "zenquotes", "requestId": "req_2Xb9kQ…", "units": 1 } }