娯
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/random | A random useless fact. |
| GET | /uselessfacts/today | The useless fact of the day, the same for everyone until midnight UTC. |
| GET | /uselessfacts/fact | One useless fact by its id, such as one kept from an earlier random or today call. |
random
GET
/v1/uselessfacts/randomA random useless fact.
scope social:read1 unit
Parameters
langstring | Language of the fact: en or de.endedefault en |
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
6 fields
id | string |
language | string |
source | string |
sourceUrl | string |
text | string |
url | string |
curl "https://api.hoshime.com/v1/uselessfacts/random" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/uselessfacts/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/uselessfacts/random", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/todayThe useless fact of the day, the same for everyone until midnight UTC.
scope social:read1 unitcached 30 min
Parameters
langstring | Language of the fact: en or de.endedefault en |
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
6 fields
id | string |
language | string |
source | string |
sourceUrl | string |
text | string |
url | string |
curl "https://api.hoshime.com/v1/uselessfacts/today" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/uselessfacts/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/uselessfacts/today", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/factOne useless fact by its id, such as one kept from an earlier random or today call.
scope social:read1 unit
Parameters
idstring required | The fact id: the last part of its permalink, such as 26ce38f50c4bd0d6e36c1f011ebac02d. e.g. 26ce38f50c4bd0d6e36c1f011ebac02d |
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
6 fields
id | string |
language | string |
source | string |
sourceUrl | string |
text | string |
url | string |
curl "https://api.hoshime.com/v1/uselessfacts/fact?id=26ce38f50c4bd0d6e36c1f011ebac02d" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/uselessfacts/fact?id=26ce38f50c4bd0d6e36c1f011ebac02d", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/uselessfacts/fact?id=26ce38f50c4bd0d6e36c1f011ebac02d", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }