En: Validate an identity number or verify it using the webservice of the Population and Citizenship Administration of the Republic of Turkey.
Tr: T.C. Kimlik No geçerliliğini kontrol edebilir veya T.C. İçişleri Bakanlığı Nüfus ve Vatandaşlık İşleri Genel Müdürlüğü'nün web servisi ile doğruluğunu kontrol edebilirsiniz.
https://rapidapi.com/olcay-fqpXAqccU/api/tridentity
Check if it is a valid identity number
GET /idendity/{identityNumber}/validate
Response:
{
"isValid":true,
"message":null
}
Verify using the webservice
GET /idendity/{identityNumber}/verify?firstName={firstName}&lastName={lastName}&birthYear={year}
Response:
{
"isValid":false,
"message":"The firstName is required."
}
Open to any contribution.
This software is distributed under MIT license, so feel free to use it.