← Maailma andmed

Nime demograafia (kõik)

GET /names/predict/:name

Saage a complete demographic prediction for any first name, combining age estimation, gender prediction, and likely nationalities into a single response. Uses statistical models trained on millions of records from government databases üle maailma. Tagastab predicted age, gender probability, and top nationality matches. Ideaalne marketing personalization, user onboarding flows, demographic research, and name-based analytics tools.

Parameetrid

name kohustuslik

First name to analyze

Näidispäringud

Põhikasutus
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

Reaalajas vastus

{
  "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
}