Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.22 KB

TRIdentity API

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.

Rapid API Hub

https://rapidapi.com/olcay-fqpXAqccU/api/tridentity

Endpoints

Validate

Check if it is a valid identity number

GET /idendity/{identityNumber}/validate

Response:

{
"isValid":true,
"message":null
}

Verify

Verify using the webservice

GET /idendity/{identityNumber}/verify?firstName={firstName}&lastName={lastName}&birthYear={year}

Response:

{
"isValid":false,
"message":"The firstName is required."
}

Tech Stack

Contribution

Open to any contribution.

License

This software is distributed under MIT license, so feel free to use it.