Skip to content

Useless Facts API

3 endpointsEntertainment & BooksGlobalsocial:read2 real examples

Returns a random useless fact or the useless fact of the day.

View as Markdown
GET/uselessfacts/randomA random useless fact.
GET/uselessfacts/todayThe useless fact of the day, the same for everyone until midnight UTC.
GET/uselessfacts/factOne useless fact by its id, such as one kept from an earlier random or today call.

random

GET/v1/uselessfacts/random

A random useless fact.

scope social:read1 unit

Parameters

lang
string
Language of the fact: en or de.
ende
default en
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

6 fields
idstring
languagestring
sourcestring
sourceUrlstring
textstring
urlstring
curl "https://api.hoshime.com/v1/uselessfacts/random" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "id": "322f8c79385bb70d6e4893dff2c70dd1",
    "language": "en",
    "source": "djtech.net",
    "sourceUrl": "https://www.djtech.net/humor/shorty_useless_facts.htm",
    "text": "Marilyn Monroe had six toes.",
    "url": "https://uselessfacts.jsph.pl/api/v2/facts/322f8c79385bb70d6e4893dff2c70dd1"
  },
  "meta": {
    "cached": false,
    "endpoint": "random",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "uselessfacts",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

today

GET/v1/uselessfacts/today

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

scope social:read1 unitcached 30 min

Parameters

lang
string
Language of the fact: en or de.
ende
default en
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

6 fields
idstring
languagestring
sourcestring
sourceUrlstring
textstring
urlstring
curl "https://api.hoshime.com/v1/uselessfacts/today" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "id": "9c6a18ea93b2fd1b693f282697ff6b58",
    "language": "en",
    "source": "djtech.net",
    "sourceUrl": "https://www.djtech.net/humor/shorty_useless_facts.htm",
    "text": "Adolf Hitler's mother seriously considered having an abortion but was talked out of it by her doctor.",
    "url": "https://uselessfacts.jsph.pl/api/v2/facts/9c6a18ea93b2fd1b693f282697ff6b58"
  },
  "meta": {
    "cached": false,
    "endpoint": "today",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "uselessfacts",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

fact

GET/v1/uselessfacts/fact

One useless fact by its id, such as one kept from an earlier random or today call.

scope social:read1 unit

Parameters

id
string
required
The fact id: the last part of its permalink, such as 26ce38f50c4bd0d6e36c1f011ebac02d.
e.g. 26ce38f50c4bd0d6e36c1f011ebac02d
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

6 fields
idstring
languagestring
sourcestring
sourceUrlstring
textstring
urlstring
curl "https://api.hoshime.com/v1/uselessfacts/fact?id=26ce38f50c4bd0d6e36c1f011ebac02d" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "id": "abc123",
    "language": "…",
    "source": "…",
    "sourceUrl": "https://…",
    "text": "…",
    "url": "https://…"
  },
  "meta": {
    "cached": false,
    "endpoint": "fact",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "uselessfacts",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open