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 Hiroshi and Hiroshi Tanaka produce the same prediction.
  • You can send names with titles, initials, or nicknames — Agify handles them. Dr. J. Sarah Johnson reads as Sarah Johnson.
  • You can send accented or unaccented spellings — Agify handles both José and Jose.

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

Use 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.