Turkish Number Validator

The API verifies whether the given number is in the format of a Turkish phone number.

Usage

Send a GET request:

https://BASEURL/turkish-number-validator?number=

Replace number with the number you want to validate.

Example: https://BASEURL/turkish-number-validator?number=90 555 555 1211

Response:

{ "status": true, "phoneNumber": "5555551211" }


With common format.

Example: https://BASEURL/turkish-number-validator?number=0555 555 1223

Response:

{ "status": true, "phoneNumber": "5555551223" }


With wrong format.

Example: https://BASEURL/turkish-number-validator?number=555 555 12

Response:

{ "status": false, "phoneNumber": "55555512" }


Try it yourself.


Interested? Contact me to use.