b babynamesuggestion
Menu

Your Shortlist

0 names saved

Baby Name API & Open Dataset

A free JSON API over 228,340 given names covering 28 countries and territories, 26 of them with official statistics-agency or civil-registry data (India and Japan publish no national ranking, so those come from compiled surveys and are labelled as such), spanning 1880–2025. Start with no signup; a free key raises your limits.

228,340Names
1,914,027Birth records
6,725,428US state rows
28Countries
1880–2025Years covered

Figures are read live from the database, not hand-maintained. Last refreshed within 12 hours.

Quick start

No signup needed to start. Every endpoint is a plain GET returning JSON:

curl "https://babynamesuggestion.com/wp-json/bns/v1/names/Olivia"

Or filter the whole dataset:

curl "https://babynamesuggestion.com/wp-json/bns/v1/names?per_page=5&gender=F&region=IN&sort=rank"

A free key raises your limits and unlocks name meanings — see below. Send it as a header X-API-Key: your_key or as ?api_key=your_key.

Access tiers

Tiers grant query breadth, never corpus portability. Everyone can ask questions; nobody gets a bulk export.

Two budgets, metered separately — and the difference matters when you pick a tier.

  • Name lookups (/names/{name}, /trend, /states) — one name per call, for names you already have. This is what most integrations actually run on, so it is the budget we are generous with.
  • List queries (/names, /search, /popular, /trending) — many names per call, for discovery and browsing. Deliberately the tighter budget: it is how a dataset walks out of the door.
TierName lookupsNames/day via listsDistinct-name ceilingResults per list queryMax pageFields returned
Anonymous
No key. Good for trying things out.
200 / day 300 / day 500 / week 10 10 name, gender, rank, births, trend, origin
Free key
Free, instant, email only. Adds name meanings.
5,000 / day 3,000 / day 10,000 lifetime 20 50 + meaning, syllables, pronunciation
Commercial
Commercial use. Adds derived fields.
50,000 / day 10,000 / day 50,000 lifetime 50 100 + extended meaning, culture, language, religion, IPA, and up to 3 derived fields per request via fields=
What the distinct-name ceiling means. A free or commercial key is shown at most that many distinct names in total, for as long as the key exists — not per day. Reaching it does not switch your integration off: everything you have already retrieved stays available, unlimited, forever — what stops is being shown names you have not seen before. Without a key, the same idea applies per week instead, reset every Monday, because an anonymous caller is identified only by address and addresses are often shared. Either way: the daily numbers above are speed limits; this ceiling is the actual boundary. Rate limits alone can only make copying the dataset slow, and slow is not the same as no. If your project genuinely needs a larger allowance, that is a conversation we are happy to have — get in touch.

Each response tells you where you stand: X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Budget (lookup or list), so a 429 never leaves you guessing which budget to ease off.

Get a free key

Instant, no approval step. We use the address to tell you about breaking changes — nothing else.

Need commercial access, higher limits, or a licence conversation? Get in touch — we price it per project rather than running a self-serve checkout.

Key terms: monitoring, expiry, renewal.
  • Monitoring. Every request made with your key is logged — timestamp, IP address, endpoint, and the User-Agent your client sends — for security and fair-use enforcement. This is standard practice for any API and covers only requests you or your software make; if you build something other people use, we never see or log your end users, only your own server's calls to us.
  • Enforcement. A key found evading its limits (rotating identities, sharing one key across unrelated projects to multiply its allowance, sustained volume clearly aimed at bulk extraction) may be revoked without notice. We would rather talk to you first — reach out if your real usage is outgrowing the free tier.
  • Expiry. Free keys expire 12 months after issue (or after their last renewal). This is housekeeping, not a penalty — it retires abandoned projects and leaked keys automatically instead of trusting a credential forever.
  • Renewal. Renew any time, before or after expiry, by sending your key to POST /bns/v1/api-key/renew — no email re-entry, no new signup. Everything you have already built stays working; renewal only resets the clock.

Endpoints

Base URL: https://babynamesuggestion.com/wp-json/bns/v1

GET /names

Filtered, paginated list of names.

Parameters
per_page (max 100), page, gender (F|M), region (ISO code from /regions), letter, origin, numerology, sort (rank|az)
Returns
{ total, page, per_page, pages, names[] }
Try it
/names?per_page=3&gender=F&region=IN&sort=rank
GET /names/{name}

Everything we hold for one name: meaning, origin, syllables, numerology, and per-country rank/birth stats.

