Name Insights Scraper - Age, Gender, Nationality, No Key avatar

Name Insights Scraper - Age, Gender, Nationality, No Key

Pricing

from $1.00 / 1,000 name analyzeds

Go to Apify Store
Name Insights Scraper - Age, Gender, Nationality, No Key

Name Insights Scraper - Age, Gender, Nationality, No Key

Predict age, gender and nationality from a first name using the agify, genderize and nationalize public datasets. Batch any number of names, no API key, from $1 per 1,000 names.

Pricing

from $1.00 / 1,000 name analyzeds

Rating

0.0

(0)

Developer

Gio

Gio

Maintained by Community

Actor stats

0

Bookmarked

11

Total users

3

Monthly active users

23 days ago

Last modified

Features

Limited permissions

Share

Why use this scraper

First names carry real demographic signal, age, gender and likely country of origin, but getting that signal usually means registering for three separate free APIs (agify.io, genderize.io and nationalize.io), handling each one's own rate limits and response shape, and stitching the results back together per name. Anyone enriching a contact list, a signup form or a dataset of names for CRM segmentation, dating or survey analytics ends up writing and maintaining that glue code themselves. This actor does the lookup and the merge for you: give it a list of first names and get back one record per name with a predicted age, predicted gender with its confidence, and the top likely countries of origin, no account or API key required on your side.

Overview

Pass in a list of first names, optionally scope the age prediction to a country, and the actor queries the age, gender and nationality datasets for each one and returns a single merged record per name. A batch of a few dozen names finishes in a few seconds, since each prediction is a fast lookup against a pre-aggregated dataset rather than a live web scrape. Pricing is pay-per-result at $0.001 per name analyzed, with a small one-time actor-start fee, so analyzing 1,000 names costs about $1, and the Apify-enforced minimum charge for a run is $0.25.

Supported inputs

  • First names (names) - the list of first names to analyze, for example ["Maria", "Hiroshi", "Liam", "Aisha"]. Each name is looked up independently, so the list can mix names from any language or script that the underlying datasets recognize.
  • Country hint for age (countryHintForAge) - an optional ISO-2 country code (e.g. "BR", "US") to scope the age prediction to that country's own name-age distribution, which can shift the predicted age meaningfully for names whose typical age differs by country.
  • Datasets to include (datasets) - which of the three predictions to fetch: agify (age), genderize (gender), nationalize (top likely countries). Leave all three in to get the full merged record, or drop one to shave a little cost and latency when only part of the signal is needed.
  • Debug logs (debug) - verbose logging for troubleshooting a run, off by default.

Use cases

  • CRM and lead enrichment. Add a predicted age band and likely gender to a contact list that only has a first name, to improve segmentation for outreach or to flag records that need manual review.
  • Dating and social apps. Use the gender and age signal as a lightweight sanity check against a profile's self-reported details during signup, without asking the user anything extra.
  • Survey and market research. Back-fill rough demographic fields for respondents who only gave a first name, when a full demographic survey question was not asked.
  • Localization and personalization. Infer a visitor's likely country of origin from their first name to default a form, a greeting or a currency to something more relevant before they tell you explicitly.
  • Data cleaning for HR and recruiting. Flag names where the predicted gender is given with low confidence (genderProbability close to 0.5), which usually means the name is genuinely unisex rather than a parsing error.

How it works

For each name, the actor queries the public agify, genderize and nationalize datasets, which are built from millions of real-world name occurrences aggregated by country, and merges the three responses into one object per name. The ageSampleSize, genderSampleSize and nationalitySampleSize fields tell you how many real records each prediction is based on, so a prediction built on a sample of a few hundred names can be weighted differently from one built on millions. Because the three datasets are queried directly rather than scraped from a web page, results come back as clean structured numbers and probabilities, with nothing to parse out of HTML.

Input configuration

Basic batch, all three predictions:

{
"names": ["Maria", "Hiroshi", "Liam", "Aisha"],
"datasets": ["agify", "genderize", "nationalize"]
}

Age prediction scoped to a country, for names where the typical age varies a lot by region:

{
"names": ["Maria", "Joao", "Ana"],
"countryHintForAge": "BR",
"datasets": ["agify"]
}

Gender only, for a quick signup-form check without the extra latency of the other two datasets:

{
"names": ["Alex", "Taylor", "Jordan"],
"datasets": ["genderize"]
}

Output sample

Real output from a production run:

