/v1/today
Fact of the day
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/uselessfacts-api/v1/today" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/uselessfacts-api/v1/today", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/uselessfacts-api/v1/today");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/uselessfacts-api/v1/today",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"fact": {
"id": "9decf420a079ab676d06a7101f34a9c8",
"text": "Laredo, Texas is the U.S.'s farthest inland port.",
"source": "djtech.net",
"language": "en",
"permalink": "https://uselessfacts.jsph.pl/api/v2/facts/9decf420a079ab676d06a7101f34a9c8",
"source_url": "https://www.djtech.net/humor/shorty_useless_facts.htm"
}
},
"meta": {
"timestamp": "2026-06-08T09:48:45.751Z",
"request_id": "2775b6d0-27f5-4c85-96ed-2f8d55252194"
},
"status": "ok",
"message": "Fact of the day retrieved successfully",
"success": true
}