Age Estimation API - Predict Age from First Name
Predicts the most likely age for a given first name using a statistical model trained on public census and demographic data. Optionally filter by country to get region-specific estimates. Returns the predicted age and the sample count used for the prediction.
Code examples
curl -X POST https://api.botoi.com/v1/age/estimate \
-H "Content-Type: application/json" \
-d '{"name":"Michael","country_id":"US"}'When to use this API
Demographic segmentation for marketing
Estimate the age distribution of your user base from first names in your signup database. Segment users into age groups (18-25, 26-35, 36-50, 50+) and tailor email campaigns, product recommendations, and ad creatives to each segment.
Form pre-filling and UX optimization
Use the estimated age to pre-select relevant options in onboarding forms. For a financial services app, if the predicted age is 60+, default to retirement planning content. For predicted ages 20-30, highlight student loan or first-home-buyer resources.
Data enrichment for CRM records
Enrich CRM contacts that have a first name but no age or birth date. Add an estimated age field that sales teams can use for more personalized outreach. Flag low-confidence predictions (small count values) for manual review.
Frequently asked questions
How accurate is the age prediction?
What does the count field represent?
Does the country_id parameter change the result?
Can I estimate age for any language or script?
Is the name case-sensitive?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.