[
{
"name": "Maria",
"ageGuess": 53,
"ageSampleSize": 564048,
"gender": "female",
"genderProbability": 0.99,
"genderSampleSize": 4097023,
"topCountries": [
{ "country": "ES", "probability": 0.1078 },
{ "country": "BR", "probability": 0.083 },
{ "country": "IT", "probability": 0.0729 }
],
"topCountry": "ES",
"nationalitySampleSize": 4261604
},
{
"name": "Hiroshi",
"ageGuess": 61,
"ageSampleSize": 1782,
"gender": "male",
"genderProbability": 1,
"genderSampleSize": 15544,
"topCountries": [
{ "country": "JP", "probability": 0.8567 },
{ "country": "US", "probability": 0.019 },
{ "country": "BR", "probability": 0.0094 }
],
"topCountry": "JP",
"nationalitySampleSize": 14534
}
]

Key output fields

FieldTypeDescription
namestringThe first name as submitted
ageGuessintegerPredicted average age for this name
ageSampleSizeintegerNumber of real records the age prediction is based on
genderstringPredicted gender, male or female
genderProbabilitynumberConfidence of the gender prediction, 0 to 1
genderSampleSizeintegerNumber of real records the gender prediction is based on
topCountriesarrayUp to 5 most likely countries, each with a country ISO-2 code and a probability
topCountrystringISO-2 code of the single most likely country
nationalitySampleSizeintegerNumber of real records the nationality prediction is based on

Pricing

Pay-per-event pricing, charged only for names actually analyzed:

EventPrice
Actor start$0.00005 (one-time, per GB of memory)
Name analyzed$0.001 per name, errors not charged

Analyzing 1,000 names costs about $1. Apify enforces a minimum charge of $0.25 per run regardless of how few names were submitted.

What makes this richer than the competition

Two comparable actors in the Apify Store are lulzasaur/genderize-scraper and velvety_bedbug/genderize-scraper. Both cover the same gender, age and nationality territory using the same underlying public datasets. velvety_bedbug/genderize-scraper prices at roughly $3 per 1,000 names, three times this actor's $1 per 1,000. lulzasaur/genderize-scraper bundles the same three predictions this actor offers (age, gender, nationality) under a single call. This actor's distinct feature is the countryHintForAge input, which narrows the age prediction to a specific country's own name-age distribution instead of a single global average, a real difference for names whose typical age varies sharply between countries (a name common among newborns in one country but mostly worn by retirees in another gets a far more accurate age guess once scoped).

Notes & limitations

  • Predictions are statistical, built from aggregated name-occurrence data, not a lookup of a specific individual; they describe what is typical for people who share that first name, not a fact about any one person.
  • Very short, invented or extremely rare names can return a very small ageSampleSize, genderSampleSize or nationalitySampleSize, which means the prediction is based on little data and should be treated with more caution; check the sample size fields before trusting a low-sample result.
  • Surnames are not supported, only first (given) names; passing a full name typically returns a low-confidence or empty result.
  • countryHintForAge only affects the age dataset; gender and nationality predictions are always computed globally.

FAQ

Does this need an account with agify, genderize or nationalize? No. This actor queries those datasets on your behalf; you only need an Apify account to run it.

Can I analyze names in a non-Latin script? It works best with names in Latin script; names in other scripts may return a low sample size or no result, since the underlying datasets are built mostly from Latin-script name occurrences.

Why is genderProbability sometimes close to 0.5? That name is genuinely close to unisex in the underlying data, used about as often by one gender as the other; it is not an error.

Can I skip the nationality lookup to save cost? Yes, set datasets to only the ones you need, for example

["agify", "genderize"]
, and the actor skips the extra lookup entirely.

Is any personal data stored or retained? No, the actor only returns the aggregated statistical prediction per name; it does not store or look up any individual's personal record.

For AI Agents & LLM Apps

This actor is available over the Apify MCP server at mcp.apify.com for direct use by LLM agents as a callable tool. It can also be called synchronously from any backend:

curl "https://api.apify.com/v2/acts/gio21~name-insights-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"names": ["Maria", "Liam"], "datasets": ["agify", "genderize", "nationalize"]}'

The call waits for the run to finish and returns the dataset items in the response body, which drops straight into a tool-calling loop.

Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by agify.io, genderize.io, nationalize.io or their operators. All product names mentioned are the property of their respective owners, used here only to describe the public datasets this actor queries.

SEO Keywords

name demographics API, age predictor from name, gender predictor from name, nationality predictor from name, agify genderize nationalize scraper, name enrichment API.