Documentation
Predict age from a name. Use Agify from your API client, your spreadsheet, your no-code workflow, or your AI assistant. Pick the surface that matches how you work.
What Agify does
Agify answers one question: how old is the person behind a name likely to be? Send
a first name, like michael, or a full name like Sarah Johnson, and the answer comes back as an estimated age
and the number of records behind it.
Every generation has names that were popular when its members were born, so a name hints at a birth year. Agify reads that signal from a large dataset of real-world name records and reports the most likely current age.
What the response contains
Every Agify response contains three fields.
name
|
The name from the request, echoed exactly as sent. |
age
|
Estimated age in years. null when no prediction can be made. |
count
|
Data points behind the prediction. |
How Agify reads names
Send the fullest form of the name you have. Age is predicted from the given name, and the surrounding name identifies which part that is — important for surname-first and compound names. There is no need to split full names before sending them.
-
Name parts are identified by evidence, not position.
Tanaka HiroshiandHiroshi Tanakaproduce the same prediction. -
You can send names with titles, initials, or nicknames — Agify handles them.
Dr. J. Sarah Johnsonreads asSarah Johnson. -
You can send accented or unaccented spellings — Agify handles
both
JoséandJose.
The
name
field in the response always echoes the input exactly as sent.
Country scoping
The same name skews older in one country and younger in another, and a prediction scoped to a country uses that country's data.
Scope a prediction by sending a two-letter country code, like
US
or DK, along with the name.
Every surface supports it.
Pick your surface
API
HTTPS endpoint,
GET
requests, JSON responses. Backend code, batch jobs, any language with an HTTP client.
CLI
Predict age from your terminal. Pipe a list of names or enrich a spreadsheet in place.
Read moreMCP server
Connect Claude Code and other MCP clients to predict age from natural-language prompts.
Read moreSpreadsheet
Predict age on a column of names. Upload a file in the browser, download the enriched output.
Read moreUse it where you already work
Need gender, age, and nationality together?
Agify is one of three Demografix services. The same API key works on all three — set it up once and call any of them.
Genderize
Predict gender from a name.
Read moreAgify
Predict age from a name.
Nationalize
Predict nationality from a name.
Read more