Agify.io API
Overview
Agify.io is a free API that predicts the likely age of a person based solely on their first name, using a database of over 350 million historical records. You can query a single name or batch up to 10 names in one request, and optionally filter predictions by country code for improved regional accuracy. It is widely used for demographics research, marketing personalization, and fun side projects.
Beginner Tip
No API key or account is needed — just send a GET request with a name parameter and you will receive a prediction instantly. The free tier allows 1,000 requests per day per IP address; if you need more, register for an API key to raise that limit.
Available Data
Example Response
{
"name": "michael",
"prediction": 60,
"count": 234567,
"probability": 0.87
} Field Reference
name The name that was submitted for age prediction. age Predicted median age for people with this name, or null if data is insufficient. count Total number of records in the database matching this name. Implementation Example
const url = "https://agify.io/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →24 Pull Requests
⭐ Beginner's Pick24 Pull Requests is a community initiative that runs every December to encourage developers to contribute to open source projects.
API Grátis
API Grátis is a Brazilian API aggregator that bundles multiple free utility services including CEP (postal code) lookup, CNPJ (company registry) data, vehicle plate information, and more — all under a single authentication token.
ApicAgent
⭐ Beginner's PickApicAgent parses User-Agent strings into structured device and browser information, returning details like browser name, version, OS, device type, and whether the client is a bot.
APIs.guru
⭐ Beginner's PickAPIs.guru maintains a crowd-sourced directory of OpenAPI (Swagger) specification files for hundreds of public web APIs, all normalized to OpenAPI 3.0 format.
Beeceptor
⭐ Beginner's PickBeeceptor lets you create a mock REST API endpoint in seconds directly from your browser, without writing any server code.