Free APIs › Fun, Facts & Random › Nationalize
No keyCORS ✓A · 90

Nationalize

Predict nationality from a name — great for demos and data-viz toys.

StatusLive · verified 23 Oct 2026 · 668 ms
AuthenticationNone — call it right now
Browser CORSYes — works from front-end code
Free limitsFree: 100 req/day no key
Official docs ↗ ▶ Open the playground

▶ Live playground

This runs in your browser, straight against the real API. Edit the URL and experiment — break nothing, learn everything.

Press Run to call Nationalize live.

📸 Real response, captured by us

Not a mockup — this is what Nationalize actually returned when we verified it on 23 Oct 2026 (in 668 ms).

{
  "count": 592873,
  "name": "hassan",
  "country": [
    {
      "country_id": "MA",
      "probability": 0.278603
    },
    {
      "country_id": "EG",
      "probability": 0.116745
    },
    {
      "country_id": "SA",
      "probability": 0.05969
    },
    {
      "country_id": "LB",
      "probability": 0.04989
    },
    {
      "country_id": "PK",
      "probability": 0.036971
    }
  ]
}

💻 Copy-paste code

Three ways to call Nationalize — pick your weapon.

// Nationalize — no build step, no library. Just fetch.
const res = await fetch("https://api.nationalize.io?name=hassan");
const data = await res.json();
console.log(data);

🏅 Own this API?

Add the live-verified badge to your docs or repo — it only ever displays the status from our latest check.

<a href="https://freeapis.akclnt.com/api/nationalize/"><img src="https://freeapis.akclnt.com/badge/nationalize.svg" alt="Nationalize — live-verified free API on AKCLNT Free APIs"></a>

📜 Full check history & uptime · Status as JSON · Health score: A · 90/100

🔔 Watch this API — a quiet feed that only speaks the week its status changes (down, recovered, reclassified). How it works

Similar free APIs

Cat Facts

No keyCORS ✓B · 84

A random cat fact in one call. The hello-world of APIs, and it never gets old.

Live · verified 23 Oct 2026 · 1404 ms📁 Fun, Facts & Random · Free, no key

JokeAPI

No keyCORS ✓B · 84

Programming, general and pun jokes with safe-mode filters and categories.

Live · verified 23 Oct 2026 · 1118 ms📁 Fun, Facts & Random · Free: 120 req/min
Done