Parameters
none
Returns
flat object (id, name, syllable_count, f_*/m_* stats, per-region fields)
Try it
/names/Olivia
GET /names/{name}/trend

Year-by-year popularity series, split by gender.

Parameters
none
Returns
{ name, F: [...], M: [...] }
Try it
/names/Olivia/trend
GET /names/{name}/states

US state-by-state breakdown for one name. Drawn from 6.7M rows of SSA state data, 1910 onward.

Parameters
gender (F|M), year (defaults to the latest year with data)
Returns
{ name, year, states[] }
Try it
/names/Olivia/states?gender=F
GET /search

Fast prefix search, suitable for autocomplete.

Parameters
q (required)
Returns
{ query, results[] }
Try it
/search?q=oli
GET /popular

Most popular names for the latest year we hold.

Parameters
limit, offset, gender
Returns
{ year, total, offset, limit, names[] }
Try it
/popular?limit=10
GET /random

Random names, optionally filtered.

Parameters
limit, gender, origin
Returns
{ count, names[] }
Try it
/random?limit=5&gender=M
GET /origins

Catalogue of name origins, grouped by world region.

Parameters
none
Returns
{ total_origins, groups }
Try it
/origins
GET /regions

Every country/region we hold registry data for, with its ISO code โ€” the codes accepted by ?region= above.

Parameters
none
Returns
{ default, all, regions[] }
Try it
/regions
What is deliberately not here. This page documents read-only endpoints only. The site also runs endpoints for contributions, voting, saved lists and internal tools; those are not part of the public surface and may change or disappear without notice. If you need something that is not listed, ask — do not build against an undocumented route.

Where the data comes from

Every figure on this page traces back to a named official agency — national statistics offices and civil registries, primarily. We keep the source-by-source breakdown internal rather than publishing it as a public list here: a page like this is trivial to scrape wholesale, and the breakdown itself is not something we want walked out the door in one request.

Full provenance is available on request for research and press use. If you are a researcher, journalist, or building something that genuinely needs the source-by-source detail — which agency, what it covers, when it was compiled — we are glad to share it directly. Get in touch.

Licence & citation

Two different things live in this dataset, and they carry different rights. We are explicit about that rather than claiming a blanket licence we are not in a position to grant.

  • Our compilation — the API, the unified schema, our name meanings, origins and derived fields. Whatever your tier returns to you is free to use, including commercially, with attribution to babynamesuggestion.com. That grant covers the data you receive through the API; it is not a right to redistribute the corpus as a dataset of its own.
  • The underlying registry figures — birth counts and ranks belong to the national statistics agencies and civil registries that publish them, each under its own terms. We do not own them and cannot relicense them. If you republish those figures, cite the originating agency as well as us — contact us if you need to know which agency covers a specific figure.
  • Name meanings are partly AI-assisted and are labelled as such on the site wherever they have not been human-verified. Treat them as a compiled reference, not a peer-reviewed etymological authority.

Suggested citation

babynamesuggestion.com Baby Name Dataset (2026).
228,340 given names from 44 sources, 1880-2025.
https://babynamesuggestion.com/baby-name-api/

Limits, and what happens when you hit one

  • Every response carries X-RateLimit-Limit and X-RateLimit-Remaining, so you never have to guess where you stand.
  • Over the limit returns HTTP 429 with a Retry-After header in seconds. It is a plain, documented refusal — not a silent truncation or an empty array.
  • Past the page ceiling returns HTTP 400 explaining the ceiling. Narrow the query with filters instead of paging deeper.
  • An unrecognised or revoked key returns HTTP 401 rather than quietly downgrading you to anonymous, so a typo in your key is never mistaken for missing data.
  • Cache what you fetch, and tell us if your project takes off so we can plan capacity rather than discover it from a load spike.
Why there is a ceiling at all, including on paid. The registry figures here are public and we keep them open on purpose — hiding what SSA and ONS already publish would protect nothing. What took six years of work is the enrichment layer on top: 228,340 reconciled names with meanings, origins and derived fields, and the normalisation behind them. So the API is built to answer questions, not to hand over the library. There is no bulk export at any price, and a page ceiling applies to every tier including commercial. Within those bounds, query as freely as you like.

Get in touch about bulk access or a project using this data →

✏

Help us make this better for every parent

Found a mistake · Know a name we’re missing · Have a different or better meaning for a name · Any question or recommendation — your insight helps families worldwide choose with confidence.

Share your feedback →
Scroll to Top
Follow & Connect