Affirmations.dev

Random positive affirmation as tiny JSON

😄 FunUNMONITORED
AUTH NONECORS AGENT ?HTTPS COMMERCIAL ?

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.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://www.affirmations.dev/

{
  "affirmation": "Nothing is impossible. The word itself says 'I’m possible!'"
}
Call itcurl · fetch · python
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

Endpoints · 2On scheduleFULL DOCS ↗
On schedule — GET / awaits first probe
GET/PROBED

Random positive affirmation as tiny JSON

GET/?limit=5

Paginated variant with limit parameter.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

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.