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.
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®ion=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.
| Tier | Name lookups | Names/day via lists | Distinct-name ceiling | Results per list query | Max page | Fields 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= |
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.
- 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
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®ion=IN&sort=rank
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
Year-by-year popularity series, split by gender.
- Parameters
- none
- Returns
{ name, F: [...], M: [...] }- Try it
- /names/Olivia/trend
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
Fast prefix search, suitable for autocomplete.
- Parameters
- q (required)
- Returns
{ query, results[] }- Try it
- /search?q=oli
Most popular names for the latest year we hold.
- Parameters
- limit, offset, gender
- Returns
{ year, total, offset, limit, names[] }- Try it
- /popular?limit=10
Random names, optionally filtered.
- Parameters
- limit, gender, origin
- Returns
{ count, names[] }- Try it
- /random?limit=5&gender=M
Catalogue of name origins, grouped by world region.
- Parameters
- none
- Returns
{ total_origins, groups }- Try it
- /origins
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
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.
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-LimitandX-RateLimit-Remaining, so you never have to guess where you stand. - Over the limit returns HTTP 429 with a
Retry-Afterheader 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.
Get in touch about bulk access or a project using this data →