Affirmations.dev
Random positive affirmation as tiny JSON
affirmations.dev returns a single uplifting affirmation per request in a one-field JSON body. No key, CORS-open, and about as simple as an API gets — a friendly hello-world fetch or a daily-motivation widget.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗
On our probe schedule. Uptime charts appear after the first check lands.
GET https://www.affirmations.dev/
{
"affirmation": "Nothing is impossible. The word itself says 'I’m possible!'"
}curl "https://www.affirmations.dev/"const res = await fetch("https://www.affirmations.dev/");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://www.affirmations.dev/")
print(res.json())BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET
/PROBEDRandom positive affirmation as tiny JSON
/?limit=5Paginated variant with limit parameter.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Not tracked yet. Shape-change history starts once this API joins our probe schedule.
Affirmations.dev: common questions
Is Affirmations.dev free to use?
Yes — Affirmations.dev is a free fun API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does Affirmations.dev need an API key?
No — Affirmations.dev needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call Affirmations.dev from the browser?
Not directly — Affirmations.dev doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.
Is Affirmations.dev up right now?
Affirmations.dev is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.