---
title: "[USES 10 UNITS PER NAME] Infer the likely Indian name caste of a personal Hindu name."
method: GET
path: "/api2/json/casteIndian/{subDivisionIso31662}/{firstName}/{lastName}"
tags: ["indian"]
---

# [USES 10 UNITS PER NAME] Infer the likely Indian name caste of a personal Hindu name.

`GET /api2/json/casteIndian/{subDivisionIso31662}/{firstName}/{lastName}`

## Path parameters

- `subDivisionIso31662` string, required
- `firstName` string, required
- `lastName` string, required

## Response `200`

A caste-coded name.

- FirstLastNameCasteOut — Represents the output of inferring the LIKELY caste from a personal Hindu/Indian name.
  - `script` string
  - `id` string
  - `explanation` string
  - `firstName` string — The first name (also known as given name)
  - `lastName` string — The last name (also known as family name, or surname)
  - `caste` string — Most likely caste
  - `casteAlt` string — Second best alternative : caste
  - `casteTop` string[] — List caste(top 10)
  - `score` number, double — Compatibility to NamSor_v1 Origin score value. Higher score is better, but score is not normalized. Use calibratedProbability if available.
  - `probabilityCalibrated` number, double — The calibrated probability for caste to have been guessed correctly. -1 = still calibrating.
  - `probabilityAltCalibrated` number, double — The calibrated probability for caste OR casteAlt to have been guessed correctly. -1 = still calibrating.

## Other responses

- `401` — Missing or incorrect API Key
- `403` — Email not Verified, or API Limit Reached, or API Key Disabled
- `429` — Too Many Requests

---

[API](https://skmtc.net/namsor/apis/namsor-api-v2.md) · [All operations](https://skmtc.net/namsor/apis/namsor-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/namsor/namsor-api-v2/versions/305e4f6eeaf5/schema)
