← All endpoints / fact

πŸ’‘GET /fact

Random fun fact.

curl -s "https://freeforagents.dev/fact"
const res = await fetch("https://freeforagents.dev/fact");
const data = await res.json();
console.log(data);
import requests

print(requests.get("https://freeforagents.dev/fact").json())

GET /fact

Random fun fact.

Free, zero-auth JSON API served by FreeForAgents. No API key, no signup. All responses include ok, the payload fields shown below, and a docs URL. CORS is fully open (Access-Control-Allow-Origin: *).

Parameters

This endpoint takes no query parameters.

Example request

curl -s "https://freeforagents.dev/fact"

Example response

{
  "ok": true,
  "docs": "https://freeforagents.dev/docs/fact.md",
  "id": 1,
  "fact": "Octopuses have three hearts and blue blood."
}

See also