← Weltdaten

Namensdemographie (Alle)

GET /names/predict/:name

Erhalten Sie eine complete demographic prediction for any first name, combining age estimation, gender prediction, und likely nationalities into a single response. Uses statistical models trained on millions of records from government databases weltweit. Liefert predicted age, gender probability, und top nationality matches. Ideal für marketing personalization, user onboarding flows, demographic research, und name-based analytics tools.

Parameter

name erforderlich

First name to analyze

Beispielanfragen

Grundlegende Verwendung
curl https://nordapi.ee/api/v1/names/predict/erik
Predict demographics for Erik
curl https://nordapi.ee/api/v1/names/predict/erik
Predict demographics for Yuki
curl https://nordapi.ee/api/v1/names/predict/yuki
Predict demographics for Maria
curl https://nordapi.ee/api/v1/names/predict/maria

Live-Antwort

{
  "data": {
    "name": "erik",
    "predictions": {
      "age": {
        "age": 60,
        "count": 37787,
        "name": "erik"
      },
      "gender": {
        "count": 283166,
        "gender": "male",
        "name": "erik",
        "probability": 0.99
      },
      "nationality": {
        "count": 7458,
        "countries": [
          {
            "country_id": "NO",
            "probability": 0.10713158664039506
          },
          {
            "country_id": "HU",
            "probability": 0.0881305188205663
          },
          {
            "country_id": "DK",
            "probability": 0.05375542272637305
          },
          {
            "country_id": "SE",
            "probability": 0.03872762536610433
          },
          {
            "country_id": "TR",
            "probability": 0.03230662198652821
          }
        ],
        "name": "erik"
      }
    }
  },
  "success": true
}