Skip to content

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/randomA random quote.
GET/zenquotes/todayThe quote of the day, the same for everyone until midnight UTC.
GET/zenquotes/quotesThe latest batch of about fifty quotes, optionally only by authors whose name contains a text.

random

GET/v1/zenquotes/random

A random quote.

scope social:read1 unit

Parameters

tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
datestring
textstring
curl "https://api.hoshime.com/v1/zenquotes/random" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/today

The quote of the day, the same for everyone until midnight UTC.

scope social:read1 unitcached 30 min

Parameters

tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
datestring
textstring
curl "https://api.hoshime.com/v1/zenquotes/today" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/quotes

The latest batch of about fifty quotes, optionally only by authors whose name contains a text.

scope social:read1 unitcached 1 hpaginated

Parameters

author
string
Text the author's name contains, such as Einstein. Case does not matter.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
lengthinteger (int64)
textstring
curl "https://api.hoshime.com/v1/zenquotes/quotes" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open