---
title: "[USES 10 UNITS PER NAME] Infer the likely Indian state of Union territory according to ISO 3166-2:IN based on the name."
method: GET
path: "/api2/json/subclassificationIndian/{firstName}/{lastName}"
tags: ["indian"]
---

# [USES 10 UNITS PER NAME] Infer the likely Indian state of Union territory according to ISO 3166-2:IN based on the name.

`GET /api2/json/subclassificationIndian/{firstName}/{lastName}`

## Path parameters

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

## Response `200`

A classified name at a sub-country level.

- FirstLastNameGeoSubclassificationOut — Represents the geographic name origin at a country subclassification level (usually regional or state level).
  - `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)
  - `countryIso2` string — The input country ISO2 code
  - `subClassification` string — Most likely subclassification ISO_3166-2 code
  - `subClassificationAlt` string — Second best alternative : subclassification ISO_3166-2 code
  - `subclassificationTop` string[] — List subclassification ISO_3166-2 codes (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 subclassification to have been guessed correctly. -1 = still calibrating.
  - `probabilityAltCalibrated` number, double — The calibrated probability for subclassification OR subclassificationAlt 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